I built an EE 1.x site on a UNIX server, but learned that, to run some add-ons I want to use, I need a higher version of PHP and MySQL than my host’s UNIX servers provide. However, their Windows machines DO run the right levels of both. So I moved the files and DB over to the Windows server.
I figured that, while I was at it, I might as well upgrade to 2.x. I had the web host change the folder permissions as necessary, and started the process. Everything seemed to be going fine. But I finally got to a page with the following errors:
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: DB
Filename: updates/ud_009.php
Line Number: 40
—————————————-
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: updates/ud_009.php
Line Number: 40
—————————————-
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at [redacted]system\codeigniter\system\core\Exceptions.php:170)
Filename: core/Common.php
Line Number: 405
—————————————-
A Database Error Occurred
Error Number: 1060
Duplicate column name ‘can_search’
ALTER TABLE exp_member_groups ADD COLUMN can_search char(1) NOT NULL default ‘n’
Filename: [REDACTED]system\codeigniter\system\database\DB_driver.php
Line Number: 330
The site was functioning properly on the Windows machine under 1.7.1. The Windows machine also passed the Server Compatibility Wizard. Any help?