Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 9 of 9

Thread: Error ...

  1. #1
    Member
    Join Date
    Oct 2009
    Posts
    67

    Default 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()

  2. #2
    Member
    Join Date
    Oct 2009
    Posts
    67

    Default

    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
    Last edited by krisp; 09-02-10 at 17:17.

  3. #3
    Member
    Join Date
    Oct 2009
    Posts
    67

    Default

    Text automatically translated from: Swedish to: English
    Translated text
    does it all the time now, try fx Is there a topic that deserves to be made by post the link here.

    I am a bit into the dark here ... ?
    Original text

  4. #4
    Member
    Join Date
    Oct 2009
    Posts
    67

    Default

    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

  5. #5
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Great to hear that you solved it and sorry for late answer. As I understood it was server configuration issue.

  6. #6
    Member
    Join Date
    Oct 2009
    Posts
    67

    Default

    yes, seems you have to use vhosts.conf instead of httpd.conf when using Plesk.

  7. #7
    Member
    Join Date
    Oct 2009
    Posts
    67

    Default

    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() - safe mod should be off and curl should be activated

  8. #8
    Member
    Join Date
    Oct 2009
    Posts
    67

    Default

    Quote Originally Posted by krisp View Post
    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() - safe mod should be off and curl should be activated
    Fould solution here
    Warning: curl_setopt() [function.curl-setopt]: - SugarCRM Forums

  9. #9
    Junior Member m_k's Avatar
    Join Date
    Dec 2009
    Posts
    7

    Default

    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...

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •