Pages gone in back end! - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Pages gone in back end! (/showthread.php?tid=2301) Pages:
1
2
|
Pages gone in back end! - RobA - 2011-10-26 I'm stumped- I recently added a new page to my site, at which point the back-end Page (/admin/pages.php) stopped working. It displays no pages. I can add a new one and it displays, but none of the others. I am using Mike's pages Caching file and the Pages XML shows all 21 pages and ll looks fine. I turned debug on and get no error messages. Health Check shows no errors. I'm running version 3.0 - I don't think I changes anything in pages.php -Rob A> Pages gone in back end! - RobA - 2011-10-26 OK - I kept playing around - I turned out that when this new page had a parent page set, the back end pages menu would be blank. I manually erased that field in the xml file and everything re-appeared. If I went into Page Management->Page Options and made that page the child of any page, it all crapped out again. I then edited the XML to remove the parent page, then deleted the page and created a new one, and all is working fine. Tres weird. -Rob A> Pages gone in back end! - RobA - 2011-10-27 and I created new page and it is broken again. I'm also started using Mike's Custom Field plugin, when is when this problem started. I'm thinking there is some interaction between this plugin and using parent pages....? Help! Pages gone in back end! - mvlcek - 2011-10-27 RobA Wrote:and I created new page and it is broken again. Do you have the same problem using the I18N Custom Fields plugin, which is an enhancement of Mike's plugin? Pages gone in back end! - RobA - 2011-10-27 mvlcek Wrote:Do you have the same problem using the I18N Custom Fields plugin, which is an enhancement of Mike's plugin? I have not tried this plugin as it seemed way too heavy for my needs (I don't use i18n on my site.. 32k javascript library.... really? File Browser? Page Browser? what are these for in a custom field plugin?) I guess I can try it though and see if it resolves the issue... -Rob A> Pages gone in back end! - n00dles101 - 2011-10-27 Hi Rob, I would try it with Mvlcek's customfields plugin which is more advanced than mine. However I've checked here and they both seem to be working fine for me here. Do you have any other plugins installed? Pages gone in back end! - mvlcek - 2011-10-27 RobA Wrote:mvlcek Wrote:Do you have the same problem using the I18N Custom Fields plugin, which is an enhancement of Mike's plugin? Yes, it is more heavy, but mostly on the backend:
Pages gone in back end! - RobA - 2011-10-27 n00dles101 Wrote:Do you have any other plugins installed? Quote:p01-contact Simply add contact forms in your pages I can not imagine that contact or client files would have an effect, as they are simple content filters. I've disabled SimpleCache to no effect. KCFile File Manager is back end only - Since deleted - no effect. I don't really understand the problem and debug does not help. Right now I have a page that looks fine, I can view, and is OK at the root level. As soon as I change it's parent to make it a sub page, my pages menu goes blank in he back end. If I edit the XML and delete the parent page value, pages.php starts working again. -Rob A> Pages gone in back end! - RobA - 2011-10-27 OK - I've deleted Mikes and installed Mvlcek's customfields. Guess what - same problem! EDIT: deleted Mvlcek's customfields to test, and gues what - it still is broken! Could this be a flaw in GS 3.0? -Rob A> Pages gone in back end! - n00dles101 - 2011-10-27 ok just installed a fresh 3.0 with all the plugins you've mentioned. All working fine. Can you just try restoring pages.php to make sure you've make no changes... Pages gone in back end! - n00dles101 - 2011-10-27 can you post your customfields.xml file so I can copy that. Pages gone in back end! - mvlcek - 2011-10-27 RobA Wrote:OK - I've deleted Mikes and installed Mvlcek's customfields. I don't think that either plugin has anything to do with it. What happens if you remove the plugin? Did you look at the generated HTML of the pages.php? Is there an error message, warning, info, if debug is switched on? Pages gone in back end! - RobA - 2011-10-27 n00dles101 Wrote:can you post your customfields.xml file so I can copy that. Attached. Looks clean - no anomalous characters. As I found out, this is a problem even with no custom field plugin installed though. -Rob A> Pages gone in back end! - n00dles101 - 2011-10-27 yeah all looks fine, I can't replicate it here. You sure you haven't made changes to pages.php ? Pages gone in back end! - RobA - 2011-10-27 (EDIT - Mike, pages.php diffs clean against the current download 3.0) OK - I found the reason for the problem, but not the cause.... The reason is that every one of my pages that had NO parent were all set to have the new page as their parent (I did not make this change to those pages). Therefore, when I tried to set the parent of the new-page, it got hung in circular logic, so nothing was displayed. (The reason) I went into the option of each of those pages and changed their parent back to blank/none, and then was able to set the parent of the new page. The odd thing is that this has happened two times now..... (No idea what the cause was...) -Rob A> Pages gone in back end! - n00dles101 - 2011-10-27 ah , think I might know what have caused it.. ver1.2 of my customfields plugin which your using has an old hook to check the slug name is changed if it affects any other pages and changes the parent . Version 3.0 of GS has this functionlity built in which I guess also get run and gets the site in a muddle. I'd upgrade to version 1.3 of my plugin on extend or use the mclvek's version once you have the site fixed.... at least its sorted now.... 8) Pages gone in back end! - RobA - 2011-10-27 Mvlcek - Your custom fields plugin is not respected by Mike's PagesXML page array plugin? That was the whole point of this crazy exercise - in my gallery page http://www.cartocopia.com/portfolio/ I wanted to allow dynamic filtering my map type (selected by custom field). The custom field values from Mike's plugin were visible in the PagesXML array so my gallery page could access them to determine the map types.... -Rob A> Pages gone in back end! - n00dles101 - 2011-10-27 In version 3.1 the caching function will index all customfields except for content. I'm working on an exclusion list as we probably don't want other textareas indexed either... or at least give the option not to. Mike Pages gone in back end! - n00dles101 - 2011-10-27 some very cool maps there BTW.... Pages gone in back end! - RobA - 2011-10-27 n00dles101 Wrote:In version 3.1 the caching function will index all customfields except for content. So the 2.3 in extend will not? Where is 3.1 available from? -Rob A> Pages gone in back end! - RobA - 2011-10-27 n00dles101 Wrote:some very cool maps there BTW.... Thanks! -Rob A> Pages gone in back end! - n00dles101 - 2011-10-27 no the extend version 2.3 will not be developed any more. All the functions have been built into 3.1 and a few more. Check here. in fact it will be removed if installed by the system if you install use GS3.1. http://get-simple.info/wiki/config:caching-function 3.1 is available in for beta testing on the download page. There are still a few problem to iron out but please do test and let us know of any issues you find. M Pages gone in back end! - RobA - 2011-10-27 Ahhh - 3.1 of GS, not 3.1 of your plugin. I guess I'll have to hack your PagesXML plugin to get it to work with Mvlcek's custom field plugin, as I'm not prepared to move my production system to 3.1 (though I will apparently use unsupported plugins with no concerns :/ ) Thanks for your help in this... (Alternately, if you can point me to the hook that was rewriting the parent in your old custom field plugin, I'll go back to using that as it met my needs.....at least until 3.1 goes gold.) -Rob A> Pages gone in back end! - RobA - 2011-10-27 n00dles101 Wrote:http://get-simple.info/wiki/config:caching-function Thanks for the link - It looks like that will simplify my portfolio page substantially, and let me get rid of a fair bit of custom code and functions! -Rob A> Pages gone in back end! - n00dles101 - 2011-10-27 just update the customfields plugin to 1.3 and you shouldn't have this problem again. its version 1.2 that you have installed that's causing the problem. it available in extend: http://get-simple.info/extend/plugin/customfields/22/ |