Advertisement:
GCWebhosting

Author Topic: Preview hangs if user types an apostrophe in their message...  (Read 6042 times)

Offline johnmck6

  • Semi-Newbie
  • *
  • Posts: 14
Re: Preview hangs if user types an apostrophe in their message...
« Reply #20 on: June 07, 2014, 11:46:32 AM »
I emailed them a detailed description of the issue, hopefully they can figure it out.

If this helps, I created a phpversion file:

http://www.jpmckay.com/phpversion.php [nofollow]

(I'm no expert at this stuff, just googled how to find out the version...)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,216
    • StoryBB/StoryBB on GitHub
Re: Preview hangs if user types an apostrophe in their message...
« Reply #21 on: June 07, 2014, 11:54:27 AM »
Well, I already knew it was PHP 5.3.28 since the server admits as much quite happily (as is standard for PHP), but unfortunately this isn't a PHP configurable thing, this sounds like an issue with mod_security under the hood which is an Apache module (and the server admits it's running Apache)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline johnmck6

  • Semi-Newbie
  • *
  • Posts: 14
Re: Preview hangs if user types an apostrophe in their message...
« Reply #22 on: June 07, 2014, 12:48:28 PM »
Waiting for a reply from them.

Interestingly, I noticed a new quirk.

If I type a reply without any apostrophes, then preview it, it previews fine. Then, sometimes, if I go back and insert an apostrophe into that reply, it will preview fine. But extending the reply by adding a letter at the end makes it no longer preview.

Weirdness


Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,216
    • StoryBB/StoryBB on GitHub
Re: Preview hangs if user types an apostrophe in their message...
« Reply #23 on: June 07, 2014, 12:50:59 PM »
That definitely sounds weird :-/
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline johnmck6

  • Semi-Newbie
  • *
  • Posts: 14
Re: Preview hangs if user types an apostrophe in their message...
« Reply #24 on: June 07, 2014, 10:13:58 PM »
OK, well it's not very satisfying but the problem is resolved.

The solution was to move my account to another server, in another data center, but still owned by the same hosting company. The guy from support was very helpful, and we tried about a million things. In the end, though, it was just a hunch I had that moving to another server would solve it, and it did, for now.

Thanks for the help, I learned a lot!

Offline Ninja ZX-10RR

  • SMF Hero
  • ******
  • Posts: 2,150
  • Gender: Male
  • Sniper Legends
    • Flavio93Zena on Facebook
    • Virtual Interactive Games Entertainment Forum
Re: Preview hangs if user types an apostrophe in their message...
« Reply #25 on: June 07, 2014, 11:45:08 PM »
I don't know what you think arantor but to me they moved it to a server with mod_security disabled and maybe different settings. What do you think? I was following this topic but no way I could answer better than you so I was just shutting up. But then? Mod_security off and there it goes? It sounds so weird as regards the relative behaviour though...
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.
♥ Jess ♥

STOP EDITING MY PROFILE

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,216
    • StoryBB/StoryBB on GitHub
Re: Preview hangs if user types an apostrophe in their message...
« Reply #26 on: June 07, 2014, 11:47:54 PM »
I think you've nailed it, honestly. Since the software didn't change between server moves, and neither did the browser, the only thing that's different is the server.

Which means it's almost certainly something funky in the configuration - and mod_security is by far the usual culprit, though by no means the only one.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Ninja ZX-10RR

  • SMF Hero
  • ******
  • Posts: 2,150
  • Gender: Male
  • Sniper Legends
    • Flavio93Zena on Facebook
    • Virtual Interactive Games Entertainment Forum
Re: Preview hangs if user types an apostrophe in their message...
« Reply #27 on: June 07, 2014, 11:49:22 PM »
Copy that thank you as always  :D
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.
♥ Jess ♥

STOP EDITING MY PROFILE

Offline johnmck6

  • Semi-Newbie
  • *
  • Posts: 14
Re: Preview hangs if user types an apostrophe in their message...
« Reply #28 on: June 08, 2014, 12:11:45 AM »
They said they turned off mod_security and tried various things, but to no avail. The weird thing was that he couldn't replicate the behavior on his end. When I finally got him to install another instance of SMF into a test account (rather than my account) and it worked fine, he agreed that something was funky, but he couldn't find it. Moving to another server was just a hunch.

I'm sure it had to do with a configuration somewhere, but he never did isolate it. We worked on it via chat for about 3 hours.

Offline Ninja ZX-10RR

  • SMF Hero
  • ******
  • Posts: 2,150
  • Gender: Male
  • Sniper Legends
    • Flavio93Zena on Facebook
    • Virtual Interactive Games Entertainment Forum
Re: Preview hangs if user types an apostrophe in their message...
« Reply #29 on: June 08, 2014, 12:46:50 AM »
They said they turned off mod_security and tried various things, but to no avail. The weird thing was that he couldn't replicate the behavior on his end. When I finally got him to install another instance of SMF into a test account (rather than my account) and it worked fine, he agreed that something was funky, but he couldn't find it. Moving to another server was just a hunch.

I'm sure it had to do with a configuration somewhere, but he never did isolate it. We worked on it via chat for about 3 hours.
My face reading this -->  :o well ok... At least we are glad you sorted that very weird thing out...
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.
♥ Jess ♥

STOP EDITING MY PROFILE

kat

  • Guest
Re: Preview hangs if user types an apostrophe in their message...
« Reply #30 on: June 08, 2014, 05:16:33 AM »
Sounds like your host is a good one. Not too often that we can say that. :)

Offline Ninja ZX-10RR

  • SMF Hero
  • ******
  • Posts: 2,150
  • Gender: Male
  • Sniper Legends
    • Flavio93Zena on Facebook
    • Virtual Interactive Games Entertainment Forum
Re: Preview hangs if user types an apostrophe in their message...
« Reply #31 on: June 08, 2014, 02:42:25 PM »
Sounds like your host is a good one. Not too often that we can say that. :)
Indeed. Tell us your host john, I believe they definitely need a good feedback for this.
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.
♥ Jess ♥

STOP EDITING MY PROFILE