ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

1.x to 2.x upgrade errors

October 11, 2011 7:52pm

Subscribe [1]
  • #1 / Oct 11, 2011 7:52pm

    PCCS

    5 posts

    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?

  • #2 / Oct 12, 2011 1:15am

    John Henry Donovan

    12339 posts

    Hi PCCS and welcome to the forums 😊,

    We have a Wiki article titled Troubleshooting Upgrade Errors which I would recommended you run through first.

    Also if you have $conf[‘protect_javascript’] = “n”; in your config.php. Remove it for the upgrade

    Let us know if that helps

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases