Pages (2):    1 2
Member
Member
dazzy   08-12-2012, 23:32
#21

I have looked into this for the last few hours and installed the last nightly build 4 times and each time the only way to get sitemaps to work fully with multilingual links is with security logger switched off.

I tryed other versions of zenphoto and switching off security logger makes no difference and with those version i can't get sitemap to work at all with multilingual links.

I checked for error logs with my host when having security logger switched on and off and as well using sitemap and there are none.

I am really lost what the problem is exactly.

I see that acrylian said it only worked for him with the latest nightly build but not older ones so there is maybe a problem somewhere. Was that working with security logger on?

Member
Member
dazzy   08-12-2012, 23:36
#22

By the way you can see for yourself on one install that i have up and running here:

I have a test here http://dazzy.eu/zenphoto-2012-12-07/
album sitemap here: http://dazzy.eu/zenphoto-2012-12-07/cache_html/sitemap/sitemap-zenphoto-albums-1.xml

login details

user: admin2
password: adminpass

Administrator
Administrator
acrylian   09-12-2012, 10:20
#23

I was testing with the security_Logger enabled and just did again (same 11083 build as your test site) and it worked for me. Security logger settings are the default ones.

So if there is no error anywhere I have no idea.

Member
Member
dazzy   09-12-2012, 12:00
#24

I just checked now and found some log errors with the hosting as bellow. Not sure if this means anything.

[Sat Dec 08 21:19:43 2012] [error] [client 79.170.40.31] Use of uninitialized value in concatenation (.) or string at http-error.cgi line 73.

[Sat Dec 08 21:47:02 2012] [error] [client 195.168.239.220] mod_mime_magic: can't read `/home/sites/dazzy.eu/public_html/zen-photo/zp-core/admin-logs.php', referer: http://www.dazzy.eu/zen-photo/zp-core/admin-logs.php?page=logs

[Sat Dec 08 21:47:07 2012] [error] [client 195.168.239.220] mod_mime_magic: can't read `/home/sites/dazzy.eu/public_html/zen-photo/zp-core/admin-logs.php', referer: http://www.dazzy.eu/zen-photo/zp-core/admin-logs.php?action=clear_log&page=logs&tab=security&filename=security&XSRFToken=ccb38fb7bccb97c6e48e6b715194a79e6c849109

[Sat Dec 08 21:50:55 2012] [error] [client 195.168.239.220] mod_mime_magic: can't read `/home/sites/dazzy.eu/public_html/zen-photo/zp-core/admin-logs.php', referer: http://www.dazzy.eu/zen-photo/zp-core/zp-extensions/sitemap-extended/sitemap-extended-admin.php?generatesitemaps&number=26

Administrator
Administrator
acrylian   09-12-2012, 12:33
#25

That means that Zenphoto on your site is not allow to write the logs because of some server security extension named "mod_mime_magic". That will be the reason why the security logger prevents the sitemap being generated properly as that is meant to generate a log. Nothing we can do about this. You need to contact your host or just disable the security logger.

Member
Member
dazzy   09-12-2012, 18:43
#26

Hi

Thanks for your reply

I contacted my host and reinstalled zenphoto and we went through it together. We sorted out some errors by changing the permissions of the setup.log file in zp-data. After reinstalling and trying out again with multiple languages i still have the sitemap problem.

The host told me to refer back to you with the following quote:
'I would liase directly with the developers, If it's something amiss with the software, it's going to be them that is able to resolve it. There must be some correlation between the security logger and the sitemap feature and they would know this.'

I had the following errors this time in log if it helps:

[Sun Dec 09 16:58:45 2012] [error] [client 195.168.239.220] PHP Warning: fopen(SERVERPATH/zp-data/debug.log): failed to open stream: No such file or directory in /home/sites/dazzy.eu/public_html/zen-photo-test/zp-core/functions-basic.php on line 1024

[Sun Dec 09 16:58:45 2012] [error] [client 195.168.239.220] PHP Warning: Missing argument 1 for reconfigureAction(), called in /home/sites/dazzy.eu/public_html/zen-photo-test/zp-core/functions-basic.php on line 104 and defined in /home/sites/dazzy.eu/public_html/zen-photo-test/zp-core/reconfigure.php on line 11

[Sun Dec 09 16:58:45 2012] [error] [client 195.168.239.220] PHP Warning: fopen(SERVERPATH/zp-data/debug.log): failed to open stream: No such file or directory in /home/sites/dazzy.eu/public_html/zen-photo-test/zp-core/functions-basic.php on line 1024

I also installed zenphoto on my pc using xampp and also had the same issue with the sitemap.

Do you have any suggestions what the problem could be?

Administrator
Administrator
acrylian   09-12-2012, 19:06
#27

The first and third error is either permissions again or the file is indeed missing. I have no idea about the 2nd one but might be a follow up of that.

It is all working for me on MAMP as said. I cannot test XAMPP but sbillard is testing on windows (I think WAMP though) so I will have to pass on this. Maybe he has any idea.

Member
Member
sbillard   09-12-2012, 20:38
#28

The second error has been corrected in te nightly builds. It will happen only on the reinstall, though, so should not be a serious issue.

DO you have log files? That is, can you see them with FTP? If so you are having read permissions issues. If not you are having file create permissions issues. If Zenphoto is not allowed to do its job it may not do it well.

Member
Member
dazzy   09-12-2012, 22:12
#29

Is it possible that the second error that is fixed now had anything to do with this issue? Is it worth reinstalling with latest nightly build?

Do you mean the log files in zp-data? If so yes i have those. The file permissions are set to 600. I set those manually. I don't have any more errors as above but still sitemap not working with security_Logger switched on.

The only errors i have at the moment are as below

[Sun Dec 09 20:51:29 2012] [error] [client 79.170.40.31] File does not exist: /home/sites/dazzy.eu/public_html/favicon.ico

[Sun Dec 09 20:51:29 2012] [error] [client 79.170.40.31] Use of uninitialized value in concatenation (.) or string at http-error.cgi line 73.

Member
Member
sbillard   09-12-2012, 23:27
#30

I have played around with your site a bit. I am sorry to say that at present it will not generate a multi-lingual sitemap no matter if the security logger is enabled or not.

Please try modifying the zp-core/global-definitions.php file changing the next to last define (DEBUG_PLUGINS) from false to true. This will record the loading sequence of plugins to the debug log. Maybe that will tell us something.

Member
Member
dazzy   10-12-2012, 01:39
#31

Hi

If you mean the install at http://dazzy.eu/zenphoto-2012-12-07/

I managed to get the sitemap working with securitylogger off using seo_locale and subdomains switched off as you can see here on sitemap:

http://dazzy.eu/zenphoto-2012-12-07/cache_html/sitemap/sitemap-zenphoto-albums-1.xml

I changed the last debug_plugins to true

Hopefully you can find the problem there

Member
Member
sbillard   10-12-2012, 04:39
#32

I did find the problem. Not sure why, but plugins are loading in a different order on your site than mine. But the fix is easy, I have adjusted the priorities of the plugins involved so that the dynamic_locale will load before the sitemap.

Still do not understand why securitly logger on/off would make a difference, though.

Fix will be in tonight's nightly build.

Member
Member
dazzy   10-12-2012, 21:03
#33

Great, I look forward to trying it.

Member
Member
dazzy   11-12-2012, 13:34
#34

Just tryed the latest nightly build and the sitemap now works perfectly with security logger.
Really happy to see it working at last :-)

I appreciate your help with this.

Pages (2):    1 2
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.