ZenphotoCMS Forum
DB refresh error - 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: DB refresh error (/thread-6055.html)



DB refresh error - dendirk28 - 2009-10-29

When I try to refresh te database I get this error:

"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 bytes) in /home/org/chemika/www/zen/zp-core/functions-db.php on line 120"

I don't know anything serious about PHP, but I guess this might be because the database is just getting to big? How can I work arround?

Thanks!




DB refresh error - sbillard - 2009-10-29

What version of Zenphoto? Refreshing the database should not take that much memory. What else is running? Also, what versions of PHP, MySQL?




DB refresh error - dendirk28 - 2009-10-29

Zenphoto versie 1.2.3 [3427] (Official Build)
PHP versie: 5.2.4-2ubuntu5.7
MySQL versie: 5.0.51a

The reason I'm still running an older version of Zenphoto is to make sure the theme integration keeps on working (modified it quite a lot^^). I guess that shouldn't give the problem...

I'm also running a wiki and a forum on the same database, but that shouldn't be a problem either or does it?




DB refresh error - sbillard - 2009-10-29

Well, sorry, but we cannot be much help to you then. We can afford our efforts only on the current Zenphoto versions.




DB refresh error - dendirk28 - 2009-10-29

Just deleted 5 pictures (I was asked to) on a total of +/- 10 000 pictures, and it works again^^

Thanks anyway!




DB refresh error - dendirk28 - 2009-11-13

And after adding some pictures the problem was back... I upgraded to the latest version of Zenphoto this time but the problem wasn't solved. Error message while trying to refresh the database is:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 bytes) in /home/org/chemika/www/zen/zp-core/functions-db.php on line 122

My software versions are as follows:

Zenphoto versie 1.2.6 [4335] (Official Build)
PHP versie: 5.2.4-2ubuntu5.7
MySQL versie: 5.0.51a

What can I do about this?




DB refresh error - acrylian - 2009-11-13

Please try the nightly build.




DB refresh error - dendirk28 - 2009-11-13

Tried the nightly build, now the DB refesh page keeps on displaying this:

Refresh Database
Database refresh is incomplete
This process should continue automatically. If not press:
Continue!




DB refresh error - acrylian - 2009-11-13

And what happens if you press "continue"?




DB refresh error - dendirk28 - 2009-11-13

The page seems to be reloaded then and the same message appears again...

Maybe a stupid question, but is there any practical restriction on the number of pictures in the gallery or the size of the DB?




DB refresh error - acrylian - 2009-11-13

http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#23




DB refresh error - dendirk28 - 2009-11-13

Okay, did some sort of clean installation of all the files, now it does work using the latest nightly build! Thanks a lot!!