Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Install Failed - didn't get a valid database resource

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


bthoen at gisnet

Nov 5, 2009, 2:47 PM

Post #1 of 3 (800 views)
Permalink
Install Failed - didn't get a valid database resource

Hopefully this is an easy one, but I don't know where to start. I just
tried to install MediaWiki 1.15.1 on my Fedora Core 9 Linux box, but it
failed to install claiming that it got a bad resource.

Here's what the installer said:
Checking the version of Postgres...
*Warning*: pg_version(): supplied argument is not a valid PostgreSQL
link resource in */var/www/html/wiki/includes/db/DatabasePostgres.php*
on line *1078*
*FAILED*. Required version is 8.1. You have 7.3 or earlier

But I know I have version 8.3.3. loaded so I don't know how it's coming
up with this conclusion. I wrote a little PHP script to double-check
pg_version(), and as expected, I got:
Version is 8.3.1
Server is 8.3.3
Protocol is 3

Does anyone know how I can fix this and get this wiki wiki'ing?
Many thanks!
- Bill Thoen


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


overlordq at gmail

Nov 5, 2009, 3:27 PM

Post #2 of 3 (753 views)
Permalink
Re: Install Failed - didn't get a valid database resource [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Bill Thoen wrote:
> Hopefully this is an easy one, but I don't know where to start. I just
> tried to install MediaWiki 1.15.1 on my Fedora Core 9 Linux box, but it
> failed to install claiming that it got a bad resource.
>
> Here's what the installer said:
> Checking the version of Postgres...
> *Warning*: pg_version(): supplied argument is not a valid PostgreSQL
> link resource in */var/www/html/wiki/includes/db/DatabasePostgres.php*
> on line *1078*
> *FAILED*. Required version is 8.1. You have 7.3 or earlier
>
> But I know I have version 8.3.3. loaded so I don't know how it's coming
> up with this conclusion. I wrote a little PHP script to double-check
> pg_version(), and as expected, I got:
> Version is 8.3.1
> Server is 8.3.3
> Protocol is 3
>
> Does anyone know how I can fix this and get this wiki wiki'ing?
> Many thanks!
> - Bill Thoen

You input invalid usernames and/or passwords for (likely) the superuser
or wiki db account name. This error message is slightly ambiguous and
was fixed in newer version of MW.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEAREIAAYFAkrzX2EACgkQ69PBoSWyJd5ofwCfUYCdimQ86kcD7SLyUiwLBKgU
tFAAnj66ZzTBJbobXZbWi0DP1hDYlxpk
=HLFO
-----END PGP SIGNATURE-----

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


bthoen at gisnet

Nov 5, 2009, 8:05 PM

Post #3 of 3 (752 views)
Permalink
Re: Install Failed - didn't get a valid database resource [In reply to]

Q wrote:
> You input invalid usernames and/or passwords for (likely) the superuser
> or wiki db account name. This error message is slightly ambiguous and
> was fixed in newer version of MW.
>
Thanks Q! I had forgotten to set up the database and I didn't supply the
su with a password. So much for reading the "quick start" docs -- they
don't mention the database at all, and it took me a moment to see the
obvious. Duh!


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.