Welcome to Geeklog, Anonymous Saturday, April 20 2024 @ 09:34 am EDT
Geeklog Forums
Pages are cut after certain length
lee
Anonymous
Hi every one,
I have this problem of if a static page is too long (text), it is being cut. Do you know if this is a limit of geeklog or is there any setting that we can fixed.
thanks a lot
I have this problem of if a static page is too long (text), it is being cut. Do you know if this is a limit of geeklog or is there any setting that we can fixed.
thanks a lot
7
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
To be more precise: The sp_content field is of type TEXT which is limited to 64 KB. Changing the type to MEDIUMTEXT would give you 16 MB theoretically, but your browser and/or webserver will probably throw in the towel much earlier.
bye, Dirk
bye, Dirk
6
8
Quote
lee
Anonymous
Hi Dirk,
I found:
CREATE TABLE {$_TABLES['staticpage']} (
sp_id varchar(40) NOT NULL default '',
sp_uid mediumint( NOT NULL default '1',
sp_title varchar(12 NOT NULL default '',
sp_content mediumtext NOT NULL,
I changed sp_content from text to mediumtext, but I don't know if that line is correct like that or not. It still doesn't extend more text for me.
thanks
I found:
CREATE TABLE {$_TABLES['staticpage']} (
sp_id varchar(40) NOT NULL default '',
sp_uid mediumint( NOT NULL default '1',
sp_title varchar(12 NOT NULL default '',
sp_content mediumtext NOT NULL,
I changed sp_content from text to mediumtext, but I don't know if that line is correct like that or not. It still doesn't extend more text for me.
thanks
5
9
Quote
lee
Anonymous
I just change the line in mysql_tableanddata.php file
(don't know how to change in the database itself)
(don't know how to change in the database itself)
8
5
Quote
All times are EDT. The time is now 09:34 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