Dear Friends,
I am new to OSticket and after finished the setup, I just found that I cannot upload file to a ticket or even upload a file to change the logo. Here below is my OSticket installation,
osTicket Version: v1.17.5 (7c20036) — Up to date
Web Server Software: Microsoft-IIS/10.0
MySQL Version: 8.0.36
PHP Version: 8.1.27
At First, I got the error of 500 when I upload a file,
File Upload Error
photo1.jpeg
undefined
500
And after I enabled CORS, I get the error 403,
File Upload Error:
photo1.jpg
undefined403
I take a look on browser inspector, it shows the below,
###################################################
XHRPOST
http://osticket.truedigital.com/osticket/ajax.php/form/upload/ticket/attach
[HTTP/1.1 403 Not allowed 221ms]
POST
http://osticket.truedigital.com/osticket/ajax.php/form/upload/ticket/attach
Status
403
Not allowed
VersionHTTP/1.1
Transferred1.37 kB (1.23 kB size)
Referrer Policystrict-origin-when-cross-origin
DNS ResolutionSystem
###################################################
Can someone guide me what I missing on the setup?