![]() |
|
Error 500 - 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: Error 500 (/thread-13261.html) |
Error 500 - Nordlicht - 2019-01-25 I have 2 installations in the same url and different paths. One for testing (with own database table) and one for "usage" (with own database table). Some minute ago I was purging the caches (image/rss/html/search) of both installations. error.log just says: 500 debug.log shows: Then I overwrote functions-db-MySQLi.php by copy and pasting it from the test install. But no change. But the "usage" installation can be accessed with my working browser where I am working as ZenPhoto-Admin and the page works all normal. Any idea because this is really strange to me. Error 500 - acrylian - 2019-01-25 What page exactly did this happen? And does it happen frequently? Sometimes there are glitches that happen one time and strangely not again… Error 500 - Nordlicht - 2019-01-25 It is the first time that I see such behaviour. It happens with all "usage" = live pages. What/how I did it: I took my "admin browser" - where the front- and backend still work normal - and walked throught all the albums to generate the thumbnails and open all existing pictures. Error 500 - acrylian - 2019-01-25 Did you try to clear the browser cache? Sometimes this is a bit too persistent and causes all sorts of fun by requesting an old page version. Always try a standard theme, too. Error 500 - Nordlicht - 2019-01-25 Ctrl+U shows this: meta charset="UTF-8"> I now installed and activated the theme "Zenpage". Another browser still displays a blank page. Error 500 - Nordlicht - 2019-01-25 Sorry, I was looking in the wrong error.log When accessing the page with another browser it will cause this error.log entry: PHP Fatal error: MySQLi Error: ( SELECT DISTINCT In the access.log I can find following entries: Error 500 - acrylian - 2019-01-25 Do you have the html static cache enabled? Perhaps it did cache the broken page and therefore serves the blank page? Loggedin admins don't get the html cache. The only thing in that query that looks weird is Error 500 - Nordlicht - 2019-01-25 I deactivated tagsuggest. I tried all other browsers - and it is rocking again! miley: Thanks for your assistance!! Error 500 - Nordlicht - 2019-01-25 "Do you have the html static cache enabled?" Is this a plugin? Error 500 - acrylian - 2019-01-26 Good, it worked again. The actual query error is related to a helper function named And yes, html_static_cache is an offiicial plugin included for years already ;-) It just caches pages so it "might" that it accidentally caches a wrong result (not knowing what it caches). However that does relate to fatal errors since it just cachces the html result. Error 500 - Nordlicht - 2019-01-26 And once again -> Thanks for your support! So this means that, if I would have logged in as admin in one of the other browsers, I would have seen the frontend as well. (BE was reachable during all this time with any other of the browsers.) Error 500 - acrylian - 2019-01-26 Can't say what went wrong exactly, but standard is full admin always sees everything on the frontend that normal users or loggedin users with lower rights will not see (see the user guide). So he can preview. |