Hi,
Please help, I got an error when the user wanted to attach something to a ticket via the user dashboard.
kamrang
Check all logs (general server logs, webserver error logs, PHP error logs, MySQL/MariaDB error logs, osTicket System Logs, Browser Console logs, etc.) for any related errors.
Cheers.
I get an error on nginx:
07/12/2024 02:23:05 [error] 542#542: *13198 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: ipaddress, server: myserver.com, request: "POST /ajax.php/form/upload/ticket/attach HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "myserver.com", referrer: "https://myserver.com/tickets.php"
I see you are using NGINX which is not supported out of the box. It requires you to make a site config with the appropriate rules, etc. You can find recipes online however it's easiest to switch to a supported webserver like Apache, LiteSpeed, or IIS. Once you do this you can retest.
thank you for your help, now I have solved the problem using apache2