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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 343
  • Total: 343

Really weird Article error (maybe a bug)

Started by MichaelVash7886, September 12, 2009, 04:12:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MichaelVash7886

Ok, so I added an HTML article called BigRome's Fat Princess Review.  I hit save after fixing it and it came back to the same page and I checked all options under details section that weren't already checked, added a global tag and hit save again.  I got this:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Fat Princess Review','tparticle_itemtags','globaltag_item','',0,'Review'' at line 2
File: boards/Sources/TPortalAdmin.php
Line: 359

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.10, while your database is at version 1.1.9. The above error might possibly go away if you execute the latest version of upgrade.php.

Before I give all extra info you need, this is a fresh install.  Installed it Monday, so I don't know what it could be talking about with 1.1.9,, but I guess that's more SMF support.  And it's been running great til today. at first I thought TP shout was giving me problems, but  I have tried again to get this and after adding in the apostropy it happened.  But after a second trial it only happened if I added a global tag.  Maybe this is a bug rather than support.

SMF: 1.1.10
TP 1 Beta 4
Theme:  Deja Vu
   Mod Name     Version     
1.    Additional Membergroups on Profile    1.0    
2.    Display Age and Location next to posts    1.0
3.    Redirection Boards    2.01    
4.    Ultimate Profile    0.8.5
5.    Aeva ~ Auto-Embed Video & Audio    6.9.101    
6.    TinyPortal    1.083    
7.    Hack's Park Shoutbox    2.0.2    
8.    Profile Music    1.0
9.    Delete Spam Posts 1.2    1.2    
10.    Global Announcements    1.0    
11.    Custom Profile Field Mod    3.20    
12.    Auto Merge Double Post    1.2    
13.    Dilber MC    1.1    
14.    FlashChat Integration    1.0
15.    Member Color Link    3.0.7

IchBin

Just to be clear, you only get this error when creating/editing an article when adding a tag? Sounds like a bug, I'll try it out tomorrow when I get a chance.

MichaelVash7886

#2
Sorry, to clarify.  It only seems to happen when I put an apostrophe(  '  )   in the title (haven't tried things like quotes) and add tags.   If I just add tags (no apostrophe in the title) then it seems to work fine.  If I create an article with an apostrophe in the title but don't add a tag it seems to be fine.  If I create an article with both I get the above.

Edit:  I beat you to the reply.

IchBin

Ok, so adding a tag or adding an apostrophe in the title. Just want to make sure I'm testing the same things you are. :)

MichaelVash7886

An apostrophe in the title AND adding a global tag.  Either or seems to be fine, but both together give me that.

Renegd98

I just tried it and played around with it.

If you put the apostrophe and global tag on the edit after saving the first time you get the error.

If you tag a global tag and then save and then go back and out the apostrophe it works.

So there is a bug here.

lets see if you get the same Ichbin.

IchBin

I did not get an error when I put an apostrophe in the title and added a new tag at the same time. All this from editing an old article. I will try a new one in just a second.

IchBin

Didn't get the error after creating a new article either. No bug for me! :)

ZarPrime

Hmmm, seems like it happens to me as well, but only when I try to add a new tag from the article screen.  It seems to be somewhat intermittent but the error does happen.  The first couple of times I did it when using an existing tag it didn't give me the error.  I think more experimentation is needed on this.

ZarPrime

G6Cad

As IchBin I cant see this on my sites eather, tried several articles and article typs, added tags and removed tags but it seems to work for me with out any issues so far  :)

This website is proudly hosted on Crocweb Cloud Website Hosting.