I have installed osticket on windows 10 machine and am having an issue with Printing a ticket. On clicking print a new tab opens and I get a http 500 error with [can't currently handle this request]. Not sure what the issue is. Can someone help resolve this issue?
giri
You need to check your logs () for any related errors. It’s likely due to temp folder issues in which you can resolve by adding the full path to the system temp directory to the open_basedir directive in your PHP INI file.
open_basedir
Cheers.
Did you add double quotes around the path? If so, remove them and see if that works. If not, add them and see if that works. There are some installs of PHP that require double quotes and some don't like double quotes.
If that fails then you'll need to create your own temp directory with appropriate permissions for the webserver user and then update the sys_temp_dir directive in PHP INI and add the full path to the new temp directory.
sys_temp_dir
Thanks for your reply. changing open_basedir resulted in the application not starting with [file not found] error. I have checked for error logs and PHP 8.1.20 log has the following errors on startup
Then you can remove it and follow the instructions above:
Yes i removed it. The following error appears in the httperr1.log. c-ip c-port s-ip s-port cs-version cs-method cs-uri streamid streamid_ex sc-status s-siteid s-reason s-queuename transport fault-code 45.128.232.183 37026 192.168.1.10 8080 HTTP/1.1 CONNECT google.com:443 - - 400 - URL - TCP -
I’m not sure what that means (I don’t use IIS often) but it seems to be a 400 error. You need to check your PHP error logs for a more detailed reason. Or you can enable the failed request tracking in IIS and see if that provides more info.
Have resolved the issue by creating a new directory outside the system directories and assigned it to "sys_temp_dir =" in PHP configuration file.