Welcome to Geeklog, Anonymous Monday, December 30 2024 @ 11:39 am EST

Geeklog Forums

Static Page limit


Status: offline

akerin

Forum User
Junior
Registered: 08/22/02
Posts: 19
Is there a limit on the number of lines/amount of data that can be held in a static page - it looks like I have 69094 characters or so and 2400 lines? Alex www.kerin.us EDIT: I am also using htmlarea, so it\'s possible that has a limit.
 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
The content is stored in a Text data type, which has a max size of 65535.
 Quote

Status: offline

xspace

Forum User
Regular Poster
Registered: 03/04/03
Posts: 100
Juz the thread I need .. is there ANY way to UP the limit ??????
Die young, stay Pretty
 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
You could modify the table and make it a mediumtext or largetext. Don\'t know if there would be any problems, but I\'m guessing not. Give it a try and let me know. Don\'t forget that you made the change during upgrade time.
 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
You will probably run into the limit imposed by mysql, max_allowed_packet which is default to 65536 bytes.
 Quote

Status: offline

xspace

Forum User
Regular Poster
Registered: 03/04/03
Posts: 100
Is there anyway to over come this ????????
Die young, stay Pretty
 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
Change the data type in the table and change the mysql config parameter.
 Quote

Status: offline

xspace

Forum User
Regular Poster
Registered: 03/04/03
Posts: 100
Sorry I really do not know how to do this .. anyone able to gimme some concise instructions?? Really sorry abt tt ...
Die young, stay Pretty
 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
Are you on a local sever or hosted?
 Quote

Status: offline

xspace

Forum User
Regular Poster
Registered: 03/04/03
Posts: 100
Quote by DTrumbower: Are you on a local sever or hosted?
I am on a local ....
Die young, stay Pretty
 Quote

Status: offline

xspace

Forum User
Regular Poster
Registered: 03/04/03
Posts: 100
Upz ... Question
Die young, stay Pretty
 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
In mysql you would modify the my.cnf file with this setting set-variable = max_allowed_packet=1M. You can use phpmyadmin and modify the table staticpage and change the column sp_content to a mediumtext.
 Quote

Status: offline

wheelsofterror

Forum User
Regular Poster
Registered: 09/02/06
Posts: 78
Where's the my.cnf file? Not sure how to access mysql on godaddy. When I click mysql, it opens myphpadmin.

I used phpmyadmin and modified the table staticpage and changed the column sp_content to a longtext? Will I see an error once I reach the new max or will it cause a bigger issue? It fits now but for how long? It's a list of links to my stories/reviews..up to 387. http://www.wheelsofterror.com/staticpages/index.php?page=Reviews-Movies
 Quote

All times are EST. The time is now 11:39 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