Wedge
Public area => Bug reports => The Pub => Archived fixes => Topic started 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:
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
-
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.)
-
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.
-
@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.
-
Updated today the server so i didnt understood at first, checked the files and uploaded the new version to a subfolder -.-
-
Still don't see how you could have executed that code in the first place...