Hello, all.
After a seemingly smooth installation, I find that my out-of-the-box wiki exhibits the following behavior -
When I visit http://localhost/mediawiki/, I get redirected to http://localhost/mediawiki/index.php?title=Main_Page, which announces a successful installation.
When I click on most any link on that main page, I get about what I would expect.
However, when I click on the Logo placeholder at the top-left of the page, or on the Main Page link in left navigation area, I get an empty page - visually empty and view-source empty as reported by Firefox. (I've confirmed the same behavior with IE.)
Only when I do a hard refresh (Ctrl-F5) will the Main Page appear with content.
Here is the $wgDebugLogFile that results from a click on the Main Page left-nav link -
Main cache: FakeMemCachedClient Message cache: MediaWikiBagOStuff Parser cache: MediaWikiBagOStuff Fully initialised Unstubbing $wgContLang on call of $wgContLang->checkTitleEncoding from WebRequest::getGPCVal Unstubbing $wgUser on call of $wgUser->isAllowed from Title::userCanRead Unstubbing $wgLoadBalancer on call of $wgLoadBalancer->getConnection from wfGetDB Unstubbing $wgOut on call of $wgOut->setSquidMaxage from MediaWiki::performAction Language::loadLocalisation(): got localisation for en from source Unstubbing $wgLang on call of $wgLang->getCode from User::getPageRenderingHash OutputPage::checkLastModified: -- client send If-Modified-Since: Thu, 26 Apr 2007 17:04:40 GMT OutputPage::checkLastModified: -- we might send Last-Modified : Thu, 26 Apr 2007 17:04:40 GMT OutputPage::sendCacheControl: private caching; Thu, 26 Apr 2007 17:04:40 GMT ** OutputPage::checkLastModified: CACHED client: 20070426170440 ; user: 0 ; page: 20070425191920 ; site 20070426170440 Request ended normally
I've installed -
MediaWiki 1.9.3 PHP 5.2.1
Environment is -
Windows XP existing mySQL: Ver 14.12 Distrib 5.0.37, for Win32 (ia32)
Any help will be appreciated.
Best,
C. Seelig
On 29/04/07, Charles Seelig cseelig@penrose.com wrote:
However, when I click on the Logo placeholder at the top-left of the page, or on the Main Page link in left navigation area, I get an empty page - visually empty and view-source empty as reported by Firefox. (I've confirmed the same behavior with IE.)
1. Check the PHP error log (http://uk3.php.net/manual/en/ref.errorfunc.php) to find out what's happening 2. See if setting $wgDisableCounters = true; in LocalSettings.php works around the problem
Rob Church
To address item 1, I made two changes in php.ini -
error_reporting = E_ALL error_log = /tmp/phplog.txt
To address item 2, I added $wgDisableCounters = true; to LocalSettings.php.
Then, I restarted IIS. (My original post did not mention that I'm running IIS 5.)
Neither of these had any impact on the problem I reported.
I want to add that the change to PHP logging has not resulted in the creation of the log file that I named in the error_log directive. Is this expected? Is the runtime "warning free" or have I botched something?
Thanks.
C Seelig
Rob Church wrote:
On 29/04/07, Charles Seelig cseelig@penrose.com wrote:
However, when I click on the Logo placeholder at the top-left of the page, or on the Main Page link in left navigation area, I get an empty page - visually empty and view-source empty as reported by Firefox. (I've confirmed the same behavior with IE.)
- Check the PHP error log
(http://uk3.php.net/manual/en/ref.errorfunc.php) to find out what's happening 2. See if setting $wgDisableCounters = true; in LocalSettings.php works around the problem
Rob Church
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 29/04/07, Charles Seelig cseelig@penrose.com wrote:
error_log = /tmp/phplog.txt
Unix path?
Then, I restarted IIS. (My original post did not mention that I'm running IIS 5.)
You're running IIS 5...on Windows, I assume. A Unix path isn't valid. :)
Rob Church
Hi.
I fixed my log file reference in php.ini, restarted the server, and forced an error in index.php to confirm that PHP error logging is working.
That leaves my original problem open. To recap -
After a smooth installation, when I click on the Logo placeholder at the top-left of the page, or on the Main Page link in the left navigation area, I get an empty page - visually empty and view-source empty as reported by Firefox. (I've confirmed the same behavior with IE.) All other links take me to fully formed pages. Only when I do a hard refresh (Ctrl-F5) will the Main Page appear with content (after that first time when it does work).
Following Rob's suggestion, I set $wgDisableCounters = true. This had no impact on the behavior I'm reporting.
Rob Church wrote:
On 29/04/07, Charles Seelig cseelig@penrose.com wrote:
error_log = /tmp/phplog.txt
Unix path?
Then, I restarted IIS. (My original post did not mention that I'm running IIS 5.)
You're running IIS 5...on Windows, I assume. A Unix path isn't valid. :)
Rob Church
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hi.
In the article Installing_MediaWiki_on_Windows_XP_-_MediaWiki_1.9.2, there's a note that says -
Use notepad++ and find all files in c:\mediawiki with string
$_SERVER['REQUEST_URI']
To replace to IIS compatible name of variable
$_SERVER['SCRIPT_NAME']
Question - does c:\mediawiki mean "c:\mediawiki and all its subdirectories" - or does it only refer to files in the top-level directory?
Thanks.
C Seelig
mediawiki-l@lists.wikimedia.org