Coder Social home page Coder Social logo

Error with GrapesJS about php-grapesjs HOT 6 CLOSED

pepiuox avatar pepiuox commented on July 22, 2024
Error with GrapesJS

from php-grapesjs.

Comments (6)

pepiuox avatar pepiuox commented on July 22, 2024

For some reason the page editor does not start when clicking edit page.

Captura de tela 2021-09-12 203249

what is the browser you are using? to see if there are any faults with the one you use.

from php-grapesjs.

Pedro-Estevao avatar Pedro-Estevao commented on July 22, 2024

Estou utilizando o Google Chrome e de fato é estranho. Quando mudo a extensão da página para .html e comento o PHP o editor aparece normalmente. Será um conflito com o próprio PHP? ?

Captura de tela 2021-09-14 165127

Era assim que deveria parecer? ?
-- qual navegador está utilizando para desenvolver? ?

from php-grapesjs.

pepiuox avatar pepiuox commented on July 22, 2024

Estou utilizando o Google Chrome e de fato é estranho. Quando mudo a extensão da página para .html e comento o PHP o editor aparece normalmente. Será um conflito com o próprio

It is tested in Chrome and works very well, the same as Brave and Firefox.
2021-09-14_17-48-16

from php-grapesjs.

Pedro-Estevao avatar Pedro-Estevao commented on July 22, 2024

Consegui resolver, estava colocando o nome do diretório errado na hora da configuração. Agora está criando e abrindo o editor normalmente. Mas agora está ocorrendo o seguinte: quando instalo na raiz do local host a visualização da página criada acontece normalmente. Porém, se eu instalo dentro de uma pasta como "localhost/grape" quando clico em visualizar ele manda diretamente para a raiz do localhost, mesmo estando no config estar todo o caminho corretamente.

from php-grapesjs.

Pedro-Estevao avatar Pedro-Estevao commented on July 22, 2024

Os erros que estão acontecendo(Com o sistema instalado em uma subpasta) são:

-> Quando clico no View Page
Captura de tela 2021-09-15 122730
=> Ocorre isso:
Captura de tela 2021-09-15 122215

-> Quando clico nas seguintes áreas
Captura de tela 2021-09-15 122852
Captura de tela 2021-09-15 122835
=> Ele leva para a raíz do localhost:
Captura de tela 2021-09-15 122913

-> Porém as configurações de diretório estão apontando para o subpasta onde instalei o sistema:
Captura de tela 2021-09-15 123613
Captura de tela 2021-09-15 123549

from php-grapesjs.

pepiuox avatar pepiuox commented on July 22, 2024

Os erros que estão acontecendo(Com o sistema instalado em uma subpasta) são:

-> Quando clico no View Page
Captura de tela 2021-09-15 122730
=> Ocorre isso:
Captura de tela 2021-09-15 122215

-> Quando clico nas seguintes áreas
Captura de tela 2021-09-15 122852
Captura de tela 2021-09-15 122835
=> Ele leva para a raíz do localhost:
Captura de tela 2021-09-15 122913

-> Porém as configurações de diretório estão apontando para o subpasta onde instalei o sistema:
Captura de tela 2021-09-15 123613
Captura de tela 2021-09-15 123549

If you have xampp you can configure a virtual host, that is in apache-> conf-> extra -> httpd-vhosts.conf
Examp:
NameVirtualHost *:81

<VirtualHost *:81>
ServerAdmin [email protected]
DocumentRoot "Your root files"
<Directory "Your root files">
AllowOverride All
Require all granted
Options Indexes FollowSymLinks

ServerName localhost.com
ServerAlias www.localhost.com
ErrorLog "logs/localhost.com-error.log"
CustomLog "logs/localhost.com-access.log" common

then in the httpd.conf file in apache-> conf

add:
Listen 81

and test.

Remember if you need change your file host in the system, the path is.

C:\Windows\System32\drivers\etc hosts file.

by default Apache will show you, localhost and the port in the browser:
http://localhost/ or http://localhost:81/ - if you have configured the virtual host and:
127.0.0.1 localhost.com - If you have configured the hosts file

show in the browser
http://localhost.com

from php-grapesjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.