Jump to content

Can someone help me with this please? Thank you very much.


nightshade877

Recommended Posts

Hi, before I ask my question, I would first like to state that it is my great honor to be given advice from respectable php experts like yourselves. I would also like to thank each of you for your advice and help, I really do appreciate it.

 

The problem is, when one enters their email in the space provided and hits "invite", the following errors come up.

 

 

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION can not be activated when in safe_mode or an open_basedir is set in /home/a7278579/public_html/index.php on line 77

 

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION can not be activated when in safe_mode or an open_basedir is set in /home/a7278579/public_html/index.php on line 106

 

The errors say that safe_mode and/or open_basedir is enabled in index.php But when I go to edit index.php, safe_mode and open_basedir are nowhere to be found. How can I disable safe_mode or open_basedir when they are not in my index.php file? Will I have to add the command to disable them manually? If so, will you please be so kind as to tell me how to do that? Thank you so much.

Link to comment
Share on other sites

The errors say that safe_mode and/or open_basedir is enabled in index.php

 

They said no such thing. They said that you can't use cURL because either safe_mode = On or open_basedir has been specified to any directory in your web root.

 

You don't need cURL you can do whatever you are doing also with fopen or file_get_contents however you'll have to make sure allow_url_fopen = On or this won't work either.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.