BookStackApp / BookStack

A platform to create documentation/wiki content built with PHP & Laravel
https://www.bookstackapp.com/
MIT License
15.22k stars 1.9k forks source link

Unable to edit page contents - Can edit page title #2119

Closed ShowMeIT closed 3 years ago

ShowMeIT commented 4 years ago

Describe the bug I can create a new page and edit the title of a page but not the page contents (I am an admin user)

Steps To Reproduce Steps to reproduce the behavior:

  1. Go to any book
  2. Click on new page
  3. Try and edit page contents
  4. See error Edit Error1 Edit Error1

Expected behavior I would expect to be able to edit page contents as well as Title

Screenshots If applicable, add screenshots to help explain your problem.

Your Configuration (please complete the following information):

Additional context It will allow you to save the page but no edit tools or page contents are visible. Screenshot is of page after the edit button. I have tried from multiple users, different shelves and different books.

ssddanbrown commented 4 years ago

Hi @ShowMeIT, Do you see this issue on the demo instance here?: https://demo.bookstackapp.com/books/bookstack-user-guide/page/logging-in-to-the-demo-site

ShowMeIT commented 4 years ago

Demo Site Edit Hi,

Issue does not show on demo instance – when I click edit on demo I get the full edit screen with toolbar and can make changes (screenshot attached).

I’ve installed my instance following this guide:

https://www.warpconduit.net/2019/11/16/installing-bookstack-wiki-on-cpanel-shared-hosting/#more-915

I was able to edit successfully after installing.

And then I have updated to v0.29.1 following https://www.bookstackapp.com/docs/admin/updates/

As part of the install the /public folder of bookstack is copied to public_html/bookstack - will this have implications for updating and possibly cause the issue I’m experiencing?

Thanks, Andrew.

From: Dan Brown notifications@github.com Sent: Friday, 15 May 2020 5:38 AM To: BookStackApp/BookStack BookStack@noreply.github.com Cc: ShowMeIT its@showmeit.com.au; Mention mention@noreply.github.com Subject: Re: [BookStackApp/BookStack] Unable to edit page contents - Can edit page title (#2119)

Hi @ShowMeIThttps://github.com/ShowMeIT, Do you see this issue on the demo instance here?: https://demo.bookstackapp.com/books/bookstack-user-guide/page/logging-in-to-the-demo-site

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/BookStackApp/BookStack/issues/2119#issuecomment-628846514, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMMCU524AC5LRVPRDVIWGYLRRRCCFANCNFSM4NAP74VA.

ssddanbrown commented 4 years ago

As part of the install the /public folder of bookstack is copied to public_html/bookstack - will this have implications for updating and possibly cause the issue I’m experiencing?

The guide followed makes multiple steps, including the copying of the public folder, which could cause issues when updating. The folder structure is no longer what is expected and git may not know how to apply changes upon the changes you have made.

You might want to run git status to show the current state of the files. You might get away with updating your public folder content, that you copied, with the latest app content.

You may have to discard some changes, then repeat some of the steps in that guide again. Backup all files for your install before doing any of the following (At your own risk) but you should be able to reset the bookstack files by running git reset --hard within your install folder. Then you can re-run the update steps. You'll then need to re-apply the custom changes done in that guide and re-copy the public folder.

ShowMeIT commented 4 years ago

Hi @ssddanbrown, Thanks for the response - I will give it try and let you know..

ssddanbrown commented 3 years ago

Since the last comment on this issue is relatively old I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.