curl_setopt error in client.php [URGENT]
Hi Marc,
Finished my development and testing on my local server and all is working very nicely. Moved the site onto the MediaTemple servers and the CG calls are failing with the following PHP message:
Severity: Warning --> curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set
This is happening on line 714 in client.php where curt_setopt() function is called.
Digging into this it seems that it's because the server is running in safe_mode or open_basedir is set. In my case safe_mode is OFF but open_basedir is set. Since I'm in a shared env I cannot change these settings.
I have tried setting CURLOPT_FOLLOWLOCATION => false; on line 710 but with no luck.
Any idea what I can do? I don't want to start mucking around with the code in client.php so i really hope you can help.
thanks
Discussions are closed to public comments.
If you need help with Cheddar please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by George on 04 Dec, 2011 05:19 PM
Anyone monitoring these forums?
2 Posted by George on 04 Dec, 2011 08:20 PM
UPDATE: I was able to clear the value of open_basedir on the server. That seems to have resolved the problem.
//g
Marc Guyer closed this discussion on 05 Dec, 2011 06:03 PM.