The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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

3 posters

Go down

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

Post by Van-Helsing 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
Van-Helsing
Hyperactive

Male Posts : 2431
Reputation : 116
Language : English, Greek

http://itexperts.forumgreek.com/

Back to top Go down

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

Post by Ange Tuteur 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
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

Post by Van-Helsing 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
Van-Helsing
Hyperactive

Male Posts : 2431
Reputation : 116
Language : English, Greek

http://itexperts.forumgreek.com/

Back to top Go down

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

Post by Ange Tuteur 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
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

Post by Van-Helsing 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
Van-Helsing
Hyperactive

Male Posts : 2431
Reputation : 116
Language : English, Greek

http://itexperts.forumgreek.com/

Back to top Go down

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

Post by Ange Tuteur 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
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

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

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

Male Posts : 2431
Reputation : 116
Language : English, Greek

http://itexperts.forumgreek.com/

Back to top Go down

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

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

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

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

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

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

Male Posts : 2431
Reputation : 116
Language : English, Greek

http://itexperts.forumgreek.com/

Back to top Go down

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

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

Topic solved and archived


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

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

Male Posts : 51567
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top


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