Yes but its not clear that this will not have side effects. The person who 
wrote it says it simply fixed the problem but it obviously was not thoroughly 
tested, so it might have side effects.  

If this does not work I think you have two options:
1) Downgrading your PHP to 5.2 as Bill Traynor explained in his message.
2) Use a newer version of Mediawiki.  You might try the latest minor version of 
1.13, which I believe is 1.13.5, which might have fixed this problem but still 
be compatible with your USCS genome browser. 

-Jim

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Thursday, February 17, 2011 11:10 AM
To: [email protected]
Subject: Re: [Mediawiki-l] I CAN NOT INSTALL MEDIAWIKI

Ok, then, what I have to do, delete this line on: includes/Setup.php : 244

- $wgParser = new StubObject( 'wgParser', $wgParserConf['class'], array(
$wgParserConf ) );

And add this one:

+ $wgParser = new $wgParserConf['class'] ($wgParserConf);

I'm not sure..

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:58
Para: 'MediaWiki announcements and site admin list'
Asunto: Re: [Mediawiki-l] I CAN NOT INSTALL MEDIAWIKI

Also ... 
http://www.mail-archive.com/[email protected]/msg06625.html has a 
fix noted at the end of the message that may fix your problem...

-Jim

-----Original Message-----
From: Sullivan, James (NIH/CIT) [C] 
Sent: Thursday, February 17, 2011 10:49 AM
To: 'MediaWiki announcements and site admin list'
Subject: Re: [Mediawiki-l] I CAN NOT INSTALL MEDIAWIKI

The problem looks exactly like a problem outlines in this bug report:
http://www.mail-archive.com/[email protected]/msg06379.html
with an explanation here:
http://www.mail-archive.com/[email protected]/msg06625.html

My guess is that this bug was fixed in later versions of Mediawiki but still 
exists for PHP 5.3.x for Mediawiki 1.13.0 and since you are using PHP 5.3.2 you 
are seeing the bug.  Maybe someone else can confirm this.  

You might want to install Mediawiki 1.16.2 (latest version) to verify that you 
can run the most recent version on your system.  If you can then try a 
reinstall of 1.13.0.  If the problem persists and you need 1.13.0 you probably 
need a different version of PHP.   If you have a system with an older version 
(before 5.3.0) of PHP you might want to try installing 1.13.0 there as well.

-Jim

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Thursday, February 17, 2011 10:36 AM
To: [email protected]
Subject: Re: [Mediawiki-l] I CAN NOT INSTALL MEDIAWIKI


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

Reply via email to