I’ve been wading through the other posts but I can’t seem to figure it out, as my situation is somewhat different.
I run the update.php
It looks like it succesfully updated from 1.52 to 1.60
It takes me to the second step, upgrading it from 1.60 to 1.61
And then throws following error:
Notice: Undefined index: site_name in /home/xxxx/public_html/system/updates/ud_160.php on line 51
Notice: Undefined index: site_name in /home/xxxx/public_html/system/updates/ud_160.php on line 52
Error: The following error was encountered
MySQL ERROR:
Error Number: 1050
Description: Table 'ee_sites' already exists
Query: CREATE TABLE `ee_sites` ( `site_id` int(5) unsigned NOT NULL auto_increment, `site_label` varchar(100) NOT NULL default '', `site_name` varchar(50) NOT NULL default '', `site_description` text NOT NULL, `site_system_preferences` TEXT NOT NULL , `site_mailinglist_preferences` TEXT NOT NULL , `site_member_preferences` TEXT NOT NULL , `site_template_preferences` TEXT NOT NULL , `site_weblog_preferences` TEXT NOT NULL , PRIMARY KEY (`site_id`), KEY `site_name` (`site_name`))Unlike some other people with the same error/situations, my config.php is adjusted 1.60 and not stuck in 1.52, so:
$conf['app_version'] = "160";
$conf['license_number'] = "";
$conf['debug'] = "0";
$conf['install_lock'] = "1";
$conf['db_hostname'] = "xxx";
$conf['db_username'] = "xxx";
$conf['db_password'] = "xxx";
$conf['db_name'] = "xxx";
$conf['db_type'] = "mysql";
$conf['db_prefix'] = "ee";
$conf['db_conntype'] = "0";
$conf['system_folder'] = "system";
$conf['cp_url'] = "http://xxxx/system/index.php";
$conf['doc_url'] = "http://expressionengine.com/docs/";
$conf['is_system_on'] = "n";
$conf['allow_extensions'] = "y";
$conf['multiple_sites_enabled'] = "n";The result is that the front-end of the site is still working. But even though it says 160 in the config.sys, in the Control panel it still says ExpressionEngine v 1.5.2 + I can’t access any of the posts.
So I’m pretty much stuck.
I have a backup of everything… but you know… I’d like to upgrade.
Oh yeah, and I was stupid enough to do it on the live site.