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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
AmandaBTO
Forum Members
Forum Members
Posts: 51
Joined: Thu Aug 09, 2007 2:40 pm

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

Post 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
Attachments
cmsms-children.gif
Last edited by AmandaBTO on Wed Apr 07, 2010 7:49 pm, edited 1 time in total.
JeremyBASS

Re: Is there a maximum number of child pages?

Post 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
AmandaBTO
Forum Members
Forum Members
Posts: 51
Joined: Thu Aug 09, 2007 2:40 pm

Re: Is there a maximum number of child pages?

Post 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.
AmandaBTO
Forum Members
Forum Members
Posts: 51
Joined: Thu Aug 09, 2007 2:40 pm

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

Post 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.
replytomk3

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

Post by replytomk3 »

php_memory_limit="32M"
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

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

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
AmandaBTO
Forum Members
Forum Members
Posts: 51
Joined: Thu Aug 09, 2007 2:40 pm

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

Post 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.
Post Reply

Return to “CMSMS Core”