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.

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.

Archived

This topic is now archived and is closed to further replies.

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