Pages (5):    1 2 3 4 5   
Member
Member
sbillard   05-07-2012, 18:01
#21

Yes the fix should not matter what the thumbnail is.

Did you install from the trunk nightly build? The dev build would not necessarily have the fix. Right now we are pretty lax in trying to keep the dev build up to date as all attention is on the trunk/release 1.4.3 builds.

So maybe install again from last night's trunk build to be sure the fix is present. If it still does not work report again what i.php script calls are present.

Also, maybe clear the image cache. Be sure that you reload the page at least once before checking.

Member
Member
qb84   05-07-2012, 18:33
#22

I always clear the browser and static html cache before I test.

Right now I just installed trunk build: 10413.

Sample of CR2 Thumbnail code.

[img]/gallery/zp-core/i.php?a=JohnSmith/cr2&i=_%7Bplugins%7D_%7Bclass-AnyFile%7D_cr2Default.png&w=420&h=200&c=1&cw=420&ch=200&q=75&t=1&wmk=![/img]

Member
Member
qb84   05-07-2012, 18:48
#23

ok.. I think I found the issue. I'm using the ZPSkeleton Theme. I tried the default theme and the image is cached. So my guess is that the [b]printCustomAlbumThumbImage[/b] function is not caching anyFile thumbnails.

Member
Member
sbillard   05-07-2012, 22:55
#24

Yes, that is it. Have to figure out how to fix it, though.

Member
Member
sbillard   06-07-2012, 00:11
#25

Fix in tonight's nighly (trunk)

Member
Member
qb84   09-07-2012, 13:57
#26

awesome! Now it works! Thanks for all the help

Member
Member
mironb   03-01-2016, 16:19
#27

Hi
I just installed the 1.4.11 version of zenphoto and zpbase theme on my old zenphoto. Everything is working except staticHTML cache I have over 3000 images in my gallery so I need it. This plugin is enabled and I have no idea what can I do more. Directory of chache_html/albums is empty

Member
Member
mironb   03-01-2016, 16:28
#28

Ok I noticed that same albums are cached and same not Can I controll that ?

Administrator
Administrator
acrylian   03-01-2016, 16:30
#29

Note that if you are loggedin no cache files are generated or served. This is only for normal visitors. It might take some time until all cached pages are generated as this happens on the fly when a page is visited only.

Also this is not a cache for images (the image cache is always on), it is for the pages to limit server side processing. See the entry on the user guide about caching.

Otherwise youn need to look at your Zenphoto and server logs.

Member
Member
mironb   03-01-2016, 16:55
#30

Is that something important: ` {14020:Sun, 03 Jan 2016 07:59:05 GMT} Zenphoto v1.4.11[26c78176cfb8d752e9e7bda4e65d69fc84b714a3]

NOTICE: Undefined offset: 1 in /home/klient.dhosting.pl/mironb/fotostacja.pl/public_html/galeria/zp-core/zp-extensions/static_html_cache.php on line 131

static_html_cache->checkIfAllowedPage called from static_html_cache->startHTMLCache (static_html_cache.php [146])

from include (index.php [71])

from index.php [28]

{14057:Sun, 03 Jan 2016 08:08:38 GMT}

NOTICE: Undefined offset: 1 in /home/klient.dhosting.pl/mironb/fotostacja.pl/public_html/galeria/zp-core/zp-extensions/static_html_cache.php on line 131

static_html_cache->checkIfAllowedPage called from static_html_cache->startHTMLCache (static_html_cache.php [146])

from include (index.php [71])

from index.php [28]

{14057:Sun, 03 Jan 2016 08:49:11 GMT}

NOTICE: Undefined offset: 1 in /home/klient.dhosting.pl/mironb/fotostacja.pl/public_html/galeria/zp-core/zp-extensions/static_html_cache.php on line 131

static_html_cache->checkIfAllowedPage called from static_html_cache->startHTMLCache (static_html_cache.php [146])

from include (index.php [71])

from index.php [28]

{14020:Sun, 03 Jan 2016 09:10:44 GMT}

NOTICE: Undefined offset: 1 in /home/klient.dhosting.pl/mironb/fotostacja.pl/public_html/galeria/zp-core/zp-extensions/static_html_cache.php on line 131

static_html_cache->checkIfAllowedPage called from static_html_cache->startHTMLCache (static_html_cache.php [146])

from include (index.php [71])

from index.php [28]

{14057:Sun, 03 Jan 2016 09:10:50 GMT}

NOTICE: Undefined offset: 1 in /home/klient.dhosting.pl/mironb/fotostacja.pl/public_html/galeria/zp-core/zp-extensions/static_html_cache.php on line 131

static_html_cache->checkIfAllowedPage called from static_html_cache->startHTMLCache (static_html_cache.php [146])

from include (index.php [71])

from index.php [28]

{14020:Sun, 03 Jan 2016 09:10:53 GMT}

NOTICE: Undefined offset: 1 in /home/klient.dhosting.pl/mironb/fotostacja.pl/public_html/galeria/zp-core/zp-extensions/static_html_cache.php on line 131

static_html_cache->checkIfAllowedPage called from static_html_cache->startHTMLCache (static_html_cache.php [146])

from include (index.php [71])

from index.php [28] `

Administrator
Administrator
acrylian   03-01-2016, 18:07
#31

Do you have any pages to be excluded? There should be the defaults search.php/,contact.php/,register.php/,favorites.php/. Or is that option empty maybe?

Member
Member
mironb   03-01-2016, 18:57
#32

search.php/,credit.php,contact.php/,news.php,
And time: 86400

Member
Member
mironb   03-01-2016, 18:58
#33

I checked on totally different hosting and I have the same problem I made totally new installation

Administrator
Administrator
acrylian   03-01-2016, 19:05
#34

search.php/,credit.php,contact.php/,news.php, there are missing trailing slashes behind credit.php and news.phpwhich would explain the notices you posted.

Also you only get html cached pages if all images are already cached. On album pages especially if you have random album thumbs enabled that might take a while. Remember image caching also happens on the fly unless you have setup the them for pre-caching and did so.

Member
Member
mironb   03-01-2016, 19:18
#35

so it should be: search.php/,credit.php/,contact.php/,news.php/,

Member
Member
mironb   03-01-2016, 19:21
#36

no changes with such set

Member
Member
mironb   03-01-2016, 19:37
#37

Ok I disabled all plug-ins except static_html_cache and it started to work.... Now I have to find whichplugin is resposible for stooping the static_html_cache....

Administrator
Administrator
acrylian   03-01-2016, 19:46
#38

Quote:Now I have to find whichplugin is resposible for stooping the static_html_cache....
That would be interesting. Uncached images are the only thing that should do that besides the excluded pages option.

Member
Member
mironb   03-01-2016, 20:15
#39

Ok that's not so easy. If I want to start static_HTML_cache I have to disable all plugins and change zpbase theme settings to default Maybe that's a problem with small memory of server ??

Member
Member
mironb   03-01-2016, 20:36
#40

Or the this script is to heavy for hosting

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