Member
Member
MaxIvanov   10-10-2025, 02:45
#1

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/

Member
Member
MaxIvanov   10-10-2025, 02:47
#2

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

Administrator
Administrator
acrylian   10-10-2025, 10:07
#3

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

Member
Member
MaxIvanov   10-10-2025, 12:46
#4

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}

Administrator
Administrator
acrylian   10-10-2025, 12:57
#5

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.

Administrator
Administrator
acrylian   10-10-2025, 13:14
#6

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

Member
Member
MaxIvanov   10-10-2025, 13:33
#7

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

Administrator
Administrator
acrylian   10-10-2025, 13:37
#8

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?

Member
Member
MaxIvanov   10-10-2025, 13:49
#9

No warm at setup

Administrator
Administrator
acrylian   10-10-2025, 14:02
#10

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.

Member
Member
MaxIvanov   10-10-2025, 14:09
#11

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

Administrator
Administrator
acrylian   10-10-2025, 14:37
#12

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.