Several issues with stand alone - new user
« on: September 26, 2008, 03:25:03 PM »
I've been using the stand alone version of Sitemap Generator for a couple of weeks.  Here are a few issues I have noticed:

1.  Using a cron script on my site I get 59 emails with versions of the following.  Why?  And is it necessary?

<html>
<head>
<title>XML Sitemaps - Generation</title>
<meta http-equiv="Content-type" content="text/html;charset=iso-8859-15" />
<link rel=stylesheet type="text/css" href="pages/style.css">
</head>
<body>
<h4>Already in progress. Current process state is displayed:</h4>4840 | 1662 | 177,474.2 | 58:44 | 20:10 | 4 | 14,629.3 Kb | 4794 | 13281 | 14629

2. My change log reports 28,987 URLs on my site (which is probably about right) but it seems to max out at reporting 1000 new URLs and 1000 URLs removed.

If anyone can help with this, I would appreciate it.

Thanks,
Todd

Re: Several issues with stand alone - new user
« Reply #1 on: September 26, 2008, 05:08:40 PM »
The sitemap was completed but I get the following error messages repeatedly in email from my cron deamon:

Warning: fopen(/home/smittodd/public_html/generator/data/sitemap28.html): failed to open stream: Permission denied in /home/smittodd/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/smittodd/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/smittodd/public_html/generator/pages/class.html-creator.inc.php(2) : eval()'d code on line 151


Re: Several issues with stand alone - new user
« Reply #2 on: September 26, 2008, 09:08:40 PM »
Hello,

1. make sure that your cron task is not set to run too often (no more than once a day) since it could be started before previous one is finished.

2. this is limited to keep log files smaller

3. check that you have all permissions set correctly:
data/ folder - 0777
all *files* inside data/ folder  - 0666
Re: Several issues with stand alone - new user
« Reply #3 on: September 26, 2008, 09:44:53 PM »
Thanks for your help!

1. It just runs once a week right now.

2.  good to know about the 1000 limit in the log (as long as the sitemap itself is updated, that's all that matters).

3.  I have data/ folder set to 777.  I tried to change permissions on all files inside data/ folder to 0666 but permission was denied for me to make the change.  Error -142: remote chmod failed

thanks
Re: Several issues with stand alone - new user
« Reply #4 on: September 30, 2008, 01:21:09 AM »
Hello,

3. in this case you will have to remove files from data/ folder to avoid permissions messages.
Re: Several issues with stand alone - new user
« Reply #5 on: September 30, 2008, 05:05:40 PM »
So what do I do?  Remove the files and then put them back?  I'm not sure how this helps?  Please explain.  Thanks
Re: Several issues with stand alone - new user
« Reply #7 on: October 01, 2008, 10:42:56 PM »
I removed all files in data/ folder.  Started running the sitemap generator again.  Here are the errors:

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

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

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

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

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

Re: Several issues with stand alone - new user
« Reply #9 on: October 02, 2008, 01:05:08 AM »
yes, you were right!  the permissions were at 766.  Thanks.  The sitemap generator is still working.  When it's done, I'll try again.