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

stephenlch11122433
stephenlch11122433

I shall create a new post for this error since the post the I replied on does not have an obvious Subject for this issue.

"Use of undefined constant CURLOPT_FOLLOWLOCATION - assumed 'CURLOPT_FOLLOWLOCATION'" on line 444 of /var/www/html/vendor/october/rain/src/Network/Http.php"

This error is thrown when I try to look for updates or install a new plugin at the backend settings.

And when I get to vim Http.php on line 444 it shows the following function

public function noRedirect()
{
    $this->setOption(CURLOPT_FOLLOWLOCATION, false);
    return $this;
}

Please help, my website cannot go further without installing good plugins.

stephenlch11122433
stephenlch11122433

More information about the website. it is now on the server that can be accessed on limitation of IP. would it be one of the reason why it is throwing such error?

Last updated

dipesh24003
dipesh24003

install curl in server. hope this will solve the problem.

Last updated

stephenlch11122433
stephenlch11122433

Thats for your response dipesh24003, but why would it happen? Is cURL a must for using October? If so isn't it followed with October upon installation?

hojamov129851298
hojamov129851298

I found a solution, Here are the steps to take:

On the SSH server

  1. $ apt update
  2. $ sudo apt install php(Your_php_version)-curl
  3. $ service apache2 restart

Thank you!

1-5 of 5

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