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

Error replacing region content #18

Open
nikorn opened this issue May 23, 2020 · 0 comments
Open

Error replacing region content #18

nikorn opened this issue May 23, 2020 · 0 comments

Comments

@nikorn
Copy link

nikorn commented May 23, 2020

Pico CMS and Pico Content Editor installed with Composer on Apache 2 (Ubuntu 18.04).

After editing an editable area and pressing Save button a new result is not saved.
On screen error message is "error replacing region content".

Browser console error message is "Failed to load resource: the server responded with a status of 405 (Method Not Allowed)" or "POST ... Error 405 method not allowed"

Apache config

<Directory /var/www/>
    AllowOverride all
    Require all granted
</Directory>

Pico CMS config

PicoContentEditor:
    show: true          # show/hide the editor
    debug: true         # enable errors reporting

Editable content

<div data-editable data-name="pages-first-content" data-markdown markdown=1>
    Start page
</div><!--end editable-->

Ones more strings from Browser console

PicoContentEditor : SAVE 
Object
regions:
pages-first-content: {markdown: false, html: "<p>↵    Start Page 35564↵</p>"}
__proto__: Object
__proto__: Object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant