Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: kimikelku on January 24th, 2014, 04:28 PM

Title: Error Log
Post by: kimikelku 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
Title: Re: Error Log
Post by: Nao 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.)
Title: Re: Error Log
Post by: kimikelku 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.
Title: Re: Error Log
Post by: Nao 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.
Title: Re: Error Log
Post by: kimikelku 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 -.-
Title: Re: Error Log
Post by: Nao on January 24th, 2014, 08:50 PM
Still don't see how you could have executed that code in the first place...