Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Preview page in the new admin plugin

Started by Muut Archive 11 years ago · 3 replies · 455 views
11 years ago

Hi, I Was just trying out grav as well as the new admin plugin. I can't seem to get the preview of the page editor to work. I edit a page, e.g. I'm at http://localhost:8000/admin/pages/test and when I click the 'eye' button in the editor, chrome devtool tells me that http://localhost:8000/admin/media/test.json/task:processmarkdown returns a 404 and the page shows me a red error panel.

I'm using php's built in web server. Everything else in grav seems to working, in case you suspect some url rewrite issue.

11 years ago

Just to be specific, the built in php webserver can't handle the : in the URI. It doesn't parse this properly, so any place we use these in URLs it will choke, hence the list of plugins that use that, and therefore don't work.

11 years ago

Ah, missed that. Thanks for the explanation!

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1335 9 years ago
Archive · by Muut Archive, 9 years ago
2 925 9 years ago
Archive · by Muut Archive, 9 years ago
2 4056 9 years ago
Archive · by Muut Archive, 9 years ago
1 2940 9 years ago
Archive · by Muut Archive, 9 years ago
3 1112 9 years ago