TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 606
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 247
  • Total: 247

articles: error

Started by barnic, April 08, 2008, 03:21:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

barnic

TP 1.05 - SMF1.1.4

i'm using WhizzyWig as editor for html articles because FCKEditor doesn't work (see: http://www.tinyportal.net/index.php?topic=23157.0)

when i put a long articles i receive this error:

Data too long for column 'body' at row 1
File: .........Sources\TPortalAdmin.php
Row: 1673


in TP 0.98 - SMF 1.1.4
I insert the same articles with FCKEditor without problems

thanks
nicola

barnic

the same error appears also with the FCKeditor


Is there a limit now for the body text in articles?

JPDeni

It hasn't changed from .983 to 1.05. The field type for the article body is "longtext", 2^32, which is 4,294,967,296 characters. That's an awfully long article.

barnic

#3
thankyou
I don't know why.....but in my DB the body field was "text"
I've just change this value and now it works!
bye
nicola

This website is proudly hosted on Crocweb Cloud Website Hosting.