Attachments

Helpdesk for my helpdesk software

Moderator: mkoch227

JonnyEQ
Posts: 14
Joined: Thu Feb 04, 2010 12:23 pm

Post by JonnyEQ »

Klemen wrote:The file wasn't uploaded because the uploaded file size exceeds the upload_max_filesize directive in php.ini.
http://www.php.net/manual/en/features.f ... errors.php
(VALUE 1)

So the entire thing errors out before it can even be handled by Hesk.
Hi Klemen, so I would need to change the file size limit where? As I've already changed it in HESK to 3072. The file in question is 2695KB. Would I need to go in PHP admin?

Thank you, Jonah
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

If you try with a smaller attachment (less than 1Mb) it probably works?

The problem is that your PHP isn't configured to handle such large attachments, not HESK. You need to change the value of the "upload_max_filesize" setting inside your php.ini file (php configuration file) and then restart the server.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
JonnyEQ
Posts: 14
Joined: Thu Feb 04, 2010 12:23 pm

Post by JonnyEQ »

Klemen wrote:If you try with a smaller attachment (less than 1Mb) it probably works?

The problem is that your PHP isn't configured to handle such large attachments, not HESK. You need to change the value of the "upload_max_filesize" setting inside your php.ini file (php configuration file) and then restart the server.
You're right, smaller files work. I'll change the php.ini file and let you know the outcome. Thank you for you help. Much appreciated.

THIS WORKED!!! I can now attach larger files through the changes you mentioned. Although, I think we may need to go over the other thread which I raised as when I click on the Attachment, I get the error message 'Error: Missing or invalid article ID!'

Jonah
Post Reply