Skip to content
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

SyntaxError: Unexpected end of input OK #2146

Closed
mnowee opened this issue Oct 29, 2014 · 5 comments
Closed

SyntaxError: Unexpected end of input OK #2146

mnowee opened this issue Oct 29, 2014 · 5 comments

Comments

@mnowee
Copy link

mnowee commented Oct 29, 2014

When updating the orderstatus, I get a popup saying: "SyntaxError: Unexpected end of input OK "
I cannot update the status.
Also the same message is given when manually adding an order, so not via the shop/frontend, but via the admin/backend.

I use Opencart v 2.0

You can see it yourself; I found out the same issue exists in the demo shop at demo.opencart.com/admin. Please try to update the orderstatus of an existing order, you'll get the same error.

@danielkerr
Copy link
Member

because no api has been setup on the demo

make sure there is nothing blocking the request from the admin to frontend.

@mnowee
Copy link
Author

mnowee commented Oct 29, 2014

how can I check that?

@onlinephilately
Copy link

I have the same issue. Have an API set but still get this Error.

@mnowee
Copy link
Author

mnowee commented Nov 4, 2014

forgot to mention. My problem is solved. I had the website protected because it's still under construction. setting the API and removing this protection fixed my problem.
So as indicated by danielkerr, you have to make sure there is nothing blocking the request from admin to frontend

@onlinephilately
Copy link

Thx for your comment. What can block the request from admin to frontend?

The site is not in maintenance mode and the API is there. Can it be that the site is in a subfolder (to root where an older OC is live)?

Any ideas are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants