Reply
Occasional Contributor
HemalathaK
Posts: 28
Registered: ‎06-09-2012

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!!

DaveBerard
Posts: 1,635
Topics: 7
Kudos: 61
Solutions: 58
Registered: ‎06-19-2008

Re: CCSFG_0.0.6

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
Occasional Contributor
HemalathaK
Posts: 28
Registered: ‎06-09-2012

Re: CCSFG_0.0.6

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!!

DaveBerard
Posts: 1,635
Topics: 7
Kudos: 61
Solutions: 58
Registered: ‎06-19-2008

Re: CCSFG_0.0.6

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
Occasional Contributor
HemalathaK
Posts: 28
Registered: ‎06-09-2012

Re: CCSFG_0.0.6

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