i have installed Mediawiki at /var/www/mysite/mediawiki and set this as the MediaWiki directory in the MediaWiki integration settings page.

I have left the interwiki settings blank

I am getting the following error

Fatal error: Class name must be a valid object or a string in /var/www/mysite/mediawiki/includes/db/LBFactory.php on line 21

i am running MySql 5,Php5 and Apache2 and drupal5-10

the name of my MediaWiki database is wikidb

if i go to http://localhost/mysite/wiki (which automatically changes to
http://localhost/mysite/node/add/wiki?edit[title]=Main+Page)
I see a submit wiki page

Also under 'Create Content' there is now a 'Create Wiki' option and new wiki entries are stored as
http://localhost/mysite/wiki/new-wiki-entry

Can someone please help me out with this problem.Any suggestions would be greatly appreciated.

Comments

lavanyashastri’s picture

"if i go to http://localhost/mysite/wiki (which automatically changes to
http://localhost/mysite/node/add/wiki?edit[title]=Main+Page)
I see a submit wiki page

Also under 'Create Content' there is now a 'Create Wiki' option and new wiki entries are stored as
http://localhost/mysite/wiki/new-wiki-entry"

sorry but please ignore the above lines.They were due to another custom wiki module i had installed
the rest of the problems remain however

maugsburger’s picture

I had a similar problem, and it was because I was using a recent version of mediawiki, so I fixed it by downgrading to 1.10.