I'm wondering what, in the server configuration has changed in recent months (Dathorn's cpanel55 server) which has impacted a long-ago-installed flatfile PHP image gallery script.
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16000 bytes)
filesize() [function.filesize]: stat failed for...
The error occurs regardless of imagefile size, upon attempting to upload an image via the script... suggesting to me it's really a PERMISSIONS problem.
-=-
Actually, an imagefile is successfully uploaded, but the script doesn't seem to have permission to check its filesize and/or to move rename the newly uploaded imagefile.
I haven't recently changed folder permissions.
I haven't checked PHP safe_mode -- perhaps some change (now enforced server wide) is denying scripts access to the filesize() function?
Must I now (since PHP version 5whatever has been installed and is more strict?) use some local php.ini setting, or some ini_set() command within the script, to preserve the earlier functionality of the script?
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16000 bytes)
filesize() [function.filesize]: stat failed for...
The error occurs regardless of imagefile size, upon attempting to upload an image via the script... suggesting to me it's really a PERMISSIONS problem.
-=-
Actually, an imagefile is successfully uploaded, but the script doesn't seem to have permission to check its filesize and/or to move rename the newly uploaded imagefile.
I haven't recently changed folder permissions.
I haven't checked PHP safe_mode -- perhaps some change (now enforced server wide) is denying scripts access to the filesize() function?
Must I now (since PHP version 5whatever has been installed and is more strict?) use some local php.ini setting, or some ini_set() command within the script, to preserve the earlier functionality of the script?
Comment