Service Unavailable - Zero size object

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
guarriman
Forum Commoner
Posts: 44
Joined: Thu Nov 03, 2005 4:11 am

Service Unavailable - Zero size object

Post by guarriman »

Hi.

Using PHP 4.3.10 + Apache 2.0.52 on Linux, I get this error message when accesing my PHP page:
---------------
Service Unavailable - Zero size object
The server is temporarily unable to service your request. Please try again later.
Reference #15.21eaaad4.1173400585.294a7ed8
---------------

My PHP scripts allow users to upload videos and images (and creates two resized versions of them).

I modified 'php.ini' in order to increase 'memory_limit', but it didn't solve it:
memory_limit = 48M

We control size limit (100 Mb) with 'php.ini':

Code: Select all

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
                                                                                
; Whether to allow HTTP file uploads.
file_uploads = On
                                                                                
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = /tmp
                                                                                
; Maximum allowed size for uploaded files.
upload_max_filesize = 100M

Does anybody have any experience with this issue?

Thank you very much.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

What makes you think it's related to the memory limit?
guarriman
Forum Commoner
Posts: 44
Joined: Thu Nov 03, 2005 4:11 am

Post by guarriman »

onion2k wrote:What makes you think it's related to the memory limit?
It was only a trial to fix it. I allow users to upload big files and perhaps PHP can't manage it.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

That doesn't look like any error I've seen PHP generate.
Post Reply