The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

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

View previous topic View next topic 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

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
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.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

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.

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
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.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

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=/,"")});

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
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.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

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?

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
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

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

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

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
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.


SLGray
Administrator
Administrator

Male Posts : 35672
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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