![]() |
|
Update 1.6.3 - Albums not listed anymore - 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: Update 1.6.3 - Albums not listed anymore (/thread-13946.html) Pages:
1
2
|
Update 1.6.3 - Albums not listed anymore - tw2003 - 14-06-2024 After the update Albums are not listed anymore in Admin area. They are still there and the website shows them. I could also upload images to an album Update 1.6.3 - Albums not listed anymore - tw2003 - 14-06-2024 I have to correct this. When I switch to "Show thumbnail stand-in" albums are listed. So in the thumbnails view the albums are not listed. At least I can access everything but it does not look that nice anymore. Update 1.6.3 - Albums not listed anymore - tw2003 - 14-06-2024 Now switching to images in the albums tab I don't see any images listed. So I got stuck here. Is that a database thing or more something with the php-files? Update 1.6.3 - Albums not listed anymore - acrylian - 14-06-2024 Please review your logs. Update 1.6.3 - Albums not listed anymore - tw2003 - 15-06-2024 Get these several times but nothing else: USER DEPRECATED NOTICE: Parameter usage of zpFormattedDate (called from html_meta_tags.php line 284) is deprecated. Using strftime() based date formats strings is deprecated. Use standard date() compatible formatting or a timestamp instead. in /home/www/doc/8823/paledog.de/www/zp-core/functions/functions-basic.php on line 2225 trigger_error called from deprecationNotice (functions-basic.php [2225]) from zpFormattedDate (functions.php [304]) from htmlmetatags::getHTMLMetaData (html_meta_tags.php [284]) from zp_apply_filter (functions-filter.php [149]) from include (_head.php [116]) from include (image.php [9]) from include (index.php [128]) from index.php [79] {141085:Fri, 14 Jun 2024 22:52:34 GMT} DEPRECATED: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/www/doc/8823/paledog.de/www/zp-core/functions/functions-basic.php on line 342 trim called from require_once (functions-basic.php [342]) from require_once (functions.php [12]) from include (index.php [14]) from index.php [79] Update 1.6.3 - Albums not listed anymore - acrylian - 15-06-2024 Those should not be showstoppers (the first is probably because your theme still uses the old format before 1.6.x). So I am guessing it might be file/folder permissions. If those are wrong ZP cannot access/create the cached images. Why this occurs, no idea. Could be an update on the server by the host. Sometimes they mess things up… Did you do an update recently? Setup tries to set all right but on some servers it may fail. Update 1.6.3 - Albums not listed anymore - tw2003 - 15-06-2024 Yes I updated 2 weeks ago (and didn't check thorough). I'm starting now to rerun all setup steps from version 1.6 to 1.6.3 with all versions inbetween. Just fished 1.6.1. and everything looks ok. So I keep you posted if and where it fails. Update 1.6.3 - Albums not listed anymore - tw2003 - 15-06-2024 It fails when I update from 1.6.2 to 1.6.3. This warning is odd: Warn: Upgrade from Zenphoto v1.6.2 [89 releases skipped] We do not test upgrades that skip releases. We recommend you upgrade in sequence. Update 1.6.3 - Albums not listed anymore - acrylian - 15-06-2024 Weird, there have been no changes I remember in setup from 1.6.2 to 1.6.3. There was an issue with an internal version catalogue but that was fixed in 1.6.2. I didn't get it on my updates (our site for example). But in any case it is a warning and not really a show stopper. Since we actually plan to release 1.6.4 today which has no changes in that area, please try the support build. Update 1.6.3 - Albums not listed anymore - tw2003 - 15-06-2024 Tried the support build but result stays the same. Everything seems to be ok except the "Albums" tab and the Images tab inside of it. Update 1.6.3 - Albums not listed anymore - acrylian - 15-06-2024 I now know why the version warnng occurs. We had forgotten to update our internal version catalogue which needs to be done manually because an older calculation parts was not reliable, too. A good reminder because we again nearly forgot that for 1.6.4, too. Update 1.6.3 - Albums not listed anymore - tw2003 - 15-06-2024 On my test environment everything worked with 1.6.3. as well. Update 1.6.3 - Albums not listed anymore - tw2003 - 15-06-2024 I tried something. I took the admin-functions.php from version 1.6.2 and put it on the live server and then I the thumbs. There has been a change to version 1.6.3 starting line 4753 that has to do with admin thumb generation. Maybe take a look into this one. And the lines 4814 ff. Update 1.6.3 - Albums not listed anymore - acrylian - 15-06-2024 Please try some debug code: Modify this admin-functions.php function this way:
I have a suspicion but you need to help with that Update 1.6.3 - Albums not listed anymore - tw2003 - 15-06-2024 It does not log anything. I added it in line 4816. Update 1.6.3 - Albums not listed anymore - tw2003 - 15-06-2024 Sorry it does. Update 1.6.3 - Albums not listed anymore - acrylian - 15-06-2024 That would explain the your problem If I could reproduce it… I don't get that error and I just tried locally with even the image cache cleared so they are really regenerated. All thumbs on the album tab or the images tabs work for me as always… Update 1.6.3 - Albums not listed anymore - acrylian - 15-06-2024 getSizeCustomImage() is a template function and not even a new one. It could theoretically be that the functions would not be loaded on that page. But then I would have to get that error, too… Update 1.6.3 - Albums not listed anymore - acrylian - 15-06-2024 Well, another try: Open admin-edit.php and on top you see the line Please add Update 1.6.3 - Albums not listed anymore - tw2003 - 15-06-2024 Yes that fixes it. |