This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

dilip_meet17289
dilip_meet17289

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

dilip_meet17289
shakogele20994
shakogele20994

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

stephenlch11122433
stephenlch11122433

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.

boriseto
boriseto

Install php-curl and after that (not sure if needed) phpenmod curl and restart apache.

augustoadames25342
augustoadames25342

Thanks @boriseto. Your comment helped me very much. After install php-curl, error disappeared.

levin
levin

Hi,

I have the exact same error, even after installing php-curl. Any other suggestions for a fix?

Thanks

levin
levin

Hi,

It's been 3 months. Same ongoing issue. Anyone?

Thanks

satorinakamoto
satorinakamoto

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

mozer56307
mozer56307

I have the same issue. Anyone?

JeffGoldblum
JeffGoldblum

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

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.