• Welcome to Sitemap Generator Forum.
 

php errors when running runcrawl.php from command line

Started by ensev, September 25, 2009, 04:46:35 PM

Previous topic - Next topic

ensev

Hi XML Sitemaps team,

I run all my sitemap generation from cron job or command line.
I think something is broken in new version.

After I installed new 3.0 version, I get following errors after crawling is finished:

...
264 | 0 | 9,335.6 | 0:00:17 | 0:00:00 | 4 | 1,556.5 Kb | 262 | 0 | -492
<h4>Completed</h4>Total pages indexed: 262<br>Creating sitemaps... and calculating changelog...<br>Creating HTML sitemap...
Warning: ksort() expects parameter 1 to be array, null given in /var/www/www.xxx.xx/sitemaps/pages/class.html-creator.inc.php(2) : eval()'d code on line 58

Warning: Invalid argument supplied for foreach() in /var/www/www.xxx.xx/sitemaps/pages/class.html-creator.inc.php(2) : eval()'d code on line 60
<script>
top.location = 'index.php?op=view'
</script>


ensev

Hi Admin,

I am not sure to which configuration you are reffering to??

Maximum memory usage, MB: 0
Minimize script memory usage: CHECKED CHECKBOX on use temporary files to store crawling progress

I am running sitemap genereator v3.0, 2009-05-19.

Thank you in advance!


ensev

Hi Oleg,

That helped! Thanks mate! Now cli sitemap crawling finishes with usual message:

<h4>Completed</h4>Total pages indexed: 421<br>Creating sitemaps... and calculating changelog...<br>Creating HTML sitemap...<script>
top.location = 'index.php?op=view'
</script>