Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 08:22 pm EST
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
14
18
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
13
16
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
15
17
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)
17
13
Quote
All times are EST. The time is now 08:22 pm.
- 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