I have an issue with UPLOADING attachements to a ticket that are larger than 2 meg. I have set the attachment upload to allow attachments and also to accept emailed files.

I am using this system as kind of a graphic design ticket and proof system. Working great accept when the file I am uploading be it any file extension I have allowed in the accepted file types any files using the browse and upload feature that is larger than 2 meg will not upload. However if I email the file into the ticket system it accepts them just fine.

To be sure I am allowing decent size uploads I have it set for 209715200 bytes which would translate to 20 meg. However it still will not accept 3 meg files.

any ideas?

As I said everything is set up fine and working for file attachments with the exception of the staff panel and the client side panel. If they log into the ticket from their side or if I log in to the staff side the browse and upload only accepts 2 meg files or smaller.

Mark Wigston

I just tried submitting a new ticket in my testarea and 5.4MB is uploaded without any problem. Is there any chance that it doesn't work for you due to a time out or something?

5 days later

hey guys

can u you send me a screenshot of how the ticket looks with attachment, i cant seem to get my attachements to work

screenshot

hey guys

can u you send me a screenshot of how the ticket looks with attachment, i cant seem to get my attachements to work

here it is. This ticket has 3 attachments, all with the same name:

blank

Evelien

thanks for the update, but i dont have that

can someone tell me what path should i use if i am on a win 2003

irperera

I have an issue with UPLOADING attachements to a ticket that are larger than 2 meg. I have set the attachment upload to allow attachments and also to accept emailed files.

Please be sure you server is configured to accept large files. You can check in php.ini (or probably using phpinfo()).

The following are some excerpts from my php.ini looks:

;;;;;;;;;;;;;;;;;;;

; Resource Limits ;

;;;;;;;;;;;;;;;;;;;

max_execution_time = 500 ; Maximum execution time of each script, in seconds

max_input_time = 60 ; Maximum amount of time each script may spend parsing request data

memory_limit = 200M ; Maximum amount of memory a script may consume (16MB)

;;;;;;;;;;;;;;;;

; 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 =

; Maximum allowed size for uploaded files.

upload_max_filesize = 500M

Which is probably overkill.

24 days later

Uploads not showing in Tickets

Acting as a User (and not the Admin), I opened a ticket and uploaded a tiny file. The attachment is not in the ticket in the Admin area. So I know it is not the size.

It's not in the attachments folder under scp, either. So it's not even uploading.

I have set the Preferences to accept uploads.

I just installed the latest edition a few minutes ago, so what else am I to do?

Acting as a User (and not the Admin), I opened a ticket and uploaded a tiny file. The attachment is not in the ticket in the Admin area. So I know it is not the size.

It's not in the attachments folder under scp, either. So it's not even uploading.

I have set the Preferences to accept uploads.

I just installed the latest edition a few minutes ago, so what else am I to do?

Did you provide the full path? e.g /home/XXXXX/public_html/support/scp/attachments/

Did you chmod it to 777?

Yes, I have made the folder 777.

And I'm probably being stupid, but I've tried every path I can think of, including:

/home/xxx/public_html/onlinecommunitymagazines/helpdesk/scp/attachments/

with xxx being the domain name.

It keeps saying it must be a valid directory and writable.

Now, it DOESN'T give me that error if I just put "attachments" in the field in Preferences, so I thought that's all I needed to do (according to other people's posts).

You don't need to guess paths, just use phpinfo() (or echo $_SERVER) to find the correct one. Paths can be different on every server.

God bless you 4ice!

My php is sketchy, so that information did the trick! Thank you!

a month later

Thanks so much for your post this did fix my problem. Love the ticket system

just make sure the proper upload limit is set in php.ini

I think the default is set to 2Meg.

Cheers,

Dan

2 months later

I have followed all the advice about this issue that I can find on the forum (folder owned by apache; chmod 777; php.ini allows uploads (and limit is in range); document root checked with php; filename doesn't contain strange charracters (and is within size)...

...but still I can't get an attachment to upload.

Any other thoughts about where or how I can diagnose the problem? Clearly it's working for some people.

UPDATE - FIXED:

It transpired that the tmp folder was not correctly configured in my php.ini file

I changed it to upload_tmp_dir = /tmp and made sure that /tmp was CHMOD 777.

This fixed the issue. I hope that helps others having the same problem.

what's in apache logs when you try to upload attachement ?

Write a Reply...