XML Sitemaps Generator

    Advanced search
Sitemap Generator Forum
March 11, 2010, 03:55:49 AM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Sitemap software 3.0 released - Mobile sitemaps, external links tracking, https support and more
13016 Posts in 3257 Topics by Members
Latest Member: label
Pages: [1]
  Print  
Author Topic: sitemap.html permissions error?  (Read 4553 times)
webmaster208
Registered Customer
Jr. Member
*
Posts: 13


« on: May 02, 2009, 05:16:49 AM »

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?
« Last Edit: May 02, 2009, 05:21:57 AM by webmaster208 » Logged
webmaster208
Registered Customer
Jr. Member
*
Posts: 13


« Reply #1 on: May 02, 2009, 07:15:30 AM »

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...
Logged
admin
Administrator
Hero Member
*****
Posts: 5474


« Reply #2 on: May 02, 2009, 08:06:56 PM »

Hello,

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

webmaster208
Registered Customer
Jr. Member
*
Posts: 13


« Reply #3 on: May 03, 2009, 03:22:09 AM »

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!
Logged
admin
Administrator
Hero Member
*****
Posts: 5474


« Reply #4 on: May 03, 2009, 06:11:44 PM »

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

webmaster208
Registered Customer
Jr. Member
*
Posts: 13


« Reply #5 on: May 04, 2009, 02:28:35 AM »

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.
Logged
admin
Administrator
Hero Member
*****
Posts: 5474


« Reply #6 on: May 05, 2009, 12:28:00 AM »

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

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!