ZenphotoCMS Forum
class-dbbase.php - 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: class-dbbase.php (/thread-14100.html)



class-dbbase.php - RichardB - 09-04-2026

I would be grateful if you could tell me for what and in which processes the above function is used.
It is, on occasion, causing problems by putting the CPU on the webserver under heavy load (I am informed) by going through all the databases on the server.
Many thanks,
Richard




class-dbbase.php - acrylian - 09-04-2026

That is not a "function", it is the base database handler class which the actual selected db handler PDO or mysqli are child classes from. It is therefore used everywhere.




class-dbbase.php - acrylian - 09-04-2026

There is a change in 1.7a that removes one unnecessary query that had already been reported. I don't recommend to use 1.7a naturally and I cannot tell if you can use it directly, but you can try:
https://github.com/zenphoto/zenphoto/commit/feba6501e42a0080cd467deebf3db2f61ce9f6b5




class-dbbase.php - RichardB - 09-04-2026

Thank you - I will try it.