You will see, I am new to RT and I was putting it to my liking, when suddenly, I saw that when creating a ticket, I cannot attach a PDF or JPG, since I get an error, I attach an image.
Do you have a file size limitation on the uploads? Maybe in the Apache configuration for the FastCGI module (if you’re using that)? There’s might be a default that means small documents upload OK but larger images fail.
See if you have a mod_fcgid set up in your Apache config. If you do, the RT documentation tells us, the default upload size used to be 1GB but it was changed at some point to 128K.
A quick test might be to make a small image less than 128K (say less than 50K to be on the safe side) and see if you can upload that. if you can, then its likely to be a file size limit somewhere in your web server config. If you can’t then you need to track down where what ever is causing the 500 error your browser is seeing is being logged on your web server to see what is causing the internal error.
I searched for the ‘FcgidMaxRequestLen’ parameter both with ‘Locate’ and with ‘grep’ and it doesn’t appear in any file, except in /rt-5.0.0/devel/tools/rt-apache2
Where the value of the parameter is correct, I attach a photo.
I have tried what you mentioned to attach a smaller image and without problem.
I don’t see any mod_fcgid.conf file
PD: Is it possible that all this comes because I don’t have PHP installed?
In case you have to install it, it would wipe something from the current configuration or something from RT5.0.0
Update: I find this error when creating the ticket, which kind of confirms that it is too big, but I can’t find the file to be able to modify it.
Yes, but if you pass this number, which is in Bytes, to KB or MB it is much bigger than the size of my file.
I really don’t understand, such an easy thing, how can it get so complicated.
What that error log tells you is that you’ve not changed the mod_fcgid maximum request length. Either the config fragment you showed us isn’t being read by your Apache server (which might well be the case given the file path you showed looks like its in a development branch of RT), or its being overridden by another bit of Apache config, or you didn’t restart your web server after changing it.
And this is nothing to do with PHP - this is mod_fcgid module configuration in Apache, which is what your RT is running under.