Member
Member
dendirk28   2009-10-29, 16:28
#1

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!

Member
Member
sbillard   2009-10-29, 17:34
#2

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

Member
Member
dendirk28   2009-10-29, 21:10
#3

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?

Member
Member
sbillard   2009-10-29, 21:45
#4

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

Member
Member
dendirk28   2009-10-29, 22:00
#5

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

Thanks anyway!

Member
Member
dendirk28   2009-11-13, 13:35
#6

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?

Administrator
Administrator
acrylian   2009-11-13, 13:48
#7

Please try the nightly build.

Member
Member
dendirk28   2009-11-13, 14:24
#8

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!

Administrator
Administrator
acrylian   2009-11-13, 14:55
#9

And what happens if you press "continue"?

Member
Member
dendirk28   2009-11-13, 15:05
#10

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?

Administrator
Member
Member
dendirk28   2009-11-13, 16:21
#12

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

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