ZenphotoCMS Forum
issue with the sitemap extension - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: issue with the sitemap extension (/thread-8284.html)



issue with the sitemap extension - flu - 2011-02-22

Hi,
enabling the sitemap extension with zenphoto version 1.4.0.2 [6757] (Official Build) generates warnings at http://www.mywebsite.com/index.php?sitemap :

Warning: Invalid argument supplied for foreach() in /mywebsite/zp-core/zp-extensions/sitemap-extended.php on line 292

Warning: Invalid argument supplied for foreach() in /mywebsite/zp-core/zp-extensions/sitemap-extended.php on line 406

Warning: Invalid argument supplied for foreach() in /mywebsite/zp-core/zp-extensions/sitemap-extended.php on line 422

Warning: Invalid argument supplied for foreach() in /mywebsite/zp-core/zp-extensions/sitemap-extended.php on line 406

Warning: Invalid argument supplied for foreach() in /mywebsite/zp-core/zp-extensions/sitemap-extended.php on line 406

Warning: Invalid argument supplied for foreach() in /mywebsite/zp-core/zp-extensions/sitemap-extended.php on line 406

Warning: Invalid argument supplied for foreach() in /mywebsite/zp-core/zp-extensions/sitemap-extended.php on line 422
etc.
Enabling the google image option or clearing the cache doesn't solve the problem.

Any brilliant idea ?

Cheers.




issue with the sitemap extension - acrylian - 2011-02-22

Try disabling the multilingual sitemap. All these errors refer to that.




issue with the sitemap extension - flu - 2011-02-22

Thank you for your answer, Acrylian.
Well... how ?

I don't see any multilingual option in the sitemap plugin (I use zenphoto version 1.4.0.2 [6757]).

Do you mean that it can't work on a mutlilingual site ?




issue with the sitemap extension - acrylian - 2011-02-22

Ah, sorry,right, it is tied to the general multilingual setting. So yes, I guess currently it does not work for a multilingual site then. No idea right now. Please open a ticket.




issue with the sitemap extension - flu - 2011-02-22

I'd like to, but I can't login or even register with a new account on Trac...




issue with the sitemap extension - acrylian - 2011-02-23

Trac, e.g. site sometimes suffers from heavy traffic so it does sometimes not work. I suggest to retry later.




issue with the sitemap extension - flu - 2011-02-23

ok, done :
http://www.zenphoto.org/trac/ticket/1832

Cheers.