- Constant Contact Community
- :
- Developer Community
- :
- Developer Support – ask questions, find answers
- :
- Re: CCSFG_0.0.6
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
CCSFG_0.0. 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-09-2012 02:29 PM
Hi,
I'm following the documentation which is posted here
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(Fas tCGIServlet.java:499) php.java.servlet.fastcgi.FastCGIServlet.doGet(Fast CGIServlet.java:521) javax.servlet.http.HttpServlet.service(HttpServlet .java:617) javax.servlet.http.HttpServlet.service(HttpServlet .java:717) php.java.servlet.PhpCGIFilter.doFilter(PhpCGIFilte r.java:126)
Thank you so much!!
Re: CCSFG_0.0. 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-11-2012 09:04 AM
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.
Product Manager, Constant Contact
Re: CCSFG_0.0. 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-11-2012 12:02 PM
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!!
Re: CCSFG_0.0. 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-11-2012 01:13 PM
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.
Product Manager, Constant Contact
Re: CCSFG_0.0. 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-11-2012 02:17 PM
Thank you so much!! I think I got it, in which direction I need to go. Thanks for your help!! I appreciate it.


