Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call to undefined function: curl_init()


Guest

Recommended Posts

My host company has recently undergone a server migration to a data center based here in the UK. Everything was working fine the last time I checked the site (before the migration), and now it seems everything has gone belly up! I get the following message when placing a test order (I do all test orders using a live server and not sandbox etc):

 

Fatal error: Call to undefined function: curl_init() in /home/tease/public_html/includes/modules/payment/paypal_wpp/PayflowPro_HTTP.php on line 232

 

There was another issue in the .htaccess file about register_globals which is now fixed, it seems that all the lines in that file have been commented out with '#'. when the register_globals is un-commented out, the site was back, but when I un-commented out the rest i got a whole load of internal server errors! Not sure if the problems are linked but worth a shot!

 

I'm using Paypal Website Pyments Pro

 

 

Has anybody got any ideas? Its beggining to become a VERY agrevating problem!

Link to comment
Share on other sites

This suggests that the host has installed PHP without cURL support.

 

Go into your osc admin, Tools>Server Info and look for a section for curl - if missing I would speak to your host company

Link to comment
Share on other sites

This suggests that the host has installed PHP without cURL support.

 

Go into your osc admin, Tools>Server Info and look for a section for curl - if missing I would speak to your host company

 

I've performed the necessary steps you mentioned, and sure enough, theres no mention of cURL anywhere!

 

I have since sent an email to the host company explaining the situation, and that I expect a result pronto!

 

without cURL support is there anyway the site can still function? or is it a neccessity?

Link to comment
Share on other sites

The site will work fine but some of the more sophisticated payment modules require cURL to function.

 

 

The site is now back up and running again. My host company fixed the cURL error, and I've performed a live transaction to test it.

 

many thanks for your help on this! You are a lifesaver!

 

kind regards

 

Mark

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...