Webmastersite.net
Register Log In

Generate HTML W/cron

Title Generate HTML W/cron
Description Permission error
Message Text The upgrade from 3.4.0 to 4.0.8 went smoothly and without any problems. I am having a problem (bug) when generating HTML to the ROOT directory using htmlcron.php. When doing so I receive the following output: Warning: ftp_site() [function.ftp-site]: Could not change perms on /index.html: No such file or directory in /home/couponma/public_html/production/filefunctions.php on line 54 Warning: fopen(/index.html) [function.fopen]: failed to open stream: Permission denied in /home/couponma/public_html/production/filefunctions.php on line 383 Warning: fwrite(): supplied argument is not a valid stream resource in /home/couponma/public_html/production/filefunctions.php on line 383 Cannot write to the file /index.html! You must chmod it to 666. Warning: fclose(): supplied argument is not a valid stream resource in /home/couponma/public_html/production/filefunctions.php on line 385 Manual generation from admin panel works correctly. Also, if I use the cron to generate html to any directory below root, it works correctly. Is this a bug or is there something I am not doing correctly? Note that in the admin panel I am leaving the directory setting to blank, which again works with a manual generation, not the htmlcron.php Ron
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership mrkarron
Views 455 views. Averaging 0 views per day.
Similar Topics
Submission Date Dec 14, 2006 - 6:46 PM