Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 04:36 pm EST
Geeklog Forums
HTML story not working
YoYo
Anonymous
Whenever I try to post a long story using HTML, The story does not save. I get a blank screen. If I do a preview, I get my site with a blank space where the story should be. I do not know if it is due to length or some other limitation. I have searched the forums, and cannot find the length of a story, but this one is at about 900 words. It shows up fine in plain text, but will not convert to html.
7
12
Quote
YoYo
Anonymous
Yes, It works fine with a smaller story. The limit is somewhere in the 800 word area. The html is only paragraph markers. Is there a limit somewhere in the code that needs to be modified??
9
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Geeklog itself doesn't have a limit here.
The story text is stored in a MySQL TEXT field, which is limited to 64K. Also, your browser, webserver, PHP (or PHP settings) and the HTTP protocol may impose limits when sending the story's text (not sure what all those limits are).
bye, Dirk
The story text is stored in a MySQL TEXT field, which is limited to 64K. Also, your browser, webserver, PHP (or PHP settings) and the HTTP protocol may impose limits when sending the story's text (not sure what all those limits are).
bye, Dirk
7
9
Quote
YoYo
Anonymous
Is the 64K limit yours, or MySQL?? If it is Mysql, am I going to mess up anything else if I change it?? BTW, thanks for the help, you are very fast at answering these things.
8
12
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by YoYo: Is the 64K limit yours, or MySQL??
It's MySQL's limit for a field of type "TEXT". You could try changing the field type to "MEDIUMTEXT" or "LONGTEXT". Geeklog won't care but, as I said, the actual limitiation may be elsewhere ...
bye, Dirk
22
10
Quote
Status: offline
DTrumbower
Forum User
Moderator
Registered: 01/08/03
Posts: 507
It's MySQL. It is a configuration setting and unless you have your own server, you probabbly will not be able to change it.
It shouldn't mess anything up if you change it. But than again, I haven't tried it yet.
It shouldn't mess anything up if you change it. But than again, I haven't tried it yet.
9
6
Quote
YoYo
Anonymous
I have my own server, and am willing to try it. Can someone tell me the command to do it?? I will gladly report back and let you know if there are any issues with doing this. I am also going to see if I can mutter through the MySql docs and find the command on my own.
8
6
Quote
YoYo
Anonymous
I found it and changed it in MySQL. There is no difference. I changed the bodytext column in the gl_stories table to longtext, and there is no change. Where else can I look to resolve this??
7
8
Quote
YoYo
Anonymous
I found the problem. It is something to do with the <pre> tags. They are gone in the HTML after the preview, and I guess that is messing something else up. I went through all of my HTML, made sure all of my tags were clean opens and closes, and previewed. It worked like a charm.
Not sure why this happened, but like I mentioned, after a priview, the <pre> tags are all missing from the html section.
Not sure why this happened, but like I mentioned, after a priview, the <pre> tags are all missing from the html section.
6
7
Quote
Status: offline
Chalkhillian
Forum User
Chatty
Registered: 09/23/02
Posts: 67
I would check your config.php to see if the filter for admin/user html is configured correctly as far as 'pre' is concerned.
9
7
Quote
All times are EST. The time is now 04:36 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