• Welcome to Sitemap Generator Forum.
 

Crawl aborts: foreach error

Started by xipe, January 21, 2011, 06:39:03 PM

Previous topic - Next topic

xipe

Hi, I get the following crawl error:

Warning: Invalid argument supplied for foreach() in /home/attingodatareco/html/attingo-datarecovery.nl/generator/pages/class.html-creator.inc.php(2) : eval()'d code on line 89

What's wrong?

Best regards,
xipe


tim32

Funny, I just logged on to the forum to ask this exact same question. I've used the standalone generator on a couple other websites, but am getting the same foreach() error when I run the program.
Thoughts?
Tim

xipe

#3
Hi Oleg, Tim,

Maybe I know why now.
The website that I tried to index is under contruction and 'not open for business' yet.
For that reason, I have my robots.txt to Disallow all spiders.
After I changed that, Sitemap Generator did its job correctly.

Still it seems a bit strange to me that the Generator crashed on the Disallow * in robots.txt...

Tim, I hope that this answers your question, too.

Best regards,
Xipe