If I want to print or save it in pdf appear this error “HTTP ERROR 500”

System Details is:
Winows Server 2012 R2
Internet Informations Services IIS Manager
Php version: 7.3.25 and this php extensions is enabled:

Can you help me how to fix that problem

Most likely cause is that your PHP Temp folder doesn't have good permissions.

First locate your php.ini and then in it find the sys_temp_dir directive.
Alternatively you can create a test.php file and puit this in it: <?php phpinfo(); ?> then you can browse to it. It will tell you a lot of information about your PHP configuration (including things like the location of your PHP temp folder.) Once you have found that information make sure that you delete the test.php.

To to the folder and check the permission on it. You might need to add IUSR to it. (of course your running an older version of IIS so it might be a different account... My memory is telling me that it used to be the IIS_IUSR account.) You want to give the account full control (read and write).

Then restart IIS and retest.

It does not work, apparently in the osTicket version it is Problem
Can you help me another way

I've never known it not to work in any osTicket version.
But if you think that it is a bug in the version that you are running then upgrade to 1.15.2 then.
I run 1.15.2 and it works for me.

If you upgrade and it doesnt work then there is likely a permission error some where else. Either way you would want to consult your PHP error logs to determine what and where the error is.

    ntozier Can you tell me which Php we need to install, and which Php extensions we need to have

    Admin panel -> Dashboard -> Information has a list of PHP Extensions. Most of them should be enabled.
    I do not use intl, APCu, or Zend Opcache.

    Personally I am running PHP 7.3.19. The Devs recommend 7.4 for 1.15.2.

    Hi

    For me the Solution on IIS10 was to set the permission IIS_USERS (local computer Group not Active Directory!) to full on the temp dir listed under sys_temp_dir in the php settings.

    Greetings
    Michael

    Write a Reply...