XML Sitemaps Generator

Author Topic: Warning: ksort() / Warning: Invalid argument  (Read 9553 times)

marilyn.gayle

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Warning: ksort() / Warning: Invalid argument
« on: November 10, 2012, 01:11:15 AM »
I have just bought and uploaded the XML sitemap generator + Images Sitemap to a server. 

The installation seemed to go smoothly but, when I attempt to build the sitemaps, an error is preventing successful sitemap generation.  Unfortunately, I do not have a clue how to resolve this.

The 'View Sitemap' details are as follows:

Created on:
10 November 2012, 00:28
Processing time:
0:00:01s
Pages indexed:
0
Download:
XML sitemap
In text format

Images sitemap
0 images

more details
Pages crawled:
1
Sitemap files:
0
Crawled pages size:
0.036Mb
Network transfer time:
0:00:00s
Top memory usage:
1.57Mb
 
And the 'Analyze' section gives the information below:

Warning:  ksort() expects parameter 1 to be array, null given in /home/xxxx/public_html/generator/pages/page-analyze.inc.php on line 120

Warning:  Invalid argument supplied for foreach() in /home/xxxx/public_html/generator/pages/page-analyze.inc.php on line 120

Please help.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: Warning: ksort() / Warning: Invalid argument
« Reply #1 on: November 12, 2012, 11:27:56 AM »
Hello,

please try search engine bot simulator to make sure that your site is visible to crawlers: http://www.xml-sitemaps.com/se-bot-simulator.html
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.

marilyn.gayle

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: Warning: ksort() / Warning: Invalid argument
« Reply #2 on: November 27, 2012, 01:35:19 AM »
Hello, thanks for your reply.

I have tried search engine bot simulator - the site is visible to crawlers.

Also, following the advice given in previous posts, I have uploaded a blank robots.txt, but this has not made any difference to the outcome.











XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: Warning: ksort() / Warning: Invalid argument
« Reply #3 on: November 27, 2012, 09:27:55 AM »
What is your website URL?
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.

marilyn.gayle

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: Warning: ksort() / Warning: Invalid argument
« Reply #4 on: November 27, 2012, 03:00:12 PM »
Thanks for your reply.

I have sent you a private message with the URL.

marilyn.gayle

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: Warning: ksort() / Warning: Invalid argument
« Reply #5 on: December 01, 2012, 03:34:54 AM »
Success!!!  Thank you so much for your sage advice to delete the line <meta name="robots" content="noindex, nofollow" /> from the relevant pages of the Zen Cart template. 

Once this was done, there followed a rapid indexing of the site (10082 pages) and successful generation of the sitemaps.

Best wishes,

 :)

 

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