Hi, folks. I'd be glad to read a troubleshooting guide if there is one to which someone can refer me. I've searched the archives (mac install site:mail.wikimedia.org) without success, though I many have overlooked something.
I'm hoping to install 1.4.3 on a Mac (OS X 10.3.9; MySQL 4.1.0 with PHP 4.3.10 and Apache. I've appended the results from congif/index.php[blah-blah] that runs after I completed the install form (a second time because of the old-new password issue). My Web server error_log only shows
[request time] [request source] File does not exist: /Library/WebServer/Documents/wiki/upload/wiki.png
which seems pretty innocuous.
I've also appended a copy of the directory listing for mediawiki. I've changed the mode of the directory to a secure setting while I go do some other tasks, but I'd welcome suggestions that I can test tomorrow.
Thanks,
JohnL
Results from config/index.php
Checking environment... • PHP 4.3.10: 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. • Turck MMCache not installed, can't use object caching functions • Couldn't find GD library or ImageMagick; image thumbnailing disabled. • Installation directory: /Library/WebServer/Documents/private/mediawiki-1.4.3 • Script URI path: /private/mediawiki-1.4.3 • Connected as root (automatic) • Connected to database... 4.1.10-standard; enabling MySQL 4 enhancements • Database wikidb exists • There are already MediaWiki tables in this database. Checking if updates are needed... • DB user account ok ...linkscc table already exists. ...hitcounter table already exists. ...querycache table already exists. ...objectcache table already exists. ...categorylinks table already exists. ...logging table already exists. ...user_rights table already exists. ...have ipb_id field in ipblocks table. ...have ipb_expiry field in ipblocks table. ...have rc_type field in recentchanges table. ...have rc_ip field in recentchanges table. ...have rc_id field in recentchanges table. ...have rc_patrolled field in recentchanges table. ...have user_real_name field in user table. ...have user_token field in user table. ...have ur_user field in user_rights table. ...have log_params field in logging table. Adding ss_total_articles field to table site_stats...Query "ALTER TABLE wt_site_stats ADD ss_total_pages bigint(20) default -1, ADD ss_users bigint(20) default -1, ADD ss_admins int(10) default -1" failed with error code "".
The directory strucute:
johnl:/www/private/mediawiki-1.4.3 jwl3v$ ls -l total 280 -rw-r--r-- 1 jwl3v admin 732 12 Jan 02:27 AdminSettings.sample -rw-r--r-- 1 jwl3v admin 18009 1 Mar 2004 COPYING -rw-r--r-- 1 jwl3v admin 60 4 Sep 2004 FAQ -rw-r--r-- 1 jwl3v admin 25715 20 Mar 22:38 HISTORY -rw-r--r-- 1 jwl3v admin 3049 13 Apr 16:31 INSTALL -rw-r--r-- 1 jwl3v admin 3149 11 Nov 13:49 README -rw-r--r-- 1 jwl3v admin 26377 29 Apr 00:26 RELEASE-NOTES -rw-r--r-- 1 jwl3v admin 6959 29 Apr 00:26 UPGRADE -rw-r--r-- 1 jwl3v admin 220 20 Apr 2004 Version.php drw------- 3 jwl3v admin 102 29 Apr 00:44 config drwxr-xr-x 15 jwl3v admin 510 29 Apr 00:44 docs drwxr-xr-x 3 jwl3v admin 102 29 Apr 00:44 extensions drwxr-xr-x 4 jwl3v admin 136 29 Apr 00:44 images -rw-r--r-- 1 jwl3v admin 4692 7 Mar 01:36 img_auth.php drwxr-xr-x 136 jwl3v admin 4624 29 Apr 00:44 includes -rw-r--r-- 1 jwl3v admin 7471 22 Apr 21:23 index.php -rw-r--r-- 1 jwl3v admin 4346 1 Dec 09:19 install-utils.inc drwxr-xr-x 5 jwl3v admin 170 29 Apr 00:44 irc drwxr-xr-x 88 jwl3v admin 2992 29 Apr 00:44 languages drwxr-xr-x 61 jwl3v admin 2074 29 Apr 00:44 maintenance drwxr-xr-x 23 jwl3v admin 782 29 Apr 00:44 math -rw-r--r-- 1 jwl3v admin 373 14 Oct 2004 redirect.php -rw-r--r-- 1 jwl3v admin 91 27 Feb 2004 redirect.phtml drwxr-xr-x 16 jwl3v admin 544 29 Apr 00:44 skins drwxr-xr-x 13 jwl3v admin 442 29 Apr 00:44 tests -rw-r--r-- 1 jwl3v admin 88 27 Feb 2004 wiki.phtml johnl:/www/private/mediawiki-1.4.3 jwl3v$
John Wills Lloyd wrote:
Adding ss_total_articles field to table site_stats...Query "ALTER TABLE wt_site_stats ADD ss_total_pages bigint(20) default -1, ADD ss_users bigint(20) default -1, ADD ss_admins int(10) default -1" failed with error code "".
There was a typo in the updater code which caused it to attempt to add fields that were already present.
Change this line in maintenance/updaters.inc: - array( 'site_stats', 'ss_total_articles', 'patch-ss_total_articles.sql' ),
to: + array( 'site_stats', 'ss_total_pages', 'patch-ss_total_articles.sql' ),
and re-run the installer.
-- brion vibber (brion @ pobox.com)
Hi, I have an installation at http://localhost/wiki. I need to move it up so that http://localhost brings up the wiki main page.
Moving all the installed files one folder up works but the stylesheets do not come up. I have modified the $IP and $wgScriptPath variables in LocalSettings.php. I have also modified $wgScriptPath in DefaultSettings.php.
Any other way? Am I missing something?
regards, Selva.
mediawiki-l@lists.wikimedia.org