Author |
Message |
30/09/2004 01:01:49
|
Anonymous
|
Hi,
I'm trying to change the body.php-file, but after submitting it comes bacj with:
Warning: fopen(./templates/body.php): failed to open stream: Permission denied in /home/virtual/site114/fst/var/www/html/guestbook/lib/admin.class.php on line 193
Warning: fwrite(): supplied argument is not a valid stream resource in /home/virtual/site114/fst/var/www/html/guestbook/lib/admin.class.php on line 194
Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/site114/fst/var/www/html/guestbook/lib/admin.class.php on line 200
Any ideas what I'm doing wrong?
Thanks.
|
|
30/09/2004 02:39:53
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Not 100% sure but check that you didn't change the file permissions for body.php. I'd guess they should be 755.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
30/09/2004 10:13:06
|
Anonymous
|
I have found the problem with the Guestbook (I hope). In the readme.txt it only says to chmod the folders Public and Tmp, but in the template adminpanel it says (in small print) to give the templatefiles Read/Write permission, which would be 666.
I had tried to chmod the folders through WS-ftp, but one way or another it all got screwed up, so I had to do a completely new install and chmod through the config-panel of my provider, which seemed to work fine.
One question though: If all seems to work fine, do I need to delete the install.php or other files that may leave a door open for unwanted people?
|
|
30/09/2004 14:44:11
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Always delete the install.php file of any installation.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
30/09/2004 17:37:41
|
Anonymous
|
Thanks Carbonize, I just did For the people that like to see how my Guestbook turned out, click THIS. I have chosen the same colorscheme as I use at my messageboard. Click HERE for the forum. They're both in Dutch, btw.
|
|
30/09/2004 17:39:07
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Now you have 2.3.1 installed you can also add the yahoo/msn fields mod and my image verification.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
28/10/2004 08:40:45
|
Anonymous
|
oh fun lol - im getting this same error returned but ive changed my permissions
templates: 755
tmp: 777
public: 777
body.php: 755
i was sure those were the right settings - so whats could be going on?
|
|
28/10/2004 11:29:15
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Try body.php as 666 instead. This will leave it open to being edited via the admin section if you get hacked but thats the price you pay.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
28/10/2004 13:36:48
|
Anonymous
|
still didnt work - it dont matter, not as if i was going to put much in it anyway
cheers
|
|
28/10/2004 13:40:26
|
Anonymous
|
ugh, now i feel stupid - i could have just edited them in the file manager couldnt i...
sorry about all that.
|
|
|