Analyze Site Structure - ksort() Warning
« on: November 13, 2018, 06:59:23 AM »
Hello,

I have upgraded XML-Sitemapgenerator from V7.2 to V8.
The Analyze Site Structure shows now following errors which it did not in V7.2:

Code: [Select]
Warning:  ksort() expects parameter 1 to be array, null given in /var/www/vhosts/.../pages/page-analyze.inc.php on line 120


Warning:  Invalid argument supplied for foreach() in /var/www/vhosts/.../pages/page-analyze.inc.php on line 120

What I changed is the maximum memory usage to 4000 MB. But after checking the memory usage, it seams no more than about 1500 MB where used.

So what needs to be reconfigured?
Re: Analyze Site Structure - ksort() Warning
« Reply #1 on: November 13, 2018, 07:19:44 AM »
Hello,

make sure that sitemap has been created first before opening "Site structure" page.
Re: Analyze Site Structure - ksort() Warning
« Reply #2 on: November 13, 2018, 08:54:06 AM »
Since I received this message about two hours earlier, I assume, the generator has finished crawling:

Quote
Hello,

sitemap for your website has been updated.
[ External links are visible to forum administrators only ]

Sitemap details
-------------------------
Sitemap created on: 13 November 2018, 05:44

Processing time: 8:15:53s

Pages indexed: 130000
Crawled pages size: 3,566.08Mb
...
Re: Analyze Site Structure - ksort() Warning
« Reply #3 on: November 14, 2018, 04:29:11 AM »
Hello,

please let me know your generator URL/login in private message to check this.
Re: Analyze Site Structure - ksort() Warning
« Reply #4 on: November 14, 2018, 10:52:44 PM »
I just eat you the login details.

Btw, it looks like the new generator does some more strange things:

Code: [Select]
-rw-r--r--  1 user psacln    367443 14. Nov 12:39 sitemap_com1.xml.gz
-rw-r--r--  1 user psacln    362928 14. Nov 12:39 sitemap_com1.xml.gz.gz
-rw-r--r--  1 user psacln     67855 14. Nov 12:39 sitemap_com2.xml.gz
-rw-r--r--  1 user psacln     57496 14. Nov 12:39 sitemap_com2.xml.gz.gz
-rw-r--r--  1 user psacln    166566 13. Nov 06:50 sitemap_com3.xml.gz.gz
-rw-r--r--  1 user psacln     61279 13. Nov 06:50 sitemap_com4.xml.gz.gz
-rw-rw-rw-  1 user psacln         0  5. Dez 2015  sitemap_com.xml
-rw-r--r--  1 user psacln       322 14. Nov 12:39 sitemap_com.xml.gz
-rw-r--r--  1 user psacln       352 14. Nov 12:39 sitemap_com.xml.gz.gz
-rw-r--r--  1 user psacln    250072 14. Nov 12:39 sitemap_image_com.xml.gz
-rw-r--r--  1 user psacln    250100 14. Nov 12:39 sitemap_image_com.xml.gz.gz

There are suddenly double gzipped file...
Re: Analyze Site Structure - ksort() Warning
« Reply #5 on: November 15, 2018, 07:17:25 AM »
Please try to use "Create both compressed and uncompressed sitemap" option instead of "Compressed only".