Error in Cron
« on: September 04, 2008, 11:10:47 AM »
Hi ,

i just set the cron and in first day i got this error in the report that i have got :
Quote
Creating HTML sitemap...
Warning: fopen(/home/user/public_html/generator/data/sitemap.html): failed to open stream: Permission denied in /home/user/public_html/generator/pages/class.html-creator.inc.php(2) : eval()'d code on line 149

Warning: fwrite(): supplied argument is not a valid stream resource in /home/user/public_html/generator/pages/class.html-creator.inc.php(2) : eval()'d code on line 150

Warning: fclose(): supplied argument is not a valid stream resource in /home/userl/public_html/generator/pages/class.html-creator.inc.php(2) : eval()'d code on line 151

p.s. data Chmod is 777

Any idea ?
thanks in advance
Re: Error in Cron
« Reply #1 on: September 04, 2008, 08:05:26 PM »
Please also make sure that all files inside data/ folder are set to 0666.
Re: Error in Cron
« Reply #2 on: September 05, 2008, 04:33:25 PM »
i tried to do that but i got this error :

Quote
   [9/5/2008 5:31:25 PM] 550 Could not change perms on /public_html/generator/data/sitemap.html: Operation not permitted
ERROR:>      [9/5/2008 5:31:25 PM] Requested action not taken (e.g., file or directory not found, no access).

!! how can i do that ?