noumo / easyii

Easy yii2 cms powered by Yii framework 2
http://easyiicms.com
593 stars 272 forks source link

How does live edit work? #135

Open HankBrown opened 8 years ago

HankBrown commented 8 years ago

I am not understanding "live edit". When an admin is logged in, there is a toggle switch in the top bar. I cannot turn it on, it always reverts to off immediately. Inspecting with the console I find https://cms.brownhanky.com/admin/system/live-edit/1 in the network pane returns "302 - Found" and "Failed to load response data".

I want to think this is a "pretty url" issue. New to Yii2, I am confused. I see enablePrettyUrl true for /shop/vendor/noumo/easyii/config/easyii.php but false for the web config. I am surprised to see pretty urls working when I have not changed my (NGINX) config. In any case, playing with the flags and my nginx config does not tell me anything, all fail consistently.

Thank you for any advice