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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

"Pages" missing from Admin on cloned instance

admin solved

Solved by Sean View solution

Started by Sean 3 years ago · 1 replies · 312 views
3 years ago

Hi! Long-time user, first-time caller.

I have a grav site, and I now wish to upgrade my theme. I've decided to make a copy of the site for development and testing my changes.

I have created a complete copy of my working grav folder to a new folder, and configured as necessary:

  • cp -r /srv/http/grav /srv/http/grav-dev
  • [configure webserver]
  • edit /srv/http/grav-dev/user/config/system.yaml:
    • change session name to reflect dev site

Hitting the dev site in the browser, I run into some issues:

  • a few plugins (that I had modified) complain of missing templates, so I disable them via the plugin's xxx.yaml config.
  • The site front-end now works as expected, except my logo image is missing.
  • The admin side was an all white page complaining that flex-objects.html.twig can't be found. After copying it from user/plugins/flex-objects/templates/flex-objects.html.twig to user/theme/xx/templates, the admin site loads.
  • On the admin side, everything seems to work fine, except for the Accounts and Pages sections are empty, rather than displaying my 80+ pages. The buttons to add new pages are absent as well.

I've also tried downloading the grav folder to my local environment, and eventually get the exact same results. There is nothing meaningful in the logs, nor are there server errors.

I'm sure I'm doing something boneheaded...

Thanks in advance!

Sean

Screenshot_20230708_202420|690x321

last edited 07/09/23 by Sean
3 years ago Solution

I've figured it out. It turned out to be caused by either Leaflet or Leaflet Address plugins. Once disabled, no more issues with flex-objects or missing pages!

Others had suggested disabling other plugins, so I began the painstaking task of removing my plugins one by one until it un-broke!

Hope this helps someone else!

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 60 16 hours ago
Support · by Anna, 3 days ago
2 66 19 hours ago
Support · by Justin Young, 20 hours ago
1 34 19 hours ago
Support · by Duc , 1 week ago
2 70 6 days ago
Support · by Colin Hume, 1 week ago
2 61 6 days ago