View Full Version : Solved Error ...
Getting this error on new server:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in [path]/includes/vbenterprisetranslator_functions.php on line 653
PHP safemode = Off and Curl installed: phpinfo() (http://www.thegameonline.dk/phpinfo.php)
Its a little unstable, for the past few minuts I havent been able to reproduce:
Tried adding to httpd.conf
<Directory /var/www/vhosts/mydomain.com/httpdocs>
AllowOverride All
php_admin_flag engine on
php_admin_value open_basedir none
</Directory>
htaccess contains in top
<Files ~ (\.pl)>
Options ExecCGI FollowSymLinks
</Files>
Options +FollowSymLinks +SymLinksIfOwnerMatch
does it all the time now, try fx, there Is a thread that deserves to be made by post the link here. (http://www.thegameonline.dk/sv/showthread.php?t=156)
I am a bit in the dark here ... ?
vhosts.conf in httpdocs directory:
<Directory /var/www/vhosts/domain.com/httpdocs>
php_admin_flag engine on
php_admin_value open_basedir none
</Directory>
seems to have solved it
Great to hear that you solved it and sorry for late answer. As I understood it was server configuration issue.
yes, seems you have to use vhosts.conf instead of httpd.conf when using Plesk.
Well, even if I managed to solve it for normal pages, it seems I am still getting this for rss feeds:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in [path]/includes/vbenterprisetranslator_functions.php on line 653
Please check my phpinfo: phpinfo() (http://www.thegame-online.dk/phpinfo.php) - safe mod should be off and curl should be activated
Well, even if I managed to solve it for normal pages, it seems I am still getting this for rss feeds:
Please check my phpinfo: phpinfo() (http://www.thegame-online.dk/phpinfo.php) - safe mod should be off and curl should be activated
Fould solution here :)
Warning: curl_setopt() [function.curl-setopt]: - SugarCRM Forums (http://www.sugarcrm.com/forums/showthread.php?t=46071)
I had a similar error which after exhaustive sleuthing around turned out to be a WHM security plugin that disallowed open_basedir for various domains on my server. Once I discovered this and tweaked the settings everything worked fine...
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.