Hello,
It seems I have some trouble to figure out how sitemap plugin works.
Initial creation of file cache_html/sitemap/sitemap.xml went fine.
Now when I changed album folder structure, then on running sitemap.php I got XML parsing error, so I cleared cache and then could run sitemap.php without this error.
But now I seemingly cannot make sitemap.xml to appear in cache_html/sitemap/ (permission - 755).
I ran sitemap.php several times but the file still does not appear.
static_html_cache plugin is enabled. I've also tried toggling "Disable cache" (not sure what this option does) in sitemap-extended plugin, but no result.
Any ideas on this one?
Comments
The "disable cache" does exactly what it says. It disables caching when you are not loggedin, too.
The static html cache plugin has nothing to do with that and it also does not cache if you are loggedin for the same reason (and the rss caching works also the same).
I am using ZenPhoto version 1.3.1 and the theme ZPfocus 1.3. And I am using the sitemap extended plugin. My concern is that the sitemap file appears as it should when I review it with an editor, but when I look at it through Google webmasters tools or page source on my browser it renders all scrambled. Google has not giving me any warnings, but my pages are not being indexed and I thought maybe the way it renders could be a problem. you can view it at "www.vintage-electronics-ads.com/sitemap.php".
Thank-you - Renee
Regarding the indexing please check your robots.txt file as that is setup quite strict (there are also forum threads about that).
I run http://www.leblogauto.com/zenphoto/sitemap.php and get an error (sorry it's in french - it basically says:
XML analysis error: not element found
Emplacement : http://leblogauto.com/zenphoto/sitemap.php
on line 17, col 1
Erreur d'analyse XML : aucun élément trouvé
Emplacement : http://leblogauto.com/zenphoto/sitemap.php
Numéro de ligne 17, Colonne 1 :
and to make things worse, I have more than 100,000 photos within Zenphoto and not one of them gets indexed by Google Images (but I did post this problem on a different thread).
Thanks for your help on this
This page contains the following errors:
error on line 14 at column 156: Extra content at the end of the document
Below is a rendering of the page up to the first error.
You should look into your server's errorlog. There must be a php error or somehting.
Fatal error: require_once() [function.require]: Failed opening required '/home/fotografia/domains/fotostacja.pl/public_html/galeria/zp-core/folder-definitions.php' (include_path='.:/usr/local/php/php5/lib/php') in /home/fotografia/domains/fotostacja.pl/public_html/galeria/sitemap.php on line 2`
What I have to do ?
http://www.zenphoto.org/2011/01/zenphoto-1-4/
http://www.zenphoto.org/documentation/plugins/_zp-extensions---sitemap-extended.php.html
They should be redirect if you have modrewrite enabled as a workaround. If not you have to change the links.
EDIT: I just see that we indeed forgot to update the documentation for the sitemap. So here quickly. It is called now by `www.yourdomain.com/index.php?sitemap`.
http://www.fotostacja.pl/galeria/index.php?sitemap
I changed hosting and now it does not work even when I am logged.
2011-03-31 12:43:24.769 [INFO] [HTAccess] Updating configuration from [/home/klient.dhosting.pl/mironb/mironb.dkonto.pl/galeria/.htaccess]
2011-03-31 13:00:46.991 [INFO] [HTAccess] Updating configuration from [/demonek/www/public/bledy.demonek.com/public_html/.htaccess]
2011-03-31 13:00:57.189 [INFO] [193.0.64.146:25451-13#mironb.dkonto.pl] Auto Index is disabled for [/home/klient.dhosting.pl/mironb/mironb.dkonto.pl/cgi-bin/], access denied
2011-03-31 13:01:52.738 [INFO] [193.0.64.146:25601-7#mironb.dkonto.pl] Auto Index is disabled for [/home/klient.dhosting.pl/mironb/mironb.dkonto.pl/cgi-bin/], access denied
2011-03-31 14:18:35.462 [INFO] [HTAccess] Updating configuration from [/home/klient.dhosting.pl/mironb/mironb.dkonto.pl/.htaccess]
2011-03-31 16:07:52.110 [INFO] [HTAccess] Updating configuration from [/home/klient.dhosting.pl/mironb/mironb.dkonto.pl/.htaccess]
2011-03-31 16:07:52.110 [INFO] [HTAccess] Updating configuration from [/home/klient.dhosting.pl/mironb/mironb.dkonto.pl/galeria/.htaccess]
2011-03-31 16:08:23.986 [INFO] [HTAccess] Updating configuration from [/demonek/www/public/bledy.demonek.com/public_html/.htaccess]
Providing I access the sitemap from my internal network (my Apache web server is internal as well but is using my external ip address) everything works as you would expect.
But if I access the sitemap from external (here at work) it just refreshes the page and gives the standard opening page. Tried this on Explorer / Firefox / Opera.
This would explain the Google error - This sitemap appears to be a html page.
I can think of no setting from the firewall to the gallery site that could effect this and the sitemaps are working correctly on my Joomla web sites.
Besides the sitemap plugin is going to be reworked anyway. Then it will not be generated on the fly any more but on admin request on the backend.