Topic on Project:Support desk

[RESOLVED] After editing page, page is not redirecting.

4
Swami-elevati (talkcontribs)

MediaWiki : 1.23.2 PHP : 5.4.30 MySQL : 5.6.19


I logged in and clicked on edit page, I was taken to page http://example.com/index.php?title=Title&action=edit

After I click on save page it redirects to http://example.com/index.php?title=Title&action=submit

and shows blank body content other layout on page is appearing but main content is not visible. Also there is div with class "mw-js-message" which should have some message but it is also blank and display:none.

But in general scenario it should redirect back to page with edited changes.

Thanks in advance.

Ciencia Al Poder (talkcontribs)

It looks like the POST data is being lost when you submit it.

Check Manual:$wgServer and be sure you have the same server name you're attempting to use, so it doesn't try to redirect automatically between www. and non-www. hostnames.

The server access log might help diagnosing the problem, if you see that after the POST request there's a strange redirect.

Swami-elevati (talkcontribs)

Thanks Ciencia Al Poder, Now page edit and redirection is working perfectly but the drop down options like Page & Tools are not opening.

If I keep $wgServer variable blank it works fine but when I set this variable it does not works.

Can you please help me in this.

Thanks, Swamiraj

Swami-elevati (talkcontribs)

Figure it out, added $wgLoadScript=""; in LocalSetting.php

Thanks,

Swamirajs

Reply to "[RESOLVED] After editing page, page is not redirecting."