Welcome to Geeklog, Anonymous Saturday, December 28 2024 @ 07:00 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.
19
12
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.
17
15
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.
31
17
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.
12
14
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.
10
18
Quote
Status: offline
DTrumbower
Forum User
Moderator
Registered: 01/08/03
Posts: 507
Are you on a local sever or hosted?
14
19
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.
10
13
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
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
10
12
Quote
All times are EST. The time is now 07:00 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