You could try downgrading PHP to 5.2, which seems to have fixed the "PHP Fatal error: Call to a member function getCacheTime() on a non-object" for some in the past. Note that I googled "PHP Fatal error: Call to a member function getCacheTime() on a non-object" to learn this and am unsure whether it's still relevant, but my wiki uses 5.2.14-pl0-gentoo (apache2handler) so I know it works.
Here are instructions for Linux: http://www.badzilla.co.uk/openSUSE-11.2-Downgrade-PHP-5.3-to-5.2 <http://www.badzilla.co.uk/openSUSE-11.2-Downgrade-PHP-5.3-to-5.2> On Thu, Feb 17, 2011 at 10:35, <[email protected]> wrote: > > Hi Jim, > > Thanks for your fast reply. I did what you mentioned (remove the config > directory and set the permissions of LocalSettings.php file to 644). Then, I > refreshed the browser and nothing changes, all blank. The error message from > /var/log/apache2 continues saying the same, surprisingly: > > [Thu Feb 17 16:32:27 2011] [error] [client 10.201.97.165] PHP Warning: > Parameter 2 to Parser::parse() expected to be a reference, value given in > /var/www/mediawiki/includes/StubObject.php on line 58, referer: > http://bioinfold/wiki/config/index.php > [Thu Feb 17 16:32:27 2011] [error] [client 10.201.97.165] PHP Fatal error: > Call to a member function getCacheTime() on a non-object in > /var/www/mediawiki/includes/Article.php on line 3387, referer: > http://bioinfold/wiki/config/index.php > > > Núria > > > -----Mensaje original----- > De: [email protected] [mailto: > [email protected]] En nombre de Sullivan, James > (NIH/CIT) [C] > Enviado el: jueves, 17 de febrero de 2011 16:26 > Para: 'MediaWiki announcements and site admin list' > Asunto: Re: [Mediawiki-l] I CAN NOT INSTALL MEDIAWIKI > > From a quick glance I see a few problems: > > You said: > [...] and deleted the config directory and changed LocalSettings.php > permission to 600. > > The log says: > [error] ... referer: http://bioinfold/wiki/config/index.php > > Since the config directory was deleted how can the referrer be from the > config directory? > Also, I normally set the LocalSettings.php file to be 644, which is what I > believe is recommended. Not sure what a 600 permission level will do. > > -Jim > > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Thursday, February 17, 2011 10:16 AM > To: [email protected] > Subject: [Mediawiki-l] I CAN NOT INSTALL MEDIAWIKI > > Dear all, > > MediaWiki version that I'm trying to install: 1.13.0 > > PHP 5.3.2 > > MySQL 5.1.41 > > URL: NO, the server is in a restricted LAN > > > > I'm trying to install the mediawiki version compatible with the UCSC genome > browser: 1.13.0. After installing successfully mediaWiki suite, I received > the announce "Installation successful!", I moved the > config/LocalSettings.php file to the parent directory ( .. ) and deleted the > config directory and changed LocalSettings.php permission to 600. Then, I > clicked on "the follow this link to your wiki." and the result is nothing: a > blanck web page (http://localhost/wiki/index.php/Main_Page) in the > browser. I found this error on apache log error files in /var/log/apache2: > > > > [Thu Feb 17 15:23:26 2011] [error] [client 10.201.97.165] PHP Warning: > Parameter 2 to Parser::parse() expected to be a reference, value given in > /var/www/mediawiki/includes/StubObject.php on line 58, referer: > http://bioinfold/wiki/config/index.php > > [Thu Feb 17 15:23:26 2011] [error] [client 10.201.97.165] PHP Fatal error: > Call to a member function getCacheTime() on a non-object in > /var/www/mediawiki/includes/Article.php on line 3387, referer: > http://bioinfold/wiki/config/index.php > > > > I'm quite puzzled! Anyone has any idea? Any help will be very welcome! > > > > Best regards, > > > > Núria > > > > > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
