Hi, I suppose I did one thing I should not have done ....
Today I decided to try out the first 1.4 installation - since I already have a wakkawiki-installation in /wiki and another one of mediawiki 1.3.7 in another directory I installed 1.4 in a directory called just /w/
http://www.wesolveitnet.com/w/
Now I started to edit things and what happens is really strange - and I am just not sure if it depends on my browser or on the installation.
I modified the main page first and everything seemed ok. Then I modified again and the browser just did not show me the changes - no way ... even after several re-loads.
Now I noted the following: when I go to http://www.wesolveitnet.com/w/index.php?title=Main_Page I have the correct contents
whe I go to http://wesolveitnet.com/w/index.php?title=Main_Page I have the old contents
and this is really strange ....
So do you think it depends on my browser or did I choose a wrong directory name (I noted that when editing pages on the wikimedia servers it works in a directory called /w).
And if my installation is wrong: what do I need to do now? Do I have to re-install everything in another directory and then re-edit from scratch?
Thank's for any help.
Ciao, Sabine
On Fri, 04 Feb 2005 18:40:40 +0100, Sabine Cretella sabine_cretella@yahoo.it wrote:
I modified the main page first and everything seemed ok. Then I modified again and the browser just did not show me the changes - no way ... even after several re-loads.
My suspicion is that you didn't do a "forced" or "hard" refresh to by-pass the browser's cache - the exact method depends on the browser, but generally you have to hold down Shift or Control while doing a normal reload. So your browser still thinks the old version is perfectly valid, and doesn't bother downloading a new one.
The other alternative is that MediaWiki itself has cached the wrong version in some way, in which case adding "&action=purge" to the URL might have an effect.
http://www.wesolveitnet.com/w/index.php?title=Main_Page http://wesolveitnet.com/w/index.php?title=Main_Page
Those two pages look exactly the same to me, which is why I suspect this is just a caching issue of some kind.
So do you think it depends on my browser or did I choose a wrong directory name (I noted that when editing pages on the wikimedia servers it works in a directory called /w).
The directory name shouldn't matter in the slightest. The "/w/" in wikimedia's setup is just the way the Apache redirects are set up - "/wiki/Foo" is invisibly redirected to the actual location which is "/w/index.php?title=Foo" (this explanation may not be 100% technically accurate, but that's the basic idea).
Replying to my own mail: I tried to install in another subdirectory
http://www.wesolveitnet.com/wsiwiki/index.php?title=Main_Page
I have the same results when www is missing.
on
http://wesolveitnet.com/maiori/index.php?title=Main_Page with 1.3.7 I don't have these problems.
Is this a known issue?
Thanks!
Ciao, Sabine
Sabine Cretella wrote:
Hi, I suppose I did one thing I should not have done ....
Today I decided to try out the first 1.4 installation - since I already have a wakkawiki-installation in /wiki and another one of mediawiki 1.3.7 in another directory I installed 1.4 in a directory called just /w/
http://www.wesolveitnet.com/w/
Now I started to edit things and what happens is really strange - and I am just not sure if it depends on my browser or on the installation.
I modified the main page first and everything seemed ok. Then I modified again and the browser just did not show me the changes
- no way ... even after several re-loads.
Now I noted the following: when I go to http://www.wesolveitnet.com/w/index.php?title=Main_Page I have the correct contents
whe I go to http://wesolveitnet.com/w/index.php?title=Main_Page I have the old contents
and this is really strange ....
So do you think it depends on my browser or did I choose a wrong directory name (I noted that when editing pages on the wikimedia servers it works in a directory called /w).
And if my installation is wrong: what do I need to do now? Do I have to re-install everything in another directory and then re-edit from scratch?
Thank's for any help.
Sabine Cretella wrote:
Replying to my own mail: I tried to install in another subdirectory
http://www.wesolveitnet.com/wsiwiki/index.php?title=Main_Page
Ah great, the previous URLs you sent returned 404 not found errors, but this one is working.
The server is returning bogus Last-Modified headers, which is likely to cause caching problems: Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
This is certainly unusual, I've never seen it before.
http://wesolveitnet.com/maiori/index.php?title=Main_Page with 1.3.7 I don't have these problems.
The Last-Modified header seems correct here.
Can you tell us anything about your server configuration that might be relevant? Any unusual PHP settings? Operating system? etc? I notice that PHP is in CGI mode which is not customary, though this _ought_ not produce the effect being seen.
-- brion vibber (brion @ pobox.com)
Brion Vibber wrote:
Sabine Cretella wrote:
Replying to my own mail: I tried to install in another subdirectory
http://www.wesolveitnet.com/wsiwiki/index.php?title=Main_Page
The server is returning bogus Last-Modified headers, which is likely to cause caching problems: Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
This is certainly unusual, I've never seen it before.
I've poked at it a bit more. The timestamps seem to be correct internally, and it responds correctly to If-Modified-Since: headers on input (unless they list January 1, 1970 which becomes a special-case value... unfortunately this is exactly the case that gets hit with a browser due to the bogus Last-Modified headers). Being logged in or out doesn't seem to have an effect.
Turn on the debug log (set $wgDebugLogFile to point to a file which you can write to) and see what it's recording about caching. Once on, click on the 'main page' link twice in a row and look at the output. You should see near the end something like this:
-- client send If-Modified-Since: Sat, 05 Feb 2005 11:09:30 GMT -- we might send Last-Modified : Sat, 5 Feb 2005 11:09:30 GMT ** private caching; Sat, 5 Feb 2005 11:09:30 GMT ** CACHED client: 20050205110930 ; user: 20050205110930 ; page: 20050119094709 Request ended normally
Could you report the lines that appear in your debug log here?
Also, try adding a couple of extra debug lines into includes/OutputPage.php.
In checkLastModified() after this line: $lastmod = gmdate( 'D, j M Y H:i:s', wfTimestamp(TS_UNIX, max( $timestamp, $wgUser->mTouched ) ) ) . ' GMT';
add: wfDebug( "-- XX max: " . max( $timestamp, $wgUser->mTouched ) . "\n" ); wfDebug( "-- XX time: " . wfTimestamp( TS_UNIX, max( $timestamp, $wgUser->mTouched ) ) . "\n" );
-- brion vibber (brion @ pobox.com)
On Friday 04 February 2005 19:40, Sabine Cretella wrote:
and this is really strange ....
Check your site with a different browser.
mediawiki-l@lists.wikimedia.org