PDA

View Full Version : Upload Large Attachment - Fatal Error



koro
Sat 28th Jun '08, 12:03am
I am trying to upload a 30 MB attachment to a forum post, but after about 5 minutes I receive this error:


Fatal error: Out of memory (allocated 38273024) (tried to allocate 31862768 bytes) in /home/koro/public_html/forums/includes/class_dm.php on line 418I have the following settings in my php.ini:

upload_max_filesize = 65M
post_max_size = 65M
max_execution_time = 240
max_input_time = 300
memory_limit = 128MHowever, in the AdminCP of vBulletin, I see the following values:

PHP Max Post Size 64.00 MB
PHP Maximum Upload Size 64.00 MB
PHP Memory Limit 64.00 MB
MySQL Packet Size 16.00 MBI have no idea what is causing vBulletin to display different PHP settings. I ensured that the php.ini was both within the root directory and inside the forums directory. To my understanding, the php.ini settings above should be far enough for uploading a 30 MB attachment.

Thanks!

Glathannus
Sat 28th Jun '08, 12:08am
If your attachments are stored in the database, it won't matter what your php settings are.

copiertalk
Sat 28th Jun '08, 12:20am
have a look at this post http://www.vbulletin.com/forum/showpost.php?p=1587157&postcount=2

What type of file was it?