Errors
« on: June 26, 2007, 03:14:57 PM »
I set it on a cronjob and when it completed i got a email of completion, but multiple errors occurred so site map did not generate:

Warning: fopen(/home/renegade/public_html/generator/data/crawl_dump.log): failed to open stream: Permission denied in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15

Warning: fwrite(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 16

Warning: fclose(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 17

/data is CHMOD 777
Re: Errors
« Reply #1 on: June 26, 2007, 09:10:32 PM »
now this error at end of crawl:

Warning: fopen(/home/renegade/public_html/generator/data/crawl_state.log) [function.fopen]: failed to open stream: Permission denied in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15

Warning: fwrite(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 16

Warning: fclose(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 17

Warning: fopen(/home/renegade/public_html/generator/data/crawl_state.log) [function.fopen]: failed to open stream: Permission denied in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15

Warning: fwrite(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 16

Warning: fclose(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 17

Warning: fopen(/home/renegade/public_html/generator/data/crawl_state.log) [function.fopen]: failed to open stream: Permission denied in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15

Warning: fwrite(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 16

Warning: fclose(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 17

Warning: fopen(/home/renegade/public_html/generator/data/crawl_state.log) [function.fopen]: failed to open stream: Permission denied in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15

Warning: fwrite(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 16

Warning: fclose(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 17

Warning: fopen(/home/renegade/public_html/generator/data/crawl_state.log) [function.fopen]: failed to open stream: Permission denied in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15

Warning: fwrite(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 16

Warning: fclose(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 17

Warning: fopen(/home/renegade/public_html/generator/data/crawl_state.log) [function.fopen]: failed to open stream: Permission denied in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15

Warning: fwrite(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 16

Warning: fclose(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 17
Re: Errors
« Reply #2 on: June 27, 2007, 05:26:28 PM »
Hello,

make sure that you have set permissions as described in installation instructions:
# config.inc.php - 0666 (rw-rw-rw-)
# data/ folder - 0777 (rwxrwxrwx)
# /path/to/your/sitemap.xml - 0666 (rw-rw-rw-)
Re: Errors
« Reply #3 on: June 27, 2007, 10:35:13 PM »
still getting:

Warning: fopen(/home/renegade/public_html/generator/data/crawl_state.log): failed to open stream: Permission denied in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 15

Warning: fwrite(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 16

Warning: fclose(): supplied argument is not a valid stream resource in /home/renegade/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 17
Re: Errors
« Reply #4 on: June 28, 2007, 11:09:19 PM »
Hello,

make sure that all files inside data/ folder are also set to 0666.