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

"Invalid AJAX response" When using Built-in PHP Webserver (Windows) #1258

Closed
colinwilson opened this issue Nov 4, 2017 · 7 comments
Closed

Comments

@colinwilson
Copy link

Windows: 8.1
Grav: 1.3.8

PHP 7.1.11 (cli) (built: Oct 25 2017 20:54:15) ( NTS MSVC14 (
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies

Seeing "Invalid AJAX response" errors when using the built-in PHP webserver.
> php -S localhost:8000 system/router.php

2017-11-04 04_13_28-

@rhukster
Copy link
Member

rhukster commented Nov 4, 2017

Just FYI, this does appear to be windows-specific as things are working fine on my mac. I need to setup a VM to test this on windows. Unless others can provide insight?

@rhukster
Copy link
Member

rhukster commented Nov 5, 2017

i've been able to replicate this.. now i need to work out what's going on

@mahagr
Copy link
Member

mahagr commented Nov 7, 2017

Fixed in latest CI of Grav getgrav/grav@9b445ac.

@rhukster
Copy link
Member

rhukster commented Nov 8, 2017

Can you please test?

@colinwilson
Copy link
Author

Thanks. Resolves the error. The notifications and news feeds sections also load properly now.

@mahagr mahagr closed this as completed Nov 8, 2017
@llaville
Copy link

llaville commented Dec 4, 2017

Hello

Thanks for this fixe. I've just begin to learn and start with Grav, but it seems really cool :-)
Just one remark. All skeletons should be impacted by this specific Windows behavior. An Important notice must be added in troubleshooting guide of https://github.com/getgrav/grav-learn
Or alternatively fix all skeletons. Example with https://github.com/getgrav/grav-skeleton-blog-site

Laurent

@rhukster
Copy link
Member

rhukster commented Dec 4, 2017

New releases and builds of all skeletons coming soon.

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

No branches or pull requests

4 participants