ZenphotoCMS Forum
News Archive problems for users - 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: News Archive problems for users (/thread-14070.html)



News Archive problems for users - MaxIvanov - 10-10-2025

Good day.
Site https://ivanof.net/photos/
Go to Archive - > News - > select data. If I go with admin rights - all OK, I can see news from selected data, but if go with user rigths - view ALL news list https://ivanof.net/photos/news/archive/2021-09/




News Archive problems for users - MaxIvanov - 10-10-2025

At PHOTO archive all OK - with users rights I can see photo at selected date.




News Archive problems for users - acrylian - 10-10-2025

Sorry, I cannot reproduce that. It works as intended on our demo for example. Please review the logs for any errors.




News Archive problems for users - MaxIvanov - 10-10-2025

Debug-1:

{3239:Sun, 09 Oct 2022 09:13:19 GMT}

EXCEPTION (0): Call to a member function getDateTime() on null в /home/t/timothy/ivanof.net/public_html/photos/zp-core/zp-extensions/flag_thumbnail.php строка 141

{24168:Sun, 09 Oct 2022 10:49:56 GMT}

EXCEPTION (0): Call to a member function getDateTime() on null в /home/t/timothy/ivanof.net/public_html/photos/zp-core/zp-extensions/flag_thumbnail.php строка 141

{28700:Sun, 09 Oct 2022 15:11:43 GMT}




News Archive problems for users - acrylian - 10-10-2025

I fear that will not help as that plugin is not involved in the news articles at all.

Besides, the actual line of that exception btw would probably be line 198. No idea why that could happen.




News Archive problems for users - acrylian - 10-10-2025

Could you switch the site to the native English? Just in case for some unknown reason the the language setting causes any trouble.




News Archive problems for users - MaxIvanov - 10-10-2025

I switch to English...
Tap "May 2020", at link https://ivanof.net/photos/news/archive/2020-05/, but I see news from "30 September 2021 17:26"...
At admin rights all OK




News Archive problems for users - acrylian - 10-10-2025

Weird, it's now always the same article no matter what year/month I select. Without being able to reproduce it is hard to help… You can try here https://demo.zenphoto.org/ to see that it actually works… So something must be different on your server.

What is your server setup? Did the ZP setup process warn about anything?




News Archive problems for users - MaxIvanov - 10-10-2025

No warm at setup




News Archive problems for users - acrylian - 10-10-2025

One thing it could be is the static_html_cache plugin. Try to disable it and see if it works then. It might be that you just get the initial news archive page from cache so it is always the same. We have to look if that is a bug on our end or if an plugin option is not set correctly.

Also please be aware that the tidy assets plugin is not official and know to cause issues. Not related to this but other issues. It is normally not really necessary to be used.




News Archive problems for users - MaxIvanov - 10-10-2025

It's really helped!
I uncheck static_html_cache plugin and ALL WORK!
Thank you very well!




News Archive problems for users - acrylian - 10-10-2025

Great! Unless you are expierencing lots of traffic and speed issue you might not need the cache.

However it might be an issue with the cache as the news archive is served via the news.php page. It is probably cached wrong.