Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: tassie73 on September 24, 2013, 07:12:20 AM

Title: Personal Messages Error
Post by: tassie73 on September 24, 2013, 07:12:20 AM
Hi all,

Sometime this afternoon out of nowhere an error has popped its head up with the forum.

You can reply to or send a PM and it is actually delivered, but instead of going to the Personal Messages page you just get a blank screen! ???

If you hit refresh it brings up the error message that you have submitted the post already. All other functions seem okay.

I have made no changes today and the last change was done a few days ago without any errors.

I am sure it is a simple fix, just wondering where to start looking.

Thanks in advance for any help.

Chris
Title: Re: Personal Messages Error
Post by: tassie73 on September 24, 2013, 07:31:21 AM
*Update*

It also seems to be happening when a new topic is posted too now.... :(
Title: Re: Personal Messages Error
Post by: kat on September 24, 2013, 07:36:14 AM
Is this happening to everybody? Or, just you?
Title: Re: Personal Messages Error
Post by: tassie73 on September 24, 2013, 07:40:55 AM
Thanks for the prompt reply K@

It is everyone by the sounds of it. Had a few comments regarding it.

Thanks again.
Title: Re: Personal Messages Error
Post by: kat on September 24, 2013, 07:47:54 AM
To be honest, my hunch is that your host's having a bit of a slow-down and this'll probably right itself, soon.

Worth giving them a shout?

Before you do that, try going to Forum Maintenance and emptying the cache, to see if that helps.
Title: Re: Personal Messages Error
Post by: tassie73 on September 24, 2013, 07:54:49 AM
Thanks again K@

Will give it a go and also be patient... Well try to be anyway
Title: Re: Personal Messages Error
Post by: kat on September 24, 2013, 08:01:51 AM
I believe it's what you might call "One of those things". If you're on a shared server, for example, and someone else is hammering the Hell out of it, backing-up, or something, that can cause these sorts of slow-downs.

Maybe a server died and there're less of them sharing the load, whilst they fix it. That kinda thing.
Title: Re: Personal Messages Error
Post by: Cat McFarlane on October 01, 2013, 04:02:51 PM
I'm  having a similar error (Namecheap), Chris, where the page seems stuck on sending, yet the PM has gone through ... sometimes it doesn't, and says something about 'no server response', so I could well imagine it's server hiccups as you say, K@. Infuriatingly grrrr to have to keep remembering to copy the PM incase the page crashes ... I feel a tasmanian devil fit coming on, lol.  :)
Title: Re: Personal Messages Error
Post by: tassie73 on October 04, 2013, 08:58:42 PM
I got mine sorted, finally!

Turns out it was an error in the updated Tapatalk version that was causing the problems! It was also giving me the white screen of death on new topics too.

Was hard to get a solution from the Tapatalk developers, but once I did, it was a simple fix and then used a similar fix for the new topic issue. Site has returned to normal now :D

Do you run Tapatalk Cat?
Title: Re: Personal Messages Error
Post by: kat on October 05, 2013, 10:08:39 AM
Looks like she does... v3.7.2. by the look of it.

What were the fixes?
Title: Re: Personal Messages Error
Post by: Cat McFarlane on October 05, 2013, 10:40:57 AM
Thanks tassie and K@  :)


I did install Tapatalk way back, but had uninstalled it and just left it there, since Tapatalk support is so bad. I'm at an utter loss as to why this problem has suddenly begun ... I can't post, PM messages send but don't show they have, and now I can't send out newsletters either. Grrrrr!



Title: Re: Personal Messages Error
Post by: kat on October 05, 2013, 11:58:26 AM
Well, let's hope that Tassie sees my message and tells us the fixes. They might come in damned useful, for a lot of people. If they work, I might even add something to the Tapatalk mod description, or something. If we can get the mod author to add the fixes to the mod, itself, so much the better! :)
Title: Re: Personal Messages Error
Post by: Cat McFarlane on October 05, 2013, 12:33:14 PM
Quote from: K@ on October 05, 2013, 11:58:26 AM
Well, let's hope that Tassie sees my message and tells us the fixes. They might come in damned useful, for a lot of people. If they work, I might even add something to the Tapatalk mod description, or something. If we can get the mod author to add the fixes to the mod, itself, so much the better! :)


That sounds great, K@ ... yes, if Tassie can let us know, that really would help many, and to add that in to the Tapatalk info/get fixes done, would be awesome!  :)
Title: Re: Personal Messages Error
Post by: tassie73 on October 11, 2013, 06:23:27 PM
Sorry for the late reply guys, that thing called work got in the way....

The fix that worked for me was to remove the code:

global $boarddir;
     if (function_exists('tapatalk_push'))
     tapatalk_push_pm();
     else if(file_exists($boarddir . '/mobiquo/push_hook.php'))
     {
       include($boarddir . '/mobiquo/push_hook.php');
       tapatalk_push_pm();
     }


from the source/PersonalMessage.php file.

I was also having the same issue when a new topic was posted too, so I removed the same code from the source/Post.php file as well.

It was a bit if trial and error as the guys from Tapatalk are pretty vague. I am no coding expert, but I am having to learn pretty quick at times!

Good luck and if I can be of any other assistance just let me know.

Chris