TinyPortal

Development => Support => Topic started by: thomaswebb on October 29, 2010, 09:05:05 PM

Title: Shoutbox \ instead of '
Post by: thomaswebb on October 29, 2010, 09:05:05 PM
I am having this issue, and I cannot find the fix for it anymore.

I found it once, but its nowhere to be found now.... I ahve searched every forum related to SMF an TP, but no luck. I remember its a simple fix, so any help is appreciated.

Everytime someone types a word with an apostrophe in it, it adds a \.

Example;

It's turns into It\'s

How do I fix this
Title: Re: Shoutbox \ instead of '
Post by: lurkalot on October 29, 2010, 11:15:00 PM
A bit more info would help us to help you.  ;)

Link to my site: http://www.yourdomain.com
SMF version: SMF ver. here
TP version: TP ver. here
Theme name and version: Theme name here
Browser Name and Version: Browser name/version here
Mods installed: Mods listed here
Related Error messages: Error message here
Title: Re: Shoutbox \ instead of '
Post by: thomaswebb on October 30, 2010, 01:39:54 AM


Link to my site: http://lyonesse-eve.com
SMF version: 1.1.11
TP version: 1.0 RC1
Browser: IE9 Beta
Mods installed: EVE online API tool
Theme: Crystal theme by Sempatura

It did this on our last site (we recently changed hosts and so I reinstalled SMF, TP, everything. I found the code I needed ot change last time, but I can't find it again. This problem persists with every client that connects no matter what browser.
Title: Re: Shoutbox \ instead of '
Post by: Lucutious on November 08, 2010, 03:13:15 PM
Was this fix ever found?  I am having the same issues;

Link to my site:  http://www.harmswayguild.com (Although the public cannot see my shoutbox.  PM me for login information if needed.)
SMF version: 1.1.12
TP version: v1.0 Release Candidate 1.
Theme name and version: Flagrant (by Crip)
Browser Name and Version: Any/all -
Mods installed: This occurs an new install of 1.1.12 and TP v1.0 RC1
Related Error messages: All apostrophies turn to slashes.
Title: Re: Shoutbox \ instead of '
Post by: thomaswebb on November 08, 2010, 11:47:14 PM
As far as I know, there has not been a fix found for this yet... I have been waiting for a few weeks to hear back on this, but still nothing.
Title: Re: Shoutbox \ instead of '
Post by: lurkalot on November 08, 2010, 11:58:21 PM
I haven't a clue, but doing a bit of reading up.  Is this anything to do with it?

http://www.simplemachines.org/community/index.php?topic=257973.msg2683512#msg2683512

And the solution,

http://sourceforge.net/apps/mediawiki/ajax-chat/index.php?title=Slashes_before_apostrophes
Title: Re: Shoutbox \ instead of '
Post by: thomaswebb on November 09, 2010, 10:36:35 PM
That does look like what I read before and used to fix it, however I cannot find AJAXchat.php anywhere on my server....
Title: Re: Shoutbox \ instead of '
Post by: lurkalot on November 09, 2010, 10:58:21 PM
It was the fact that you said you had changed hosts,

I wondered if it was something it mentioned in the second link,

"This bug appears to occur when PHP's magic_quotes_gpc is set to off in your server configuration."

Maybe this need to be set to ON, on your server. 
Title: Re: Shoutbox \ instead of '
Post by: Lucutious on November 10, 2010, 04:34:01 PM
I have a ticket in with my hosting provider with that exact request.

If they decide to NOT turn it on, then there's got to be a fix, right?
Title: Re: Shoutbox \ instead of '
Post by: IchBin on November 15, 2010, 10:38:19 PM
http://www.simplemachines.org/community/index.php?topic=27642.msg2851774#msg2851774