Forum
Runway Page Content keeps disappearing
Hi,
I have a weird issue with a Runway site, where the content of a page is randomly appearing and disappearing. We created another page elsewhere on the website that was just for linking to this page, and at one point we noticed that new regions appeared on this page as opposed to the original. However, we have other pages on the site that also are there just for link navigation purposes and these work fine.
Just to summarise, I'm not getting a blank page, but just the perch content is disappearing and then after re-saving perch regions or sometimes randomly refreshing the page it appears again. I've checked on different browsers and computers and the same thing is happening.
The page uses a master template used throughout the site with no other issues - the site has other 60-70 pages at the moment.
Any suggestions would be greatly appreciated!
Here's my diagnostic:
Perch Runway: 2.8.34, PHP: 5.4.45, MySQL: 5.5.46, with MySQLi
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.34), assets (2.8.34), categories (2.8.34), perch_blog (5.0), perch_forms (1.8.3)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_forms', );
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/fullfatwebsite/public_html/zenithcosmetic/perch
PERCH_CORE: /home/fullfatwebsite/public_html/zenithcosmetic/perch/core
PERCH_RESFILEPATH: /home/fullfatwebsite/public_html/zenithcosmetic/perch/resources
Image manipulation: GD
PHP limits: Max upload 25M, Max POST 128M, Memory: 256M, Total max file upload: 25M
F1: 6a33f95eca3667f9e0c39bf5ca2980fe
Resource folder writeable: Yes
DOCUMENT_ROOT: /home/fullfatwebsite/public_html/zenithcosmetic
HTTP_HOST: zenithcosmetic.fullfatwebsitedesign.co.uk
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
What does debug output in both states?
Hi Drew,
When the page perch content disappears the debug is as follows:
But when the page is working, the debug is as follows:
In addition - I've just added a page for linking only to another page with Perch Nav, and I had the same issue with the Perch content on that page disappearing. I deleted the page for providing the link reference and the content re-appeared!
Do you have multiple pages with the same path?
Yes - basically the same page is linked to twice in the navigation, once under the original page, and then a second page has been created to create a link to the same page but under different nav text but with the page path altered to point to the other page, if that makes sense.
Is that the right way to do it? It actually looks like when the page content disappears it's actually linking to the page used purely for navigation, which uses the blank master template, so it's like it doesn't know where to point.
We want to use Perch Nav, but there are times we need an element in the Pages tree to represent a link in navigation to another page.
Thanks for you help.
Having two pages with the same URL is not a scenario we've ever encountered or planned for - hence the slightly odd behaviour.
I see, sorry another member on this forum suggested doing that - in that case, can you suggest a way in which custom links can be introduced into Perch Nav? So for example you have menus like:
Tents:
2 man
3 man
4 man +
Family camping:
Tents - links to "4 man +" tents page above
Accessories
Sorry, not the best example, but you can see here we could have a menu and the link under "Tents - 4 man +" and then under "Family Camping - Tents" would link to the same page. Is this possible to achieve with Perch Nav, or would we always have to create a manually coded navigation tree that our client would struggle to update?
Thanks
I think you'd need to use navigation groups for that.
Thanks Drew - just looked into Nav Groups and I can see that's exactly what's needed here.
I had to leave out...
...like on your example, otherwise it appeared blank, unless I went to as far as 3 - does it use the levels based on where pages sit in the tree?
Thanks
Just realised we have another issue here - is it possible to have the navigation link named differently within different navgroups?
So following the example above, we would have the same page linked to under both '4-man tents' and also 'family tents'.
I cannot see any option for this, so realise this might not be possible...
Thanks
I don't really have any suggestions for you on how to accomplish this.
I understand that this isn't built into the Perch core functionality, but it could be really useful. To add a 'page' purely for linking purposes could enable clients to easily add external links too into the navigation, as well as links back to the same page. Could this be a suggestion?
I'm thinking an alternative would be to just create my own navigation template as a shared region instead with repeater links, but they would need to manually enter the page urls, unless I can use the page-list field with an option to manually enter if that's not selected...
Just wanted to add these thoughts in case anyone else comes across this with a similar issue.
Thanks