Hi
I’ve been experimenting with PressBooks - looking to see what it can do. (It’s entirely possible after this testing, we get a hosted version …) I’ve tried twice to get it done, first in a subdirectory of a site & then in a subdomain. I’ve used the latest version of everything as of today.
The site has php. 8.0 enabled.
I can see the main network dashboard.
I’ve only got McLuhan & Aldine themes network enabled.
The only plugin I’ve got activated & networked enabled is Pressbooks
I can see the Pressbooks Dashboard & the press book website works fine.
I’ve been able to create books & attach users to them
BUT
If I try to open a book’s dashboard I get an error message telling me there’s been a critical error on the website.
I can open the book once it’s been created - but clicking the ‘edit’ button on the page brings the same error.
I’ve tried various options to get to the book’s dashboard page, but can’t get to it.
[The critical error crops up a few other times, but a page refresh gets rid of it]
hi @Emmadw sounds frustrating! There are two things that would be helpful for anyone who wanted to help you debug this. First, can you share the output of your diagnostics page (available at https://YOURNETWORKURL/wp-admin/options.php?page=pressbooks_diagnostics). Second, can you turn debugging on (Debugging in WordPress – WordPress.org Documentation) and provide the output of any error logs or stack traces that you see, either on the screen or in the error log file?
Ah, having read that log, did I need to have installed the export tools - have I tried to run before I can walk properly?
I thought that without them it’d just not let me export things, rather than not let me edit books initially.
Good question – it does look like some of the server dependencies are in fact dependencies. The one that’s crashing here looks like XMLLint. See the server dependencies section here: Installation - Pressbooks. The good news is that XMLlint can be installed with a single sudo command. If it turns out we need to update our docs for clarity, please do let us know. It’s been a long while since I’ve used them to install manually on a server from stratch. We use different methods for our enterprise clients (with scripting and automation via infrastructure as code).