PDA

View Full Version : How to upload Big Attachment files ?


pharmacist
12-15-2009, 05:24 PM
Hey,
I want to share big ZIP files (size from 5 MB to 25 MB) for special users in my forum
I don't want to share these files throw file sharing sites or direct Link because I want some special users only can download these files

I have increased Zip files sizes to 100MG from Attachment Control Panel, and Increase Admin files size to 1GB size

when I tried to upload files throw ( upload from Link) it give me this error

arning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/:/usr/lib/php:/usr/local/lib/php:/tmp/) in [path]/includes/class_upload.php on line 276

Warning: fopen() [function.fopen]: Filename cannot be empty in [path]/includes/class_upload.php on line 282

when I tried to upload 5MB file, Message( Failed to upload)
when I tried to upload 16MB file Message(Your submission could not be processed because a security token was missing.)

I have VPS hosting 512 Ram ,500GB bandwidth and Cpanel

Please help,
Thanks

Lynne
12-15-2009, 06:07 PM
That is a problem with your server settings. If you don't have access to change the php/mysql settings, they you will have to ask your host to do so.

pharmacist
12-15-2009, 06:42 PM
yes I have access to edit php.mysql
But I'm newbie in VPS hosting , so could you please inform me how to do that step by step
I have hosting with VPSLINK.com and they have no supporting for these issues

Thanks

Lynne
12-15-2009, 07:19 PM
No, I can't inform you step-by-step. I don't advice people on how to tinker with servers. Servers dislike me. :(

I can tell you what variables effect your uploads. I got this list from Steve:
PHP Settings:
max_execution_time
memory_limit
post_max_size
upload_max_filesize
max_input_time

MySQL Settings:
max_allowed_packet
max_packet_size
wait_timeout

pharmacist
12-15-2009, 07:59 PM
Thanks Lynne , I found PHP settings but MYSQL settings I don't know where, File 5MB have been successfully uploaded , but when I tried to upload 17M file still give me an error

Your submission could not be processed because a security token was missing

when I tried to upload files throw ( upload from Link) it give me this error
arning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/:/usr/lib/php:/usr/local/lib/php:/tmp/) in [path]/includes/class_upload.php on line 276

what can I do?

--------------- Added 1260954263 at 1260954263 ---------------

any help here!!!

--------------- Added 1260969145 at 1260969145 ---------------

what can I do with this message


Your submission could not be processed because a security token was missing


any help?