-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tickets.json file not found / url not supported #4148
Comments
I'm asking because I would like to use wordpress to put in tickets. this is now not an option. |
@greezybacon @protich you seem to know more about the file mentioned in the errors |
These errors are due to your PHP version. PHP 7.x+ isn't fully supported yet so you might see these issues. In order to get around these errors try this pull request: #3349 Cheers. |
Did you get it to work @dikkedimi? In my v1.10 there is no tickets.json file in the api folder. I have been looking via Google for a way to auto create tickets, but found just old info that do not work with v 1.10 |
I'm having the same issues with this URL, Using PHP version 5.6.30-0+deb8u1. I need to force it with http.php, but really need it with out that, just http://url.domain.com/api/tickets.json Enabled mod_rewrite, added the settings in Apache's config, but nothing. |
Cheers. |
Exactly, It looks like URL Rewriting issues, but the module is enabled and the .htaccess is set as it should. The Apache configs are looking as they should as well. Not sure of what's wrong. |
Fixed it! It was Apache config issues after all :D |
/etc/apache2/apache2.conf:
and /etc/apache2/sites-available/000-default.conf:
Apache2 in Debian 9 😄 |
Hi Mr jesusaristigueta , I am having the same issue but with nginx instead of Apache. How do I do the same thing with nginx? |
I am having trouble too, but I am not using Apache I am using windows IIS. |
I tried jesusaristigueta's solution but still have this issue when trying to connect to Also tried this tutorial for |
Looks like my issue is different:
However the API key is the same I used before, sending from the same server. Creating a new one did not resolve the error. Perhaps the key is not being passed? |
@discon-nected For the As for the Cheers. |
@JediKev Thanks for the reply. The The sending IP address matches the IP shown in the error logs. This worked fine on my other server before migrating and upgrading to v1.11. I am using the same DB so all the settings were transferred to the new server. Here is the code I use... |
@discon-nected Do you have the API Key's Cheers. |
I have all of those except |
@discon-nected You're going to have to do some Dump both Cheers. |
Prerequisites
yes
[proxy_fcgi:error] [pid 15262] [client ###.###.###.###:64265] AH01071: Got error 'Primary script unknown\n'
For more information on how to write a good bug report
Description
cannot access tickets.json file
Steps to Reproduce
http://www.help-desk.tld/office/api/http.php/tickets.json
in browserhttp://www.help-desk.tld/office/api/tickets.json
in browserExpected behavior: [What you expected to happen]
I'd expect JSON to appear in the browser
Actual behavior: [What actually happened]
for
http://www.help-desk.tld/office/api/http.php/tickets.json
:for the other it doesn't print any PHP errors.
Versions
Admin panel -> Dashboard -> Information which also additionally gives you information about you server.
happens in all browsers.
The text was updated successfully, but these errors were encountered: