- Posts: 5
- Thank you received: 0
Error messages for "add.php" file
18 years 2 months ago #174
by leftezi
Error messages for "add.php" file was created by leftezi
After every entry in my guestbook the visitor see that:
The entry is succesfull but with the above error messages on the top
These 3 lines in "add.php" file are:
Any Help?
Code:
Guestbook Entry Result:
Warning: fopen(data/message_post.log): failed to open stream: Permission denied in /home/xxxx/public_html/guestbook/add.php on line 164
Warning: fwrite(): supplied argument is not a valid stream resource in /home/xxxx/public_html/guestbook/add.php on line 165
Warning: fclose(): supplied argument is not a valid stream resource in /home/xxxx/public_html/guestbook/add.php on line 166
The entry is succesfull but with the above error messages on the top
These 3 lines in "add.php" file are:
Code:
164 $fp = fopen("data/message_post.log", "a");
165 fwrite($fp, $message_log_string);
166 fclose($fp);
167 }
Please Log in or Create an account to join the conversation.
18 years 2 months ago #175
by Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic Error messages for "add.php" file
Hi,
You need to give Read, Write and Execute Permission to all the files in the "data" folder. Please CHMOD 777 on all 3 files inside the "data" folder, and that should solve your problem.
You need to give Read, Write and Execute Permission to all the files in the "data" folder. Please CHMOD 777 on all 3 files inside the "data" folder, and that should solve your problem.
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
18 years 2 months ago #176
by leftezi
Replied by leftezi on topic Error messages for "add.php" file
OK Thank You, Pete
Thats it
Thats it
Please Log in or Create an account to join the conversation.
17 years 5 months ago #673
by tabiihab
Replied by tabiihab on topic Error messages for "add.php" file
what is CHMOD 777??? how can i do this??? :shock:
Please Log in or Create an account to join the conversation.
17 years 5 months ago #674
by Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic Error messages for "add.php" file
CHMOD 777 is a command that you can execute on a file either through your ftp software or through shell terminal on your web server. For msot FTP software, all you have to do is to select the file in question, right click on the file, select the CHMOD command, and check all checkboxes giving read, write and execute to Owner, Group and User.
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
Time to create page: 0.121 seconds