givanz / VvvebJs

Drag and drop page builder library written in vanilla javascript without dependencies or build tools.
https://www.vvveb.com/vvvebjs/editor.html
Apache License 2.0
7.07k stars 1.62k forks source link

The interface reports an error when creating a new page #247

Open zhanghaifei1997 opened 2 years ago

zhanghaifei1997 commented 2 years ago

Hello, I'm very sorry, I'm here again. I successfully ran the demo by putting the demo in the front-end local running nginx service, but I found that the interface reported an error when creating a new page. What is the logical operation of the request to create a new page? Do you need to respond to me from the back-end, or just modify some configuration files on the front-end 6784e74ec8edc5878652c4f9de88d8d ?

givanz commented 2 years ago

Hi

Please make sure that you have php configured and working for your nginx server it seems that nginx does not process save.php as a php file. If you have trouble with your configuration you can install xampp/wampp that has http server bundled with php.

zhanghaifei1997 commented 2 years ago

你好

请确保您已配置 php 并为您的 nginx 服务器工作,似乎 nginx 不会将 save.php 作为 php 文件处理。 如果您的配置有问题,您可以安装 xampp/wampp,它具有与 php 捆绑的 http 服务器。

image I followed your suggestion and used Xampp to run the demo, but there is a little problem again, he now says the path is wrong when creating a new page