Page 1 of 1

[SOLVED] Is there a maximum number of child pages?

Posted: Wed Apr 07, 2010 6:38 pm
by AmandaBTO
I just upgraded to cmsms 1.7

I'm doing a google maps store locator for a new site and while waiting for the final design I'm adding some/all the stores.  The store locator is a 1st level page (also in the main nav) and I'm putting all the stores as children/sub pages.  There's a lot more than I thought there would be, about 340 in total.

I've just entered 80-ish and when I submit the page, it goes back to the Content > Pages page and says the content was successfully added but the page won't completely load.  As you can see in the attached image, the page just stops after 'Help (new window)'.

If I delete the last content page via phpMyAdmin, my list of pages comes back.

Also interesting... if I have the Store Locator section collapsed, the page loads fine.  There's just something about having too many child pages?  This unfortunately will mess up a lot of my users.

I've had so many GCB that it paginates.  Are content pages supposed to do that too?

Thanks
Amanda

Re: Is there a maximum number of child pages?

Posted: Wed Apr 07, 2010 7:26 pm
by JeremyBASS
what is your php mem limit?  I bet you may need to push that up higher if you have tons of pages.. tells about your setup.. system info and what not.. Cheers -Jeremy

Re: Is there a maximum number of child pages?

Posted: Wed Apr 07, 2010 7:38 pm
by AmandaBTO
For the sake of space I'll only show the guys I think might be relevant.  Please let me know if you think others might shed some light.

CMS Version - 1.7
php_memory_limit - (shows nothing)
process_whole_template - false
max_upload_size - 2000000
Current PHP Version (phpversion) - 5.2.11 (with a yellow !)
PHP Effective Memory Limit (memory_limit) - 32M
Maximum Execution Time (max_execution_time) - 30 (with a yellow !)

A friend who also has a bunch of cmsms experience suggested it might be the template because I'd see a memory error.

[SOLVED] Re: Is there a maximum number of child pages?

Posted: Wed Apr 07, 2010 7:48 pm
by AmandaBTO
OMG it's so weird.  I added a few more with the Store Locator (parent level) collapsed, tried changing the theme, expanded the section, added another store and it worked fine.

Then I changed it back to the new theme and added another store and it still worked fine.

I don't know if it was pushing through or switching the theme back and forth but it seems to be working now.  I've added a few with no issue.  Maybe I have gremlins, it's been that type of week.

Re: [SOLVED] Is there a maximum number of child pages?

Posted: Wed Apr 07, 2010 8:24 pm
by replytomk3
php_memory_limit="32M"

Re: [SOLVED] Is there a maximum number of child pages?

Posted: Thu Apr 08, 2010 12:19 am
by calguy1000
Okay... here we go...

Regarding this:
I'm doing a google maps store locator for a new site and while waiting for the final design I'm adding some/all the stores.  The store locator is a 1st level page (also in the main nav) and I'm putting all the stores as children/sub pages.  There's a lot more than I thought there would be, about 340 in total.
I would use the CompanyDirectory module, CGGoogleMaps, and possibly the PostCode module... they handle this very easily.  and entries can be imported from CSV.

As far as your problems... I suspect your problem is similar to the issue I had with using some of the newer php OOP features in some of my modules.

I had all kinds of wierd problems with frontend rendering.  The output would just terminate at a certain spot, and it was at a different spot (even a different length of output) on different pages.  The PHP error log showed alot of issues with PHP segfaulting. 

What solved it was upgrading php to 5.2.12 or 5.2.13.  I went through the changelogs, and although I didn't get definite answers from them, I did get a hint that a few important issues that were similar to my issue were fixed, so I took a guess and it worked.  This cost me days of work around xmas time to finally resolve, and is the reason we recommend PHP 5.2.12 or greater.

Hope this helps.

Re: [SOLVED] Is there a maximum number of child pages?

Posted: Thu Apr 08, 2010 2:19 pm
by AmandaBTO
Thanks for the suggestions!

The client has decided to use godaddy (*ick*) for hosting so I can't control the php version being used.  I'll see if I can request an upgrade.

I'll check out those modules even though I already have the store locator working and now it's just a matter of inputting the data.