• Welcome to Sitemap Generator Forum.
 

Errors in html sitemap generation

Started by saniokmail, November 11, 2009, 10:42:14 AM

Previous topic - Next topic

saniokmail

Quote
PHP Warning:  ksort() expects parameter 1 to be array, null given in /usr/local/.../pages/class.html-creator.inc.php(2) : eval()'d code on line 58
[10-Nov-2009 16:49:22] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/.../pages/class.html-creator.inc.php(2) : eval()'d code on line 60

Create XML, ROR, Text, but in HTML error.

XML-Sitemaps Support

Hello,

make sure that you have html sitemap option enabled and "HTML sitemap filename" is correctly defined.

saniokmail

I', sure "Create html site map for your visitors" is ON, "HTML Sitemap filename" is correct. Maybe some treble with big sitemap? In sitemap are about 100k pages...

saniokmail

Yes! I found this bug.

If I check "use temporary files to store crawling progress" HTML sitemap don't generate. If uncheck generated.

Can you check bug and if it exist fix?

XML-Sitemaps Support

That memory setting is known to potentially cause issues and should be used only if you cannot create sitemap without it.

simon8

Hello
I'm getting a similar error message except that the only sitemap that is updating is the/public_html/generator/data/urllist.txt
As below:
An error occured
Sitemap file is not writable: /public_html/sitemap.xml
Sitemap file is not writable: /generator/data/sitemap.html
Warning: file(/home/public_html/generator/data/sitemap.xml) [function.file]: failed to open stream: No such file or directory in /home/compel53/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 40
Warning: implode() [function.implode]: Invalid arguments passed in /public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 40

I've looked through your earlier posts but can't find a temp check box.
I do have a: Create HTML Sitemap: Create html site map for your normal visitors
which is always checked.
(I have circa 2K pages, been running xml-sitemaps for 2+ years.)
Many thanks

XML-Sitemaps Support

Hello,

make sure that you completed all steps during  installation, including setting permissions for sitemap.xml file (0666 permissions) and generator/data/ folder (0777).

simon8

Quote from: admin on November 27, 2009, 11:27:53 PM
Hello,

make sure that you completed all steps during  installation, including setting permissions for sitemap.xml file (0666 permissions) and generator/data/ folder (0777).


Hello Oleg

Thank you for your message.
However the sitemap was installed by yourselves about 2 years ago. As far as I'm aware permissions haven't changed. Ditto data.
I've looked through the configuration tab section and can't find anything that obviuosly relates to permissions.
I've also compared the config settings with another of your sitemaps that functions OK on another server for another of my sites. And can't see any differences.

Thanking you

XML-Sitemaps Support

Hello,

it means that some changes were applied on your server during last 2 years that affected file/folders permissions, and you need to re-apply access permissions to resolve the issue.