Hi,
As complete newbie to MediaWiki I have some trouble setting up the software on a Apple PB G4, OS X 10.3.6, php 4.3.4 and MySQL 4.1.7
After completing the setupform I get the following result in IE 5.2 :
MediaWiki 1.3.8 installation Please include all of the lines below when reporting installation problems. Checking environment... *PHP 4.3.4: ok *PHP server API is apache; ok, using pretty URLs ( index.php/Page_Title) *Have XML / Latin1-UTF-8 conversion support. *PHP is configured with no memory_limit.*Have zlib support; enabling output compression. *Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. *Installation directory: /Users/admin/Sites/mediawiki *Script URI path: /~admin/mediawiki *Connected as root (automatic) *Connected to database... 4.1.7-debug; enabling MySQL 4 enhancements *Database wikidb exists *There are already MediaWiki tables in this database. Checking if updates are needed... ...ipblocks is up to date. ...already have interwiki table ...indexes seem up to 20031107 standards ...have linkscc table. ...linkscc is up to date, or does not exist. Good. ...have hitcounter table. Converting links table to ID-ID... Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server.
Running setup from within Apple's Safari-browser results in :
Safari cant open the page http://localhost/~admin/mediawiki/config/index.php%C2%94.
The error was: bad server response (NSURLErrorDomain:-1011)
Do you have any tips to resolve this ?
Apparantly all tables and users were created in MySQL
Kind regards.
Rik Serpentier adjunct-afdelingschef Informatica Gewestelijke Directie West-Vlaanderen Roggelaan 2 8500 Kortrijk +32 (0)56 23 17 43 (rechtstreeks nummer) Bezoek onze website : www.vmw.be
On Dec 3, 2004, at 5:05 AM, Rik Serpentier wrote:
As complete newbie to MediaWiki I have some trouble setting up the software on a Apple PB G4, OS X 10.3.6, php 4.3.4 and MySQL 4.1.7
Unless you really know you need it for some reason, I strongly recommend you use MySQL 4.0.20 instead. 4.1 is *not* fully backwards-compatible.
For details and possible workarounds see: http://dev.mysql.com/doc/mysql/en/Old_client.html
If you must use MySQL 4.1, you can recompile PHP from source and make sure you compile it against the updated MySQL client libraries (eg, --with-mysql=/usr/local/mysql). You can see what version of the client libraries are linked in by making a script that looks like this:
<?php phpinfo() ?>
There will be a section in the output on the mysql module, which will include a client version number. If this is not 4.1.x, you're going to have problems with a 4.1.x server. At the top of the output also will be the configure options you can use to replicate the configuration on a newly compiled PHP.
If you're not willing to recompile PHP (I recommend doing so anyway as 4.3.4 is a bit old and there are both bug fixes and security fixes in more recent versions: the current 4.3 version of PHP is 4.3.9) and you must use MySQL 4.1.x, you can try to set it up in the backwards-compatible password mode. See details at the link above.
-- brion vibber (brion @ pobox.com)
Rik Serpentier wrote:
Hi,
As complete newbie to MediaWiki I have some trouble setting up the software on a Apple PB G4, OS X 10.3.6, php 4.3.4 and MySQL 4.1.7
%>< snip
*Database wikidb exists *There are already MediaWiki tables in this database. Checking if updates are needed... ...ipblocks is up to date. ...already have interwiki table ...indexes seem up to 20031107 standards ...have linkscc table. ...linkscc is up to date, or does not exist. Good. ...have hitcounter table. Converting links table to ID-ID...
It appears that the output above is not from the initial install attempt. The problem appears to be the convesion above in an existing database. I sort of wonder why it would want to convert a table in a fresh database. You might want to try an install using a different name for the data base, say perhaps, wikidb2. This will cause the install script to create an all new data base. If that succeeds, then it's a pretty definite indication that the problem is the existing data base. You can just drop the first data base and use the new one, or drop both and re-install. In the event that doesn't work, immediately save the output from the new install for posting. It would be much more informative to see what an original install produces.
By the way, I'm using MySQL version 4.0.17 on a unix machine.
Good Luck,
Gene
mediawiki-l@lists.wikimedia.org