Forum Moderators: coopster

Message Too Old, No Replies

Spider trap - getout.php error on line 60

http://www.webmasterworld.com/forum88/4242.htm

         

cybertime

1:44 am on Oct 14, 2004 (gmt 0)

10+ Year Member



I am using the spider trap script (getout.php) - [webmasterworld.com...] and have set the .htaccess permission to owner read/write, others and groups read.

I am receiving the following error message and not sure how to correct it:

"Warning: rmdir(/home/virtual/site26/fst/var/www/html/trap): <b>Permission denied</b> in /home/virtual/site26/fst/var/www/html/getout.php on line 60"

Thank you in advance for your assitance.

ergophobe

7:10 pm on Oct 15, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You are trying to remove a directory via the php process and the php process does not have permissions in that directory, even if you, as a user does have permission.

You will have problems if
- the process does not have sufficient rights

- you're in safe mode and the dir was not created by the php process

- the dir is not empty

things like that

Tom

cybertime

1:57 am on Oct 16, 2004 (gmt 0)

10+ Year Member



Thank you Tom for replying.

I was able to fixed the error thanks to your suggestion.

Tayo