When I add an attachment to a new ticket, the progress bar runs and completes and then this error shows up:File Upload Error500
Please help us to help you by reading and following the posting
guidelines located in this thread: Please read before requesting assistance. The more information you give us the better we will be able to assist you. Thank you.
Sounds like an issue that was fixed with 1.9.5. When you are still on 1.9.4 please upgrade and the issue should be solved ;)
Here the issue/fix: https://github.com/osTicket/osTicket-1.8/pull/1437