This topic was marked solved by Nao, on January 24th, 2014, 05:40 PM

kimikelku

  • Posts: 61
Error Log
« on January 24th, 2014, 04:28 PM »
Not sure what name should i give to the topic.
I had a wordpress on this domain sometime ago so im getting requests for links that no longer exist and the error log shows this:
Code: [Select]
http://recbug.com/criar-pen-usb-de-instalacao-do-windows-de-64bits-num-sistema-o…
2: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set
File: /gz/app/Class-WebGet.php
Line: 1

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Error Log
« Reply #1, on January 24th, 2014, 04:56 PM »
Hmm... Try putting a @ before that instruction..?

I'll do that on my side. Unfortunately, I'm not willing to 'fix' outdated servers. The alternative is to add 50+ lines of code and test it. I've never touched that file, and probably never will. (Me, lazy. Or simply, me tired.)

kimikelku

  • Posts: 61
Re: Error Log
« Reply #2, on January 24th, 2014, 05:09 PM »
I can upgrade/downgrade any component on the server, or maybe turn off safe mode?
Also what do you mean with @ before the instruction?
Sorry didn't understand.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Error Log
« Reply #3, on January 24th, 2014, 05:35 PM »
Code: [Select]
@curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); // Accept redirects

Or just download the Zip from github again, and overwrite your Class-WebGet file with the new one.

kimikelku

  • Posts: 61
Re: Error Log
« Reply #4, on January 24th, 2014, 08:07 PM »
Updated today the server so i didnt understood at first, checked the files and uploaded the new version to a subfolder -.-

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Error Log
« Reply #5, on January 24th, 2014, 08:50 PM »
Still don't see how you could have executed that code in the first place...