Nik wrote:
Hi there everyone.
I am running Mediawiki here at work on our local intranet. I am loving it, apart from one bug that I can't figure out:
If i make a link to a new page, and then I follow that link and add content to the new page, then i go back to the 1st page (with the link on it) the link will still show up as a blank page (red) and following it will go directly to the "edit this page". This happens even if I refresh the page! The only way to refresh is to edit the page and save. The same thing happens if I view the page on a different computer (I have to go into edit to refresh the page, refresh doesnt work by itself).
Bog standard redhat 8 almost, with php + MySQL. Server connected to a router (no cache I can see) going directly to 4 client computers. All computers are set to check for new pages every visit. IE6 latest version running on 98 and XP.
I run MRBS on the same server, and I have no problems with it. I would have thought if it was a cache problem, it would affect the MRBS as well.
I havent done the mod_rewrite thing maybe thats what is the problem? I can't appear to get mod_rewrite working properly, and the patch in the phase3 instalation wouldn't patch the mod_rewrite files at all.
If anyone has any ideas or can help, i would be most gratefull.
Cheers,
Nik
The problem is not obvious to me on first sight. Maybe it's obvious to someone else, but in the meantime, could you please provide us with some debugging info? Put this in wiki.phtml after the includes if it's not already there:
# Useful debug output wfDebug( "\nStart request\n" ); wfDebug( "$REQUEST_METHOD $REQUEST_URI\n" ); $headers = getallheaders(); foreach ($headers as $name => $value) { wfDebug( "$name: $value\n" ); } wfDebug( "\n" );
Now follow a link to a non-existent article, create the article, go back to the original page and hit reload. Then grab the debugging info for those requests from the debug log file. By default that is upload/log_dlJbnMZb.
-- Tim Starling <../t/starling/physics/unimelb/edu/au>