Author: phadeguy
Description:
MediaWiki 1.4.7 installation
Please include all of the lines below when reporting installation problems.
Checking environment...
- PHP 4.3.9: ok
- PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
- Have XML / Latin1-UTF-8 conversion support.
- PHP's memory_limit is 11M. If this is too low, installation may fail!
Attempting to raise limit to 20M... ok.
- Have zlib support; enabling output compression.
- Turck MMCache not installed, can't use object caching functions
- Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if
you enable uploads.
- Found GD graphics library built-in.
- Installation directory: /var/www/dev/info
- Script URI path: /info
- MySQL error 1045: Access denied for user 'root'@'localhost' (using
password: NO)
- Trying regular user... ok.
- Connected to database... 4.1.10a-log; enabling MySQL 4 enhancements
- Database info exists
- There are already MediaWiki tables in this database. Checking if updates
are needed...
...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.
Adding ipb_id field to table ipblocks...Query "ALTER TABLE ipblocks ADD ipb_auto
tinyint(1) NOT NULL default '0', ADD ipb_id int(8) NOT NULL auto_increment, ADD
PRIMARY KEY (ipb_id)" failed with error code "Table 'info.ipblocks' doesn't exist".
I was installing MediaWiki when I ran into the "key length too long" error. I
altered the create table statement to use a smaller key length and created the
table manually. Once the table was created, I re-ran the installation script.
I then got this error listed above.
My guess is that the script does not check if all tables exist before altering
the table. My guess is that the code logic should check for the existance of
every table before attempting to do any alter table statements.
Is there a listing of a unified create table SQL with all alterations
pre-configured so that alter table statements are not needed?
Thanks againd and have a great day!
Phade.
Version: 1.4.x
Severity: major
OS: Linux
Platform: Other