4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: nguago on November 22, 2008, 02:26:14 PM

Title: how to upload file mp3, zip, flv...
Post by: nguago on November 22, 2008, 02:26:14 PM
I can't upload file mp3, zip...

Upload file mp3:
Code: [Select]
Select an Image File!
Upload file .zip
Code: [Select]
Error uploading image file:
ajax_details_imageshow_mjijackson_install.zip: Invalid file type (zip, application/x-zip)

Help me !
Title: Re: how to upload file mp3, zip, flv...
Post by: mawenzi on November 22, 2008, 02:34:45 PM
... FAQ ->  How can I add more allowed file extensions? ...
... http://www.4homepages.de/forum/index.php?topic=7277.0 ...
Title: Re: how to upload file mp3, zip, flv...
Post by: nguago on November 22, 2008, 05:29:38 PM
Thanks !
zip => ok
but file mp3. I upload, error:

Code: [Select]
Select an Image File!

Title: Re: how to upload file mp3, zip, flv...
Post by: V@no on November 22, 2008, 08:46:24 PM
probably its due to files are too big and your server doesn't allow it.
The following settings can affect the file uploading (you can check them in phpinfo() in ACP):

max_input_time - timeout (in seconds) before PHP stops accepting your file.

post_max_size - submitted form cannot exceed this size, it includes submitted any text and files all together.

upload_max_filesize - uploaded file cannot exceed this size.
Title: Re: how to upload file mp3, zip, flv...
Post by: nguago on November 22, 2008, 09:53:42 PM
U try upload please, if upload success, u send code to me. I will test !
Title: Re: how to upload file mp3, zip, flv...
Post by: nguago on November 23, 2008, 02:31:55 PM
help ! :cry:
Title: Re: how to upload file mp3, zip, flv...
Post by: V@no on November 23, 2008, 07:18:06 PM
U try upload please, if upload success, u send code to me. I will test !
I have no idea what did you mean by this.
It's your server's problem, not 4images.

I'll repeat: look into phpinfo() in the ACP (Admin Control Panel) and check the three settings I mentioned above.
Title: Re: how to upload file mp3, zip, flv...
Post by: nguago on November 23, 2008, 08:29:37 PM
I test on localhost, arther file is success
MP3 is no !
Title: Re: how to upload file mp3, zip, flv...
Post by: V@no on November 23, 2008, 08:39:00 PM
ok. Now, look in phpinfo() and tell us the numbers for each setting I've said in my first reply.
Title: Re: how to upload file mp3, zip, flv...
Post by: nguago on November 23, 2008, 08:49:10 PM
PHP Version 5.2.3

System    Windows NT NGUAGO 5.1 build 2600
Build Date    May 31 2007 09:36:39
Configure Command    cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
Server API    Apache 2.0 Handler
Virtual Directory Support    enabled
Configuration File (php.ini) Path    C:\WINDOWS
Loaded Configuration File    C:\WINDOWS\php.ini
PHP API    20041225
PHP Extension    20060613
Zend Extension    220060519
Debug Build    no
Thread Safety    enabled
Zend Memory Manager    enabled
IPv6 Support    enabled
Registered PHP Streams    php, file, data, http, ftp, compress.zlib
Registered Stream Socket Transports    tcp, udp
Registered Stream Filters    convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*
Title: Re: how to upload file mp3, zip, flv...
Post by: V@no on November 23, 2008, 10:06:56 PM
probably its due to files are too big and your server doesn't allow it.
The following settings can affect the file uploading (you can check them in phpinfo() in ACP):

max_input_time - timeout (in seconds) before PHP stops accepting your file.

post_max_size - submitted form cannot exceed this size, it includes submitted any text and files all together.

upload_max_filesize - uploaded file cannot exceed this size.

Title: Re: how to upload file mp3, zip, flv...
Post by: first100 on November 30, 2008, 01:17:08 AM
probably its due to files are too big and your server doesn't allow it.
The following settings can affect the file uploading (you can check them in phpinfo() in ACP):

max_input_time - timeout (in seconds) before PHP stops accepting your file.

post_max_size - submitted form cannot exceed this size, it includes submitted any text and files all together.

upload_max_filesize - uploaded file cannot exceed this size.


i've found this value :
max_input_time : 600
post_max_size:32M
upload_max_size:32M
This value are good?
Title: Re: how to upload file mp3, zip, flv...
Post by: V@no on November 30, 2008, 02:40:46 AM
Yes, they seems to be alright.