Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Fatal error: Call to undefined function curl_setopt
 
Foba
Jr. Member
 
Total Posts:  2
Joined:  2012-02-27
 

Hello community,
I’m using Magento Community v1.6.1.0 and have a problem as follow.
I run the cart under XAMPP on my Laptop. This was working until I had to replace my existing Hard Drive with a new one.

I have had copied all files and data from the old to the new HD. I have used phpMyAdmin to export/ import the Magento Database from the old/ to the new HD.

Now when I go to localhost/toojoi.com it seems the front end works fine with no errors.
But when I try to go to the back end and try to login with my User Name and Password I get this error message:

Fatal error: Call to undefined function curl_setopt() in C:\xampp\htdocs\toojoi.com\lib\Varien\Http\Adapter\Curl.php on line 52

Whats wrong since i have moved to the new HD? Can anybody help me?

A copy of the files curl.php and phpinfo you can find attached.

thank you so much for your support.

File Attachments
phpinfo.php.htm  (File Size: 76KB - Downloads: 127)
Curl.php  (File Size: 7KB - Downloads: 167)
 
Magento Community Magento Community
Magento Community
Magento Community
 
Foba
Jr. Member
 
Total Posts:  2
Joined:  2012-02-27
 

I could solve the problem myself.

Have deleted the semicolon in front of

;extension=php_curl.dll

in C:\xampp\php\php.ini

by just following the instructions I’ve found here: http://stackoverflow.com/questions/7706938/curl-with-post-not-working-php

 
Magento Community Magento Community
Magento Community
Magento Community
 
odytil
Jr. Member
 
Total Posts:  1
Joined:  2010-06-12
 

Hello community,

I have the same problem. I have installed MagentoCommerce 1.7.0.0 by using the Plesk Panel Applications installation.

The front-end seems to work fine.

The admin site doesn’t work and I get the error “Fatal error: Call to undefined function curl_setopt() in C:\Inetpub\vhosts\server123.gr\httpdocs\test_folder\magento\lib\Varien\Http\Adapter\Curl.php on line 87”

My Magento URL is: http://server123.gr/test_folder/magento/

I have check the php.ini file and the lines below are already uncommented.

extension=php_curl.dll
extension=php_mcrypt.dll
extension=php_pdo_mysql.dll

And I still get this error.

Any solution anyone?

Thanx.

 
Magento Community Magento Community
Magento Community
Magento Community
 
mnaeem76
Jr. Member
 
Total Posts:  12
Joined:  2010-07-16
 

You need to restart your Apache server for the changes to take effect. I had similar problem and I had to restart the Apache to make it work.

 
Magento Community Magento Community
Magento Community
Magento Community
 
thilankaxf
Jr. Member
 
Total Posts:  7
Joined:  2012-12-10
 

Download and replcace the bug fixed file..

http://www.exposl.info/2013/04/curl-not-loading-error-in-apache-wamp.html

Please follow the updated URL

 
Magento Community Magento Community
Magento Community
Magento Community
 
GoMageTeam
Guru
 
Avatar
Total Posts:  356
Joined:  2013-01-13
Warsaw, Poland
 
thilankaxf - 12 May 2013 05:45 PM

Download and replcace the bug fixed file..

http://www.exposl.info/2013/04/curl-not-loading-error-in-apache-wamp.html

Hello,

We like this solution. It should work out.

 
Magento Community Magento Community
Magento Community
Magento Community
 
markschneider
Jr. Member
 
Total Posts:  4
Joined:  2011-03-07
 
thilankaxf - 12 May 2013 05:45 PM

Download and replcace the bug fixed file..

http://www.exposl.info/2013/04/curl-not-loading-error-in-apache-wamp.html

Works like a charm!

Thank you very much.

 
Magento Community Magento Community
Magento Community
Magento Community
 
thilankaxf
Jr. Member
 
Total Posts:  7
Joined:  2012-12-10
 

HELLO Everyone

Please follow the updated URL

http://portfolio-max.blogspot.com/2013/04/curl-not-loading-error-in-apache-wamp.html

 
Magento Community Magento Community
Magento Community
Magento Community
 
thilankaxf
Jr. Member
 
Total Posts:  7
Joined:  2012-12-10
 
markschneider - 09 October 2013 06:52 AM

thilankaxf - 12 May 2013 05:45 PM
Download and replcace the bug fixed file..

http://www.exposl.info/2013/04/curl-not-loading-error-in-apache-wamp.html

Works like a charm!

Thank you very much.

UPDATED URL

http://portfolio-max.blogspot.com/2013/04/curl-not-loading-error-in-apache-wamp.html

 
Magento Community Magento Community
Magento Community
Magento Community
 
thilankaxf
Jr. Member
 
Total Posts:  7
Joined:  2012-12-10
 
markschneider - 09 October 2013 06:52 AM

thilankaxf - 12 May 2013 05:45 PM
Download and replcace the bug fixed file..

http://www.exposl.info/2013/04/curl-not-loading-error-in-apache-wamp.html

UPDATED URL
http://portfolio-max.blogspot.com/2013/04/curl-not-loading-error-in-apache-wamp.html

Works like a charm!

Thank you very much.

 
Magento Community Magento Community
Magento Community
Magento Community
 
thilankaxf
Jr. Member
 
Total Posts:  7
Joined:  2012-12-10
 
GoMageTeam - 14 May 2013 02:41 AM

thilankaxf - 12 May 2013 05:45 PM
Download and replcace the bug fixed file..

http://portfolio-max.blogspot.com/2013/04/curl-not-loading-error-in-apache-wamp.html

Hello,

We like this solution. It should work out.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top