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,966
  • Latest: safir45
Stats
  • Total Posts: 195,994
  • Total Topics: 21,325
  • Online today: 394
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 362
  • Total: 363
  • tino

strange � in articles and a 507 char. limit

Started by m771401, April 15, 2010, 10:23:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

m771401

Link to my site: http://hgcs.org
SMF version: 2.0rc3
TP version: 1.0b5-1
Theme name and version: Default/Curve
Browser Name and Version: Firefox/IE (latest versions)
Mods installed: Google Member Map 3.0, 2.0 beta 2; SMF Links Directory 1.2.2; SMF4iPhone-Mod 1.0; TinyPortal 1.099
Related Error messages: N/A

When creating an Article in HTML it will only except 507 characters.
I also can't save panel options when editing a article category.

This bad because I have over 50 articles.. If I edit any of them I lose the article.

I suspect it's a database issue.

I just uninstalled what mods I could and deleted all SMF and TP files. Installed everything fresh minus the database. All files are as they were from the packages. Unedited by me.

ZarPrime

m771401,

Since the topic you posted in was a bugtracker report that was marked solved (http://www.tinyportal.net/index.php?action=bugtracker;sa=bug533), I have split your post out to it's own topic and moved it to the Support Board.  Please Use the Posting Template at the Bottom of the Posting Guidelines and please give us as much information you can as to how you are getting this behavior to happen.

ZarPrime

m771401


m771401

I setup a new empty database, installed SMF 2.0rc3 and TP 1.0b5-1, and still seeing the character limit for html articles.

Blue Steel

as far as i know there has always been a limit on the size of articles.. going back to the early releases of TP
however there was a hack out thewre to increase the limit (yes theres still a limit) by changing the type of the field that the article is stored in in the database.

this limit is and has always been there because its stored in the DB and not as a file.

m771401

There is a limit.. but I'm getting truncated at 507 or so characters. That's hardly a simple paragraph.
Up until a week ago I was running smf 1.x and 0.98 of TP. I have over 50 articles that are several paragraphs in length with 4000+ characters.

Blue Steel

strange .. I've just checked articles on my site and they all look fine ( a lot are lot more than 507 characters)
all imported from TP 0.98 and earlier up through every revision.
also 507 characters is an odd number.. is it ALL articles stopping at 507 characters. or is it vairing lengths

ZarPrime

There is a limit to the size of articles (something just over 64,000 characters).  I don't know the exact number  but it's a lot more than 507.  And BlueSteel is correct.  This can be increased by changing the field type in the database.  I've never seen a problem like what you are describing.  Can you please attach a file containing one of your articles to your next post so that I can try it on my test site.

ZarPrime

m771401

Via phpMyAdmin I copied the text from my backup database for an article and copied into the same place in the new database and it took all the text.
So I'm not sure it's a database problem.

I think there is a problem in the article system.
A virgin database, clean default install of SMF and TP, and nothing else. It will not commit an article longer than a few sentences long. It's gets truncated ending with �.


m771401

Attached is the text (basic HTML) for an article that successfully worked in TP0.98.

This website is proudly hosted on Crocweb Cloud Website Hosting.