CCSFG_0.0.6

Regular Participant

CCSFG_0.0.6

Hi,

 

I'm following the documentation which is posted here

http://community.constantcontact.com/t5/Documentation/Constant-Contact-Signup-Form-Generator-CCSFG/b...

inorder to tie my Java classes with Constant Contact 'CCSFG_0_0_6' PHPs. I'm getting this error can you please help me out.

 

javax.servlet.ServletException: java.lang.RuntimeException: PHP Fatal error:  Call to undefined function curl_init() in C:\apache-tomcat-6.0.32\webapps\JavaBridge\CCSFG_0.0.6\cc_class.php on line 47

	php.java.servlet.fastcgi.FastCGIServlet.handle(FastCGIServlet.java:499)
	php.java.servlet.fastcgi.FastCGIServlet.doGet(FastCGIServlet.java:521)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	php.java.servlet.PhpCGIFilter.doFilter(PhpCGIFilter.java:126)

Thank you so much!!

4 REPLIES 4
Moderator

The error you're seeing is in calling the curl_init() method.  Most likely this is because curl is either not installed or not configured for your PHP server.  The CCFSG script relies completely on curl, without that installed it will not run on your server. 

Dave Berard
Senior Product Manager, Constant Contact

Yes I know that it couldn't able to find curl_init() method and I searched in all PHP classes, couldn't find it. So, How to tell my this PHP about curl_init() method or where can I find this function definition? or how to install? Please provide me if you have any documentation. Thank you!!

While the actual configuration and setup of curl is slightly different for every server, PHP does have a very high level guide for how to enable curl in PHP: http://www.php.net/manual/en/curl.installation.php

 

Unfortunately, you may need to do some searching for any specific nuances of installing/compiling into a specific stack.

 

Dave Berard
Senior Product Manager, Constant Contact

Thank you so much!! I think I got it, in which direction I need to go. Thanks for your help!! I appreciate it.

Developer Portal

View API documentation, code samples, get your API key.

Visit Page