XML Sitemaps Generator

Author Topic: Crawl aborts: foreach error  (Read 8888 times)

xipe

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 18
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

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

tim32

  • Registered Customer
  • Approved member
  • *
  • Posts: 1
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

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 18
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 »

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2