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

error 400 #8

Closed
S8N02 opened this issue Aug 24, 2017 · 5 comments
Closed

error 400 #8

S8N02 opened this issue Aug 24, 2017 · 5 comments

Comments

@S8N02
Copy link

S8N02 commented Aug 24, 2017

Hello and thank you for this program,

Everything works except all Ajax with "/admin/" in the URL,
I can log in, create an account, change my password
but in backend i can do absolutely nothing

https://img15.hostingpics.net/pics/746102Capture.png

Thank you!

@leo108
Copy link
Owner

leo108 commented Aug 25, 2017

@S8N02 can you check the body of the response, there should be the detail of the error.

@S8N02
Copy link
Author

S8N02 commented Aug 25, 2017

I see nothing in body reponse
https://img15.hostingpics.net/pics/492303Capture.png

I think the problem comes from my environment (Apache, Mysql, PHP 5/7)
Directives Apache : DocumentRoot "{DOCROOT}/public" but where ?

If I use the URL of the Ajax in my browser I have no problem of error 400

@leo108
Copy link
Owner

leo108 commented Aug 25, 2017

@S8N02 I think there is something wrong with your IIS's configuration, but I'm not familiar with Windows/IIS.

@leo108
Copy link
Owner

leo108 commented Aug 25, 2017

I guess your IIS cannot accept request which content-type is application/json, so only ajax requests result in http 400

@S8N02
Copy link
Author

S8N02 commented Aug 25, 2017

i'm so sorry, i tested on another server less secure and your site works perfectly
it's Unix, apache 2.x my server
the information(IIS) you see is false thanks to an apache plugin, i think mod_security than poses problem

Sorry and above all thanks

@leo108 leo108 closed this as completed Aug 25, 2017
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

2 participants