If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Line 80 @Add.Class  XML
Forum Index » Support Forum
Author Message
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!
Anonymous



And if I edit the templates at the admin menu I get at the top


damn... can anyone help me?
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
[WWW] [Yahoo!] aim icon [MSN]
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?
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
[WWW] [Yahoo!] aim icon [MSN]
Anonymous



still nothing
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



I have given EVERY file in the guestbook folder the 777 rights...
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum