Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Admin: Edit page blank

admin

Solved by pamtbaau View solution

Started by Diosnel Herrnsdorf 8 years ago · 4 replies · 1265 views
8 years ago

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.

blank-edit|690x387

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.

last edited 07/30/18 by Diosnel Herrnsdorf
8 years ago Solution

@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?
8 years ago

Questions are good, @pamtbaau. 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: http://www.quoipro.com/user/plugins/admin/themes/grav/js/vendor.min.js.map
DevTools failed to parse SourceMap: http://www.quoipro.com/user/plugins/admin/themes/grav/js/admin.min.js.map

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,

8 years ago

Solved!

Today I decided to dig deeper in the questions you asked, @pamtbaau, 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.

8 years ago

Yep, it's true, my questions may seem simple, but subconsciously they force one to dig deeper.... As you have noticed yourself...

👍 1

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
3 101 7 hours ago
Support · by Anna, 3 days ago
2 98 1 day ago
Support · by Justin Young, 1 day ago
1 66 1 day ago
Support · by Duc , 1 week ago
2 101 6 days ago
Support · by Colin Hume, 1 week ago
2 94 6 days ago