• Welcome to Sitemap Generator Forum.
 

sitemap.html permissions error?

Started by webmaster208, May 02, 2009, 06:16:49 AM

Previous topic - Next topic

webmaster208

I am getting the following error with running crawler with a cron job:

Warning: fopen(/home/public_html/generator/data/sitemap.html): failed to open stream: Permission denied in /home/public_html/generator/pages/class.html-creator.inc.php(2) : eval()'d code on line 149


Neither cPanel nor my FTP client will allow me to change sitemap.html to 666? What to do?

I found another post via search engine (site search didn't find it) with the same problem and the suggestion was to delete the existing files. Shouldn't the script being doing and "if exist" delete type check?

webmaster208

Sorry but this is a SERIOUS support issue. I added a delete conditional to remove the sitemap.html file before the script runs and I guess it did that but now complains about the next one and so on and so on:

Warning: fopen(/home/public_html/generator/data/sitemap2.html): failed to open stream: Permission denied
in /home/public_html/generator/pages/class.html-creator.inc.php(2) : eval()'d code on line 149


This effective makes the CRON a useless feature if you have to go in everyday and clean out the DATA folder.

PLEASE FIX THIS PRODUCT DEFECT...

XML-Sitemaps Support

Hello,

try to:
- remove sitemap.html
- manually upload empty sitemap.html file instead
- set permissions to 0666 for it.

webmaster208

I understand but this really defeats the purpose of having the CRON job run automatically.

BTW, I are REALLY disappointed that you have chosen to Base64 encrypt your sources. Makes troubleshooting a problem a lot more difficult than otherwise. In fact, had I known that ahead of time, I would have never purchased the product.

I have added a script that clears out the sitemap.html files before the runcrawl executes as a hack work around... I am not happy wth this as the script should be doing it, not my hack!

XML-Sitemaps Support

The steps described in my post above should be done only once, ne need to repeat them every time.

webmaster208

That's an interesting comment. I have had to delete the .html files multiple times now (at least three times that I am aware of having to do that), otherwise the permissions error shows up? In fact, I don't know that I have had a successful CRON run without deleting them first.

XML-Sitemaps Support

It is important to not only delete the file, but then manually upload empty sitemap.html and set 0666 permissions to it.