I keep getting this error.

I have replaced the script in my directory with a fresh copy I have this working on many sites but on this one site I keep getting this error in my email.

Warning: fopen(/home/algarvew/public_html/generator/data/interrupt.log): failed to open stream: Permission denied in /home/algarvew/public_html/generator/pages/class.grab.inc.php(2) : eval()'d code on line 111

What is happening here and how can I fix this?

Thanks

MIke

Thanks for your reply.

No there is no: interrupt.log

There was an error log in there too but I deleted that. It contained the same error in original post.

Contents of data folder:

drwxrwxrwx    2 username username     4096 Oct 13 03:08 .
drwxr-xr-x    4 username username     4096 Oct 14 01:17 ..
-rwxrwxrwx    1 username username       81 Oct 11 04:05 .htaccess
-rw-rw-rw-    1 username username      580 Oct 11 04:11 2009-10-11 04-11-02.log
-rw-rw-rw-    1 2001     2001          574 Oct 12 03:02 2009-10-12 03-02-22.log
-rw-rw-rw-    1 2001     2001          574 Oct 13 03:02 2009-10-13 03-02-15.log
-rw-rw-rw-    1 username username      574 Oct 13 03:02 2009-10-13 03-02-17.log
-rw-r--r--    1 username username     4892 Oct 11 04:08 generator.conf
-rwxrwxrwx    1 username username       11 Oct 11 04:05 placeholder.txt
-rw-------    1 username username       13 Oct 12 11:14 sess_2e76e96b9285ce34e89a463b103bf547
-rw-------    1 username username       13 Oct 13 03:08 sess_5ac8f55b1aa813553ef20077bd4e9f4c
-rw-------    1 username username       13 Oct 12 03:03 sess_6e5516e27566ad7a150df8ff5f9b33da
-rw-------    1 2001     2001           13 Oct 12 03:03 sess_89e497337b33ba1701b6f88bacfde88f
-rw-------    1 username username       13 Oct 11 04:11 sess_db8185842a9439b5f795aab64b3147b9
-rw-------    1 username username       13 Oct 13 03:03 sess_ea8dd70b6a5bc8d22ff14230ca351284
-rw-------    1 2001     2001           13 Oct 13 03:03 sess_fadc36a995b5c1b3ed50f574bd0ef796
-rw-rw-rw-    1 username username    41145 Oct 13 03:02 sitemap.xml
-rw-rw-rw-    1 username username    11958 Oct 13 03:02 urllist.txt

Thanks

Mike
Error log contents:

[13-Oct-2009 03:00:03] PHP Warning:  fopen(/home/username/public_html/generator/data/interrupt.log): failed to open stream: Permission denied in /home/username/public_html/generator/pages/class.grab.inc.php(2) : eval()'d code on line 111
[13-Oct-2009 03:00:03] PHP Warning:  fclose(): supplied argument is not a valid stream resource in /home/username/public_html/generator/pages/class.grab.inc.php(2) : eval()'d code on line 111
Hello,

check that you have 0777 permissions set for data/ folder. In any case, you can ignore this warning message since it doesn't affect generator functioning.
yes 777. ok i'll ignotre it thanks

regards

Mike