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 
after adding an entry i get an error and files get deleted  XML
Forum Index » Support Forum
Author Message
Anonymous



hi there, got the strangest problem here with the advanced guestbook.

I added it to my page and i got i working (i think)

Images are showing and db & tables are set up.

Now when i want to add an entry to the guestbook it does add the entry to my db but then i get the following error

Warning: chdir(): Permission denied (errno 13) in [mydir]/guestbook/lib/add.class.php on line 66

and then (now comes the weirdest part) it deletes all the files that are in the root directory of my guestbook (so it deletes, install.txt, addentry.php, admin.php etc)

I don't think this is normal

Anyone has an idea (i haven't changed anything in the script.

thanx!

rogier
Anonymous



oh, by the way.

[mydir] is the address from my root directory. (changed that myself)

rogier
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Are you on a windows server or linux?

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
Anonymous



I'm on linux.

(can't figure out why this is happening)

but scince it looks like you have written all of/some of the code it seems like i found the right person! (judging from all the other posts you have answered)

rogier
Anonymous



Oh, maybe some more info might help:

server is running apache.

phpinfo:
Server API CGI
Virtual Directory Support disabled
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php,
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

I've had this problem myself when I installed server on my laptop running windows. I'll go through the code later to see where it gets the path from.

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