TinyPortal

Development => Support => Topic started by: Nails on March 23, 2006, 10:01:44 PM

Title: Max table size in articles?
Post by: Nails on March 23, 2006, 10:01:44 PM
I want to use add an article to my forum that includes tables. There are three tables in the article, 43*7, 45*7 and 20*7 (around the 750 cell mark) and about 50 odd lines of text. When I paste this in to the â€ËÅ"Add Article’ window and Send most of the page is lost. About ÂÃ,¾ of the first table is displayed then the page ends. I’ve tried doing it as three separate articles but this has had no effect.

For reference, the full file I’m coping from is only about 140kb.

Is this something to do with a max table size, max number of cells, upload restrictions or something else that I’m missing?

The page can be seen here if it'll be any help: http://www.sinergylarp.com/forum/index.php?page=26 (you can see the last word displayed in the last column is cut off part way though).

I’m using TP v0.8.6 with SMF 1.1 RC2.

The mods I have installed are:
   Hide Board 1.0   
   MySQL 5.0.12 Compatibility Update 1.0 
   Gallery 2 Integration 1.0beta 
   PJIRC Integrated Chat Mod 2.0   
   Member Color Link 1.87   


Any ideas anyoneâ€Ã,¦?
Title: Re: Max table size in articles?
Post by: Ray on March 23, 2006, 10:37:15 PM
Have you tried eframes??
Title: Re: Max table size in articles?
Post by: Nails on March 24, 2006, 06:55:03 PM
No. I don't even know what they are.

Is that a part of TP?
Title: Re: Max table size in articles?
Post by: IchBin on March 24, 2006, 09:59:18 PM
I think he meant to say iframes. That's an html object.
Title: Re: Max table size in articles?
Post by: Lesmond on March 24, 2006, 10:19:19 PM
You love your eframes (erm sorry Iframes) dont you Ray :)
Title: Re: Max table size in articles?
Post by: G6Cad on March 24, 2006, 10:37:35 PM
An iframe is like IchBin say. <iframe>your content</iframe> within an article
Title: Re: Max table size in articles?
Post by: Nails on March 25, 2006, 01:05:35 PM
OK, that works. Thanks.

Out of interest, does anyone what the cause of the original problem was? It'd be handy to know for forum users wanting to submit such articles (I'm sure some folks would find the concept of having to upload a page and then link to it somewhat defeating to the convenience of submitting the article in the first place).
Title: Re: Max table size in articles?
Post by: bloc on March 25, 2006, 07:55:57 PM
It might be down to the TEXT type used to store article texts in the databse table. You might need LONGTEXT for it instead.
Title: Re: Max table size in articles?
Post by: Ray on March 26, 2006, 07:58:04 AM
Quote from: lesmond on March 24, 2006, 10:19:19 PM
You love your eframes (erm sorry Iframes) dont you Ray :)
LOL opps
Title: Re: Max table size in articles?
Post by: IchBin on March 26, 2006, 08:44:28 AM
Quote from: Ray on March 26, 2006, 07:58:04 AM
Quote from: lesmond on March 24, 2006, 10:19:19 PM
You love your eframes (erm sorry Iframes) dont you Ray :)
LOL opps

You can't even spell oops either..... :D :2funny:
Title: Re: Max table size in articles?
Post by: Ray on March 27, 2006, 07:17:34 PM
Spell check :idiot2: 
Title: Re: Max table size in articles?
Post by: Blue Steel on March 27, 2006, 10:29:07 PM
I wish that there was a way to choose wether an article or blocks content could be stored as a file rather than in the Data base .. that way one could have larger articles etc
Title: Re: Max table size in articles?
Post by: bloc on March 28, 2006, 08:32:19 PM
It would mean to add another "system" of importing and writing files...

But how about importing bigger html files by creating a php article and simply "include('html-file');"? You need to edit it outside of TP of course..but it should be possible to have bigger files then.
Title: Re: Max table size in articles?
Post by: Blue Steel on March 30, 2006, 02:11:15 AM
Which is Quicker and or less system load .. reading the stuff from the DB or reading it from a file ???

Title: Re: Max table size in articles?
Post by: bloc on March 30, 2006, 04:02:13 PM
Basically, the db is already optimised..reading in files other than just including them, will require some system to extract and update the info.