![]() |
|
Some page without content, but not all - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: Some page without content, but not all (/thread-14045.html) |
Some page without content, but not all - cactux - 13-04-2025 Hello, I have a strange issue with a theme.
It works fine with Mozilla firefox. I checked the generated HTML: it is different. At the beginning there's 2 lines of scripts not present for chrome-based browsers. And later the content itself is not there. header and footer are ok: I just get an empty page. I tested other themes: same issue with zenpage or zpmobile for example. I am at a loss, where should I investigate next? Thanks for your help Some page without content, but not all - acrylian - 13-04-2025 Review you logs please. And be sure to use our fork of the zpBootstrap theme: https://github.com/zenphoto/zpBootstrap Click on the green "code" button on the top right and then "download zip". Some page without content, but not all - cactux - 14-04-2025 Thanks acrylian. I checked the logs: the debug one had warnings about deprecated, but testing with the latest zpBootstrap theme got rid of them. However, even with the latest zpBootstrap theme, not modified, I get the same issue. The generated HTML does not have the same content. What can I test more? I am absolutely at a loss here. Is there some code in zenphoto of the theme that serves different code for different browsers? If so, how can I change that? Thanks Some page without content, but not all - cactux - 14-04-2025 Hello again, I compared the source from the browsers, and the first lines are different. With Firefox, I get these 2 additionnal lines at the top: These 2 lines are not there for chrome. There are more differences later in the page: less lines for the menu, and the content in the div "pagination pagination-sm" is just not there. Why is chrome / chromium killing the received code in such a way? Some page without content, but not all - acrylian - 14-04-2025 For me the album is also empty using Firefox and if I visit the parent album https://www.cactuspro.com/conophytum-lithops/encyclopedie/ it appears to be empty, too. I assume you have not published its content. If you are logged in as admin with one browser you see them but not being logged out. That is default behaviour of Zenphoto which can be disabled using the included plugin "show_not_logged-in". Some page without content, but not all - cactux - 14-04-2025 acrylian: THANKS A LOT! This did the trick. I feel a bit stupid now. Again, thanks a lot, and may your day be full of good surprises :-) (I don't see a way to add [solved] to the title?) |