Posted on: 04/30/07 08:47pm
By: Bullfn33
It appears that there is a limit to the amount of HTML code you can enter into the content portion of a static page. Is there a way to expand the amount it will except?
Thank you for any help!
Re: Static page HTML limit
Posted on: 05/01/07 02:33am
By: jmucchiello
What is the limit? How much did you want to input and how much actually was allowed? What editor were you using? What version of Geeklog?
Re: Static page HTML limit
Posted on: 05/01/07 05:22am
By: Dirk
See
one of the many earlier discussions.
bye, Dirk
Re: Static page HTML limit
Posted on: 05/01/07 03:58pm
By: Bullfn33
according to that earlier discussion, I need to modify the my.cnf file. What folder is this located in? Is there a path to follow to get there? Do I use phpmyadmin?
I'm not sure what the limit is or how much is allowed. I'm trying to put an excel component in the static page so there is a lot of code. I don't know what editor it is and I'm using GL v1.4.0, I believe.
I'm a big time beginner with this stuff so I'm pretty clueless. Thanks for your help.
Re: Static page HTML limit
Posted on: 05/03/07 03:57pm
By: Dirk
my.cnf is the MySQL configuration file. Unless you're running your own server, you won't have access to it. And you shouldn't need to.
As explained in the other thread, staticpages use fields of type TEXT to store the text, which are limited to 64K. You can change the type of the sp_content field to type MEDIUMTEXT or LARGETEXT to get more (too lazy to look up the actual limits, sorry). And you can do that in phpMyAdmin.
bye, Dirk
Re: Static page HTML limit
Posted on: 05/03/07 05:34pm
By: Bullfn33
Quote by: Dirkmy.cnf is the MySQL configuration file. Unless you're running your own server, you won't have access to it. And you shouldn't need to.
As explained in the other thread, staticpages use fields of type TEXT to store the text, which are limited to 64K. You can change the type of the sp_content field to type MEDIUMTEXT or LARGETEXT to get more (too lazy to look up the actual limits, sorry). And you can do that in phpMyAdmin.
bye, Dirk
That seemed to help the problem, so thank you for the tip. Just out of curiosity, which option would allow me to insert the most amount of code, medium or large text?
Re: Static page HTML limit
Posted on: 05/03/07 10:07pm
By: jmucchiello
mediumtext can hold about 16Meg of text, largetext can hold 4Gig of data. You probably don't need anything bigger than a mediumtext. I can't imagine reading a 16Meg HTML page.
Re: Static page HTML limit
Posted on: 05/04/07 01:56am
By: Dirk
Also, you will probably run into other limits (HTTP POST limit of your browser or webserver, maybe even timeout issues) way before you hit 16 MB ...
bye, Dirk
Re: Static page HTML limit
Posted on: 05/04/07 04:40pm
By: Bullfn33
Ok, I'll keep that stuff in mind. Thanks again for the help.