hiya. i upgraded the version of PHP on my server earlier today, to attempt to fix a few problems i was having with a script i was working on.
anyway, i seem to have killed gallery in the process. the setup/config all seems fine, but when i secure it again, and try to access it, it just times out on me.
i also tried adgrading my version of Gallery (as well as doing a clean install of the latest version in a seperate place), but its just the same.
the version of PHP i upgraded to is 4.1.2. are there any known problems with this version? ive tried RTFMing and searching the forums, but i dont seem to have come up with anything helpful.
i am running e-smith V5.1 (a redhat variant) which uses apache.
TIA,
Wanye.
Posts: 6
ok. i turned display errors on...
----------
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 45 bytes) in /home/e-smith/files/primary/html/gallery/classes/Album.php on line 370
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 134 bytes) in Unknown on line 0
-----------
which is (in bold is line 370)
function loadFromFile($filename) {
$data = getFile($filename);
$tmp = unserialize($data);
if (strcasecmp(get_class($tmp), "album")) {
/* Dunno what we unserialized .. but it wasn't an album! */
return 0;
}
$this = $tmp;
return 1;
}
Posts: 7994
This is FAQ C.16 (which I just added).