Web Hosting Talk







View Full Version : php error , what is this ?


Ivan23
09-11-2002, 10:37 PM
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 40 bytes) in /home/virtual/site1/fst/var/www/html/gallery/classes/Album.php on line 370

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 177 bytes) in Unknown on line 0



i get this once a blue moon then it works again ...
location
http://www.torquespeed.net/php/input/frames/photos.htm

prosayist
09-11-2002, 11:09 PM
what is on line 370 in Album.php? Yer problem's prob'ly there but without knowing it (possibly even if I did) I don't know what to say other than 'increase the memory limit in php.ini'; but that's really just a workaround rather than a "fix" so you should still look into this.
let us know how it works

Ivan23
09-11-2002, 11:14 PM
ok , i'll work on this tonight and keep you posted

prosayist
09-13-2002, 03:56 AM
I think if you just increase the memory_limit in php.ini
(it's currently set to default 8M)