- Posts: 1
- Thank you received: 0
guestbook
12 years 1 month ago - 11 years 2 weeks ago #12418
by weg
Hi, I am a novice in php (and new on this forum). I tried to get the guestbook working and it works until i want to submit a message onto it. The "data/list.txt" file doesn't unlock:
I tried a number of things (like changing the '2' in the " flock($fp,2);" into a '1') but nothing seems to work.
Anyone have any good ideas?
Thnx, Weg
Code:
<Warning: flock() expects parameter 1 to be resource, boolean given in add.php on line 208>
I tried a number of things (like changing the '2' in the " flock($fp,2);" into a '1') but nothing seems to work.
Anyone have any good ideas?
Thnx, Weg
Last edit: 11 years 2 weeks ago by Pete.
Please Log in or Create an account to join the conversation.
12 years 1 month ago #12419
by Pete
DigiOz Webmaster
www.digioz.com
Hello Weg, welcome to DigiOz.
Please make sure to set the permission on the "/data" directory and each of the files inside of it to CHMOD 777. To do so, connect through your FTP Software and right click on the folder, choose properties and check all check boxes for Read, Write and Execute.
Pete
Please make sure to set the permission on the "/data" directory and each of the files inside of it to CHMOD 777. To do so, connect through your FTP Software and right click on the folder, choose properties and check all check boxes for Read, Write and Execute.
Pete
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
Time to create page: 0.113 seconds