Welcome to Geeklog, Anonymous Tuesday, April 23 2024 @ 02:25 am EDT

Geeklog Forums

Static page HTML limit


Status: offline

Bullfn33

Forum User
Junior
Registered: 04/14/07
Posts: 24
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!
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
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?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
See one of the many earlier discussions.

bye, Dirk
 Quote

Status: offline

Bullfn33

Forum User
Junior
Registered: 04/14/07
Posts: 24
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.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Status: offline

Bullfn33

Forum User
Junior
Registered: 04/14/07
Posts: 24
Quote 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



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?
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
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.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
 Quote

Status: offline

Bullfn33

Forum User
Junior
Registered: 04/14/07
Posts: 24
Ok, I'll keep that stuff in mind. Thanks again for the help.
 Quote

All times are EDT. The time is now 02:25 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content