Dave Hunsberger | 27 Jun 2012 00:42
Favicon

problems upgrading from 13.2 to 19.1

Hi all, 

I'm trying to upgrade from MW 13.2 to MW 19.1, and I'm not having any
luck.

I duplicated the db & code so as to 'sandbox' it to ensure I could get a
good upgrade before I turned it loose on a live install.

Here's the steps I took, followed by errors received.

*         Put Wiki into readonly mode with message stating 'updating to
mediawiki 1.19.1'

*         Created duplicate database of current install
('mediawiki_1_19')

*         Copied all /htdocs/mw/ files to /htdocs/mw119/

*         Downloaded & unzipped into own folder the
mediawiki.1.19.1.tar.gz

*         Copied files from /mediawiki.1.19.1/ to /htdocs/mw119/

*         Edited /htdocs/mw119/localSettings.php to point to /mw119
folder and new db ('mediawiki_1_19')

*         Commented out all extensions within localsettings.php

*         Renamed StartProfiler.php (also tried deleting it)

Errors when running [URL]/mw119/mw-config/:

*         Blank page with error message "Warning: Cannot load module
'pdo_sqlite' because required module 'pdo' is not loaded in Unknown on
line 0"

*         Page title is 'MediaWiki 1.19.1 installation'

Errors when running /htdocs/mw119/maintenance/update.php:

MediaWiki 1.19.1 Updater

PHP Fatal error:  Call to undefined function mysql_error() in
/[PATH]/mw119/includes/db/DatabaseMysql.php on line 305

Fatal error: Call to undefined function mysql_error() in
/[PATH]/mw119/includes/db/DatabaseMysql.php on line 305

[PROMPT]:~/htdocs/mw119/maintenance$

If I go straight to the index page of the sandboxed wiki ([URL]/mw119/),
I get:

A database error has occurred. Did you forget to run
maintenance/update.php after upgrading? See:
https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT lc_value FROM `mwlp_l10n_cache` WHERE lc_lang = 'en' AND
lc_key = 'deps' LIMIT 1 
Function: LCStore_DB::get
Error: 1146 Table 'mediaWiki_1_19.mwlp_l10n_cache' doesn't exist
(mysql6c.serveronline.net)

It doesn't seem to be able to create the l10n_cache table. (mwlp_ is the
table prefix contained within localsettings)

I've sanitized out any filepaths/url that weren't applicable using [].

If anyone can point me into a new direction, I'd be grateful!

-Dave

Gmane