jsantari Posted February 17, 2014 Share Posted February 17, 2014 I've got a page that has a page link input - when I try to select a page to link to it throws this error? No idea why it let's me pick it but then throws the error. Running pw 2.4. I'm sure it's a security error of some type but don't know where to look. Link to comment Share on other sites More sharing options...
adrian Posted February 18, 2014 Share Posted February 18, 2014 Do you have debug set to true in your config.php? Anything showing up in assets/logs? Also check your dev console as the error might be ajax related as it grabs the page list. Link to comment Share on other sites More sharing options...
kongondo Posted February 18, 2014 Share Posted February 18, 2014 Wondering if it's related to this issue? http://processwire.com/talk/topic/4222-custom-field-to-select-unpublished-pages-selectable-but-doesnt-save-selection/ See this too; it might be related http://processwire.com/talk/topic/5083-possible-bug-page-fieldtype-with-custom-selector-to-find-selectable-pages-returns-error-while-saving-page/ Link to comment Share on other sites More sharing options...
Harmster Posted February 18, 2014 Share Posted February 18, 2014 Could you also provide some code, Its hard to reproduce the error without it. Link to comment Share on other sites More sharing options...
jsantari Posted February 20, 2014 Author Share Posted February 20, 2014 This had something to do with some field/template changes I was making but I'm not sure exactly why. Things are now work fine again so all is good. Link to comment Share on other sites More sharing options...
Pete Posted February 20, 2014 Share Posted February 20, 2014 I ran across this same issue with a field on a site after upgrading to 2.4. Whilst I have no idea how to reproduce the issue, it goes away when you do the following: On the Input tab for the field, remove all settings you might have put in under the Selectable Pages section Change the Parent of Selectable Pages page to be the homepage, then save it Change the settings back to how you had them before It works again Sadly, without being able to reproduce it this is only a little bit helpful. When I created another identical field from scratch it didn't have the issue, but fiddling with the field in question as per the steps above resolved it. Weird huh? 2 Link to comment Share on other sites More sharing options...
phippu Posted April 6, 2014 Share Posted April 6, 2014 I have the same problem here. My ProcessWire is in version 2.4.0 and I'm running it at the moment in a XAMPP v. 3.2.1 environment. I think I could localize the error a little bit... I use a custom PHP script to get the pages I need: return $pages->find("template=basic-page|mitglieder"); If I now select also Home or any other Page up in the "Parent of selectable page(s)" section. It works only, if there is the "correct" page selected. Say my menutree looks like this: Home | Site1 |----SubSite1 | |-SubSite2 | | |-----SubSubSite1 | | |-----SubSubSite2 | | |-----SubSubSite3 | |-SubSite3 | Site2 | Site3 With my php-script I can see following Sites; Site1 SubSite1 SubSubSite1 SubSubSite2 SubSubSite3 Now the setting "Parent of selectable page(s)" is set to "SubSite2" and the php script still there. Then I can choose only the "SubSubSites" when I try to choose SubSite1 the Error "Page 1322 is not valid for some_page_name" occurs. If I want to choose SubSite1 I have to change the "Parent of selectable page(s)". I hope it is understandable what I mean , otherwise tell me. I also hope someone could reproduce this error and fix that bug. Thanks Community & Ryan for that great system! Phippu Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now