xipe

*
  • *
  • 24
Crawl aborts: foreach error
« on: January 21, 2011, 06:39:03 PM »
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
Re: Crawl aborts: foreach error
« Reply #1 on: January 21, 2011, 10:03:53 PM »
Hello,

please let me know your generator URL/login in private message to check this.
Re: Crawl aborts: foreach error
« Reply #2 on: January 22, 2011, 04:35:46 AM »
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

*
  • *
  • 24
Re: Crawl aborts: foreach error
« Reply #3 on: January 22, 2011, 08:18:21 AM »
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
« Last Edit: January 22, 2011, 08:20:30 AM by xipe »