This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
I have an old installation of October on local host. When I tried to update it, through http://localhost/octobercms/backend/system/updates
I got the following error
"Use of undefined constant CURLOPT_FOLLOWLOCATION - assumed 'CURLOPT_FOLLOWLOCATION'" on line 440 of /var/www/html/octobercms/vendor/october/rain/src/Network/Http.php
I have same problem.
I have lamp stack on ubuntu 14.04 on Digital Ocean. apach2, php 5.6, curl is enabled mcrypt is also enabled. permissions are set up correctly (755 on folders, www-data:www-data). when I try to install plugin ig gives me following error:
"Use of undefined constant CURLOPT_FOLLOWLOCATION - assumed 'CURLOPT_FOLLOWLOCATION'" on line 395 of /var/www/.../vendor/october/rain/src/Network/Http.php.
if anybody has any idea regarding the issue. thanks in advance
Hi, I have the same error as followings when I click on "check for updates" or "install plugin" in the backend settings.
"Use of undefined constant CURLOPT_FOLLOWLOCATION - assumed 'CURLOPT_FOLLOWLOCATION'" on line 444 of /var/www/html/vendor/october/rain/src/Network/Http.php"
In need of helps please.
Thanks @boriseto. Your comment helped me very much. After install php-curl, error disappeared.
Hi,
I have the exact same error, even after installing php-curl. Any other suggestions for a fix?
Thanks
I have the same issue in the theme installation page
Use of undefined constant CURLOPT_FOLLOWLOCATION - assumed 'CURLOPT_FOLLOWLOCATION' (this will throw an Error in a future version of PHP)" on line 483 of /var/www/elmcareer/vendor/october/rain/src/Network/Http.php
add
function onStart()
{
echo phpinfo();
die;
}
to the code section of a new CMS page and look at the results to verify that php-curl is installed and enabled on the version of PHP that is being used to serve your site.
1-11 of 11