Question

I'm having quite some troubles hosting my Magento website. I've always ran websites (Joomla, Wordpress) on shared hosting. However, for this Magento website they advised a VPS.

After quite some work (PHP memory size was too low, etc.) the website does load, but I am unable to access the admin area:

Fatal error: Call to undefined function curl_setopt() in /var/www/elly/lib/Varien/Http/Adapter/Curl.php on line 87 Call Stack: 0.0001 637816 1. {main}() /var/www/elly/index.php:0 0.0014 708040 2. Mage::run() /var/www/elly/index.php:87 0.0032

Can anyone help me out solving this?


I've got another question: After adding a article to my shopping list, pages won't load anymore. Look for an example on: http://bit.ly/1cvXGKa

E.g.: Add an article from this page (http://bit.ly/HlmNAZ) by hovering it and clicking on 'In winkelwagen'.

Could someone help me out with this?

Was it helpful?

Solution

Seems there's no curl installed on your server. Check your phpinfo() for curl. If not present, you or your provider can enable it in the PHP config:

/etc/php5/apache2/php.ini (or similar)

enable extension:

extension=curl.so

OTHER TIPS

I had same issue just install curl and restart your ngix or apache and php5

sudo apt-get install php5-curl
sudo service php5-fpm restart

You need to enable the curl extension for PHP.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top