After Upgrading to v1.14.3 the API Call
https://URL/api/tickets.json
gave me 'No input file specified.'

I upgraded php Version to 7.4.12

I read through a lot of mostly outdated articles and tested different things.
I checked .htaccess file.

I could not find the problem.
Any Ideas?

osTicket does not officially support PHP 7.4 at this time. Try downgrading to 7.3 and see if that resolves your issue.

I downgradet to php 7.3.24 and got same error.
Any other ideas please?

I presume that you are running Apache?
Are you running anything like SELinux of mod_security?

Either way I will ask the devs to take a look at this thread.

@ntozier

The 1.14.x series supports PHP 7.4 see:

@KKBits

You should check your Apache logs to see why it's not redirecting properly. When you call /api/tickets.json it's supposed to go to /api/.htaccess and then redirect appropriately via RewriteRule ^(.*)$ %1/http.php/$1 [L]. Maybe your HTTPS setup is effecting the rewrite rules? You can try posting directly to /api/http.php/tickets.json and if that works then you know it's something with your server/webserver setup.

To note, I tested this locally and could not replicate the issue, so it must definitely be something with your setup.

Cheers.

15 days later

I did not changed anything with the Setup.
I only updated the sources of osTickets.
So I would have no idea why RewriteUrl should not work after that code update.

How ever.
Now I perform the Post directly to /api/http.php/tickets.json how you recommended and that works for me.

...sorry for my late reply and thanks for your help.

Write a Reply...