What happened to message page "Your message has been posted..."?

Go down

Solved What happened to message page "Your message has been posted..."?

Post by Van-Helsing on April 6th 2015, 10:19 pm

Hello,
Today I watched something strange while posting the message page "Your message has been posted..." is not displaying more. Is it a server problem? As I tested it the problem appearing in PunBB forum version.


Last edited by Black-Shadow on April 9th 2015, 12:39 am; edited 1 time in total
avatar
Van-Helsing
Hyperactive

Male Posts : 2411
Reputation : 112
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: What happened to message page "Your message has been posted..."?

Post by Ange Tuteur on April 6th 2015, 10:50 pm

Hi,

Have you added the following code to JS codes management ?
Code:
$('meta[http-equiv=\'refresh\'][content]:first').each(function () {
  window.location.href = $(this).attr('content').replace(/^.*;url=/, '')
});

If so, that's why you're not seeing it.
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2917
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: What happened to message page "Your message has been posted..."?

Post by Van-Helsing on April 6th 2015, 10:57 pm

Hello Ange,
The js is not working, The problem is the message page not working correctly or working very fast. It displays a gray page for 1-2 seconds and then displays the post completely.
avatar
Van-Helsing
Hyperactive

Male Posts : 2411
Reputation : 112
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: What happened to message page "Your message has been posted..."?

Post by Ange Tuteur on April 7th 2015, 5:04 am

I can't really say what the problem could be. blackeye

I'd recommend disabling JS code management, because something there could be causing it. Normally the page redirects in 2-3 seconds.
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2917
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: What happened to message page "Your message has been posted..."?

Post by Van-Helsing on April 7th 2015, 11:02 am

Hello Ange,
Yes the problem seems solved when I am disabling the javascripts but I didn't add any new javascript yesterday which the problem appeared.
While looking the ipb profile javascript at the end of code I found a relative code with the problem, when I removed this part it is working normally but I don't know if this code will make other problem in the ipb profile javascript.

Here is the code:
Javascript:
Code:

    $("meta[http-equiv='refresh'][content]:first").each(function(){window.location.href=$(this).attr("content").replace(/^.*;url=/,"")});
avatar
Van-Helsing
Hyperactive

Male Posts : 2411
Reputation : 112
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: What happened to message page "Your message has been posted..."?

Post by Ange Tuteur on April 7th 2015, 10:26 pm

That automatically skips the message after posting. It loops all <meta> data. If it finds one with refresh it'll take the content URL and instantly redirect you to it.
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2917
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: What happened to message page "Your message has been posted..."?

Post by Van-Helsing on April 8th 2015, 1:38 am

Ange what is it better to leave this part in js or remove it?
avatar
Van-Helsing
Hyperactive

Male Posts : 2411
Reputation : 112
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: What happened to message page "Your message has been posted..."?

Post by Ange Tuteur on April 8th 2015, 11:48 pm

If you prefer skipping the message, leave it. If not, remove it. Wink
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2917
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: What happened to message page "Your message has been posted..."?

Post by Van-Helsing on April 9th 2015, 12:40 am

Hi Ange,
Thank you very much it's solved. Smile
avatar
Van-Helsing
Hyperactive

Male Posts : 2411
Reputation : 112
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: What happened to message page "Your message has been posted..."?

Post by SLGray on April 9th 2015, 12:45 am

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43494
Reputation : 3094
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum