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.
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.










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.
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,

 :)