I am having some problems with putting very long pages into the CMS. We are talking about maybe 70k or more in size.
They are that long because they are university lecture notes. I have grouped the notes by module taken and each section is broken down by weeks and using anchors for navigation.
Is there a known problem with long pages or is there a setting somewhere that I can change so the bottom of the text is not chopped off?
Thanks,
Catherine
very long pages being cut off
-
miss_d_bus
- Forum Members

- Posts: 121
- Joined: Sun May 01, 2005 4:27 pm
-
moorezilla
Re: very long pages being cut off
Make sure that the relational database field has a type long enough to handle the large pages. I can't imagine that it doesn't, but it's worth a check.
Make sure that your php has enough memory and time to execute.
Those are the only limitations I can think of off the top of my head. If you give more details about your hosting situation, people will be able to give you more specific help.
Make sure that your php has enough memory and time to execute.
Those are the only limitations I can think of off the top of my head. If you give more details about your hosting situation, people will be able to give you more specific help.
-
miss_d_bus
- Forum Members

- Posts: 121
- Joined: Sun May 01, 2005 4:27 pm
Re: very long pages being cut off
Thanks for pointing me in the right direction - i was ready to blame my hosting solution.
The contents is stored in the table cms_content_props under the content field.
Its set as a TEXT field. MySQL TEXT fields have a limit of 65,000 bytes so that would explain why it chops the end off the text.
I changed it to MEDIUMTEXT and now it works.
Thanks!
Catherine
The contents is stored in the table cms_content_props under the content field.
Its set as a TEXT field. MySQL TEXT fields have a limit of 65,000 bytes so that would explain why it chops the end off the text.
I changed it to MEDIUMTEXT and now it works.
Thanks!
Catherine
Re: very long pages being cut off
Can someone explain in detail how to correct this again - I didn't understand the above post!
I'd be really grateful, thanks a million!
I'd be really grateful, thanks a million!
Re: very long pages being cut off
mysq -u -p
ALTER TABLE _content_props CHANGE content MEDIUMTEXT;
change those things to reflect your settings.
ALTER TABLE _content_props CHANGE content MEDIUMTEXT;
change those things to reflect your settings.
-
Pierre M.
Re: very long pages being cut off
Hello,
this fixes Catherine's 64k limit, but is it a solution ?
-she still may be hurt by a hosting PHP time/memory limit.
-it may brake CMSms upgrades (at least for Catherine).
Is this TEXT to MEDIUMTEXT going mainstream (feeded into SVN) ?
Shouldn't users make pages <50k ? (tokenizing thesis in 50k linked chunks)
Just my 0,02¤ your opinions are welcome of course.
Pierre M.
this fixes Catherine's 64k limit, but is it a solution ?
-she still may be hurt by a hosting PHP time/memory limit.
-it may brake CMSms upgrades (at least for Catherine).
Is this TEXT to MEDIUMTEXT going mainstream (feeded into SVN) ?
Shouldn't users make pages <50k ? (tokenizing thesis in 50k linked chunks)
Just my 0,02¤ your opinions are welcome of course.
Pierre M.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: very long pages being cut off
I think 65,000 characters is a tad too small.... however you bring up valid points.
and we should make sure that this fix makes it into the 1.1 svn stream
However if pasting large files you could still be subject to timeouts, and theres very little we can do about that.
and we should make sure that this fix makes it into the 1.1 svn stream
However if pasting large files you could still be subject to timeouts, and theres very little we can do about that.
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.
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.
