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

Shahiem
Shahiem

Hi, I get an error message when I try to update my plugins:

Error: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set

How can I fix this problem?

OctoDevel
OctoDevel

Hey Shahiem, just set open_basedir="" in your php.ini configuration file. Or CURLOPT_FOLLOWLOCATION to false in the file /vendor/october/rain/src/Network/Http.php if you aren't the server administrator.

info1515
info1515

comment the 2 lines that has CURLOPT_FOLLOWLOCATION out in /vendor/october/rain/src/Network/Http.php

Shahiem
Shahiem

Thank you guys, it works! :)

santo.prive4885
santo.prive4885

Setting the CURLOPT_FOLLOWLOCATION option to false works indeed, but it is only a temporary solution because it is being reset to true each time the cms is updated. Therefore it would be nice if it could be made configurable in such a way that the setting is retained after an update

1-5 of 5

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