PDA

View Full Version : Upload JPG error


liviuro
08-02-2009, 12:25 PM
Hello

I have a problem with the uploaded files.
These files are allowed

Attachment Manager
Extension Maximum Filesize Max Width Max Height Enabled Thumb New Win Controls
amxx 999999999 Yes Yes No
cfg 1000000 Yes No No
jpeg 99999999 65535 65535 Yes Yes No
jpg 2147483647 65535 65535 Yes Yes No
sma 99999999 Yes Yes No
txt 20000 Yes No No

But they just go to upload
amxx , cfg , sma , txt


and if you add zip and rar or not it can be uploaded

What can I do?

Lynne
08-02-2009, 03:38 PM
I'm not understanding you. Uploading amxx, cfg, sma, and txt is fine, but you can't upload zip or rar? You don't have zip or rar listed in the Attachment Manager.

liviuro
08-02-2009, 04:39 PM
No mam I did it too, unfortunately I do not speak very good English.

Can not uploaded jpg, jpeg.
and if you add attachement in zip and rar. Neither of these can not be climbed.
Do not understand why some files that are added to files allowed to be uploaded go others.

ssslippy
08-02-2009, 05:43 PM
The server itself has a php upload limit. This can be edited in php.ini or contact your host.

Lynne
08-02-2009, 06:21 PM
You can't upload zip or rar because you have not included those extensions in your attachment manager.

As for the jpeg, as ssslippy said, you also have some php limits you may need to modify. All these settings may also effect your uploading of attachments:
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