zero-perfoliate
zero-perfoliate

Author Topic: Can someone please help me? I don't know what I'm doing wrong. Thank you  (Read 595 times)

Offline nightshade877

  • New PHP Members
  • Posts: 1
  • Karma: +0/-0
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.

Here is my website: http://unlimitedlockerzptz.vacau.com/

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

Warning: fopen(tmp/4.txt) [function fopen]: failed to open stream. Permissions denied in /home/a7278579/public_html/index.php on line 63

Warning: fclose(): supplied argument is not a valid stream resource in /home/a7278579/public_html/index.php on line 64

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


Please tell me how I can fix these errors and get my website to function properly. The web host I am using supports - PHP 4 / 5.+  - CURL - Zend Optimizer. I desperately need your help. If you need any further information from me, such as the php code itself, please don't hesitate to ask. I appreciate you help more than you know. Thank you all.





Offline josh.legogeek

  • PHP Workers
  • **
  • Posts: 5
  • Karma: +0/-0
It may help to turn safe mode off.
  • Open php.ini (in /etc or /private/etc
  • Find the line that says "safe_mode='on'"
  • Change it to off
  • Save it
  • Restart Apache

 

zero-perfoliate