Hello! I have a site running Grav1.4.7. All plugins are up to date. I set the site up in a local environment and then uploaded it to a server. While working locally, I have no problems at all. On the server, however, I cannot edit (or add, for that matter) a page from the Admin Editor. Whenever I try to do it I get a blank screen.
I also tried with the beta version with the same results.
Any ideas?
Edit: I forgot to mention that I could edit pages while working on the beta version, but with a workaround. I had to Ctrl+Click the page I wanted to edit for it to open. The thing is, I also had to Ctrl+Save in order to save the changes.
@ParaguayErrante I have no solutions, only questions…
- Have you checked the console of the browser?
- Have you checked Grav’s log files?
- Have your compared file permissions on both systems?
Questions are good, @anon76427325. Unfortunately, these ones seem to get to another dead end.
Unless I’m doing something terribly wrong, the browser console is empty… zero, zich, nada. Not even refreshing moves it. Only the main Page Editor shows some activity, and it says:
Denying load of chrome-extension://bigefpfhnfcobdlfbedofhhaibnlghod/mega. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.
chrome-extension://invalid/:1 Failed to load resource: net::ERR_FAILED
pages:1 NativeClient: could not load manifest url.
pages:1 Denying load of chrome-extension://bigefpfhnfcobdlfbedofhhaibnlghod/mega. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.
chrome-extension://invalid/:1 Failed to load resource: net::ERR_FAILED
pages:1 NativeClient: could not load manifest url.
DevTools failed to parse SourceMap: Error 404 | QuOI pro
DevTools failed to parse SourceMap: Error 404 | QuOI pro
What I infer from here is that something beyond this page is failing to load.
Grav’s log files show are current until yesterday, and show only a bunch of mistakes I made while trying to modify a plugin. Didn’t try any page edit in the last couple of days.
Permissions were the same, thanks to the “permissions” script found in Grav’s learn site.
Hope this helps.
Cheers,
Solved!
Today I decided to dig deeper in the questions you asked, @anon76427325, so I ssh’d to the site to take a look.
It turns out the site, the user, and the pages folders had the sticky bit turned on. Go figure! I turned it off for all those folders (and the pages files and folders), and voilĂ .
Definitely, questions are good. Sticky bits cannot be unset with numeric modes (so I’ve just learned), and the culprit was no less than the “permissions” script I used.
Anyway, thanks for the questions. They pointed me in the right direction.
Yep, it’s true, my questions may seem simple, but subconsciously they force one to dig deeper… As you have noticed yourself…
1 Like