ZenphotoCMS Forum
slowy site with zp mobile - 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: slowy site with zp mobile (/thread-12746.html)



slowy site with zp mobile - daranks - 2015-06-08

hello, I have a problem with my site ( latest zenphoto ) and zpmobile theme, it is very slow between 10 seconds and 1 minute (sometimes it just turns in circles ) to display an album or picture.
Can you help me?
The website address is wallstock.fr

sorry for the English translation , this is a google translation




slowy site with zp mobile - acrylian - 2015-06-08

If you images have not been cached it might take a while to generate the sized images. Especially if you use very big images. The only fix for that is too use the cache_manager to pre-cache theme. Even that may take a while which is dependend on your server's speed.

Also try the static_html_cache plugin that might speed up things.




slowy site with zp mobile - daranks - 2015-06-08

plugins were already activated for a long time but nothing changes , it's still too long even for pages already in cache.

if I use a theme like Zenpage , my site is working normally and without delays




slowy site with zp mobile - daranks - 2015-06-08

I not sure if this is the cause but firefox plugin webdevelopper displays an error

Timestamp : 08/06/2015 10:00:40
Error: TypeError : document.getElementById (...) is null
File Source: chrome: //web-developer/content/overlay/javascript/overlay.js
Online: 7333




slowy site with zp mobile - acrylian - 2015-06-08

The issue you posted does not really tell anything as that is an internal chrome message.

zpMobile is more or less pure jquerymobile. However, I see you switched to another theme and the site appears very slow to me.

Maybe your server is a bit slow or just encountering some traffic peaks right now? I don't see the static_html_cache being enabled actually.




slowy site with zp mobile - daranks - 2015-06-08

I tested several solutions by removing or putting plugins/themes and I finally found that I was an idiot , my Java version was outdated.
Now it is much faster

thanks acrylian




slowy site with zp mobile - acrylian - 2015-06-08

Not sure how an outdated Java version on your server would affect a PHP application like Zenphoto?




slowy site with zp mobile - daranks - 2015-06-08

you're right , I have another problem but I do not know which
I put the theme libratus static_html_cache but does not work when it is activated

I put zpmobile , cache works but jquery works is very slow
even stranger, if I click on a thumbnail , jquery does not work (or very slowly), if I right click to open in a new tab, it works




slowy site with zp mobile - acrylian - 2015-06-08

The static_html_cache is theme indepedent but in case your are logged in you don't get cached content.

Regading zpMobile: Does the demo on our site work for you? It seems you have quite big images 1920x1200px. Might be that is is too much for your server. Take a look here: http://www.zenphoto.org/news/problems-with-albums-and-images

I ssee one JS error related to the rating plugin. That always has not really been compatible with zpMobile. Try to disable that.




slowy site with zp mobile - daranks - 2015-06-08

if I use the zpmobile theme static_cache running smoothly but jquery is very slow : several minutes to open an image with a left click (right-click opens it in about ten seconds)

if I use the theme libratus left click opens the picture correctly but the static_cache plugin does not work at all

I disabled rating, nothing has changed




slowy site with zp mobile - daranks - 2015-06-08

I solved the speed problem for zpmobile theme by downloading an archive of zpmobile and it works perfectly .

may be a corrupted file but I do not know which




slowy site with zp mobile - acrylian - 2015-06-09

Good you could solve it!




slowy site with zp mobile - daranks - 2015-06-09

the problem is not with the theme because after delivering advertisements and the text in the theme , the site is again slow.

These are the only adaptable adsense ads that do not work very well with jquerymobile what caused slowdowns

I install this time zpbootstrap and for the moment, everything works without slowing except those adaptable advertisements that are not displayed on the computer screen within refresh page