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


Hello All,

When I click on "Check for updates" on backend site of October CMS I receive the following error message:
"curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set"

What does it mean and how could I fix it?

Thank you,


Edit the file in your root october cms: vendor\october\rain\src\Network\Http.php (on windows) | vendor/october/rain/src/Network/Http.php (on unix) Comment the line 233 like bellow:

         * Create and execute the cURL Resource
        $curl = curl_init();
        curl_setopt($curl, CURLOPT_URL, $this->url);
        curl_setopt($curl, CURLOPT_HEADER, true);
        curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
        //curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
        curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);

In the same file comment the line 411 too, like bellow:

     * Disable follow location (redirects)
    public function noRedirect()
        //$this->setOption(CURLOPT_FOLLOWLOCATION, false);
        return $this;

This solved my problem.


For me, just follow this steps (if you are developing in localhost):

  1. Close WAMP (if running)
  2. Navigate to WAMP\bin\php(your version of php)\
  3. Edit php.ini
  4. Search for curl, uncomment extension=php_curl.dll
  5. Navigate to WAMP\bin\Apache(your version of apache)\bin\
  6. Edit php.ini
  7. Search for curl, uncomment extension=php_curl.dll
  8. Save both
  9. Restart WAMP


1-3 of 3

You cannot edit posts or make replies: the forum has moved to