Author |
Message |
23/07/2004 18:48:46
|
Anonymous
|
Hi there!
Great guestbook... BUT:
everytime I sign the guestbook, and I come to the page: thanks, in 2 seconds you'll go to.... i get a error at the top
it says Permission denied in /.../Lib/add.class.php at line 80
when i take a look at the code, i see this
and the unlink line is line 80
what's wrong?
thanks!
|
|
23/07/2004 18:56:45
|
Anonymous
|
And if I edit the templates at the admin menu I get at the top
damn... can anyone help me?
|
|
23/07/2004 21:03:47
|
JTD
Graduate
Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline
|
First you need to look at this line. What would that tell you?
Permission denied
Your chmod is not set correctly.
|
LINK-> Use Lazarus Guestbook |
|
24/07/2004 00:10:49
|
Anonymous
|
JTD wrote:First you need to look at this line. What would that tell you?
Permission denied
Your chmod is not set correctly.
It's 777?
|
|
24/07/2004 01:00:26
|
JTD
Graduate
Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline
|
Yes or 744 for site owner only.
|
LINK-> Use Lazarus Guestbook |
|
24/07/2004 10:19:20
|
Anonymous
|
still nothing
|
|
24/07/2004 12:51:17
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
unlink is the funtion to delete a file. Is the tmp directory chmoded to 777 to allow the script to delete the files from there?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
24/07/2004 16:10:10
|
Anonymous
|
I have given EVERY file in the guestbook folder the 777 rights...
|
|
24/07/2004 18:07:52
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
When you say every file do you also mean every folder?
I think you may be wrong about being the error because what this is saying is if you successfully delete the file do this.
As for the second problem I think the solution may lie in but I would have to see the section of code that contains line 193 in your admin.class.php as I believe you have editted this file. I think your system may prefer the ./ at the start of the file path to be ../ but thats just off the top of my head.
This is all speculation without being able to look at the code.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
|