• Welcome to Sitemap Generator Forum.
 

Help - PHP Errors

Started by ckaus, December 10, 2010, 07:00:43 PM

Previous topic - Next topic

ckaus



I sent a private message, but in case you don't see it we are experiencing the following errors when trying to generate a sitemap on a sub domain. The errors are listed below.

PHP Warning:  ksort() expects parameter 1 to be array, null given in /home/pokercast/htdocs/generator/pages/page-analyze.inc.php(2) : eval()'d code on line 55

PHP Warning:  Invalid argument supplied for foreach() in /home/pokercast/htdocs/generator/pages/page-analyze.inc.php(2) : eval()'d code on line 57,

PHP Warning:  Invalid argument supplied for foreach() in /home/pokercast/htdocs/generator/pages/class.html-creator.inc.php(2) : eval()'d code on line 89,

When the sitemap is running it returns zero pages.

A second issue is the template. It has worked before, so I'm pretty sure this has to be a bug. When I changed the tpl sitemap template it didn't update the template already in use. I know the new version of the template is uploaded properly. I can see the change by going to [ External links are visible to forum administrators only ]. It just doesn't update the actual sitemap.

If someone could help me with these issues I would appreciate it.

Thanks!



ckaus

Thank you for the reply, and for replying so quickly. If I can ask one more question please.

What would cause the template to stop updating?

XML-Sitemaps Support

I'm not sure I understand correctly - do you mean the template files in pages/mods/ folder? They should not be changed.

ckaus

No. The sitemap_tpl.html in /generator/pages.

All I did was change the surrounding code so that the sitemap has the same design and css as the website.

It worked before, but for some reason the sitemap won't change to the new template that's in sitemap_tp.html

Any suggestions would be appreciated and thanks again :)