Phil wrote:
I've tried installing mediawiki 1.4.7 multiple
times already with
different settings; can anyone advise me on getting this working (or is
Mediawiki 1.5 coming soon without these issues?
Try installing 1.5beta3 and see.
(Q) Is it possible that php 5.0.4's default is to
use the new 4.1 mysql
passwords?
Might be, or it might not; I haven't tested FC4 to see how they've
compiled it. Set up a script like this:
<?php phpinfo() ?>
And check the MySQL section for the client library version. The
MediaWiki 1.5 installer should include a warning message if it detects
the older version.
... in which case forcing mysql to use the old
passwords is a problem?
Setting old passwords with a new client library should work absolutely fine.
Setting new passwords with a new client library should work absolutely fine.
Setting new passwords with an old client library? That's what doesn't
work. :D
Context:
OS: Fedora Core 4 x68_64
mysql -V: mysql Ver 14.7 Distrib 4.1.11, for redhat-linux-gnu (x86_64)
yum info php: Installed Packages: Name: php; Arch; x86_64; Version:
5.0.4; Release: 10.3
TurckMMcache installed & detected by mediawiki/config/config/index.php
webform and
memcached 1.1.12 running
On first try, using memcached, the configuration seemed to be
successful, told me to go to
http://localhost/wiki/index.php
which states only:
: Sorry! The wiki is experiencing some technical difficulties, and
cannot contact the database server.
Try also disabling turck & memcache.
I don't understand since I can log into mysql by
mysql -u wikiuser -p
The MySQL command-line client will generally be compiled using the
current libraries, as the packages are built from the same source. Thus
it should generally work, even if PHP is using the old libraries.
---- An attempted dead end: ----
Moving the file LocalSettings.php and re-attempting the config webform
with any choice of caching gives six copies of :
Warning: array_key_exists() [function.array-key-exists]: The second
argument should be either an array or an object in
/var/www/html/mediawiki-1.4.7/includes/User.php on line 716
That probably shouldn't happen, but sounds harmless. Where exactly did
you get this?
and other complaints which I assume have to do with
attempting to create
already created databases and/or users.
Can you include those? Rerunning the installer after a successful
installation will only run updaters, not creation of tables.
Reinstallation experiments showed that provided the
wikiuser and wikidb
were dropped first,
the configuration program was successfully able to login and create
wikidb and authorize the wikiuser.
so I deleted the wiki directory, in mysql deleted wikiuser and wikidb,
and reinstalled without caching.
Result: a blank wiki/index.php: <html><body></body></html>.
Check the PHP error log. If there is not a PHP error log by default,
find php.ini and set one up.
-- brion vibber (brion @
pobox.com)