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.

Pages uninstall Problem

August 11, 2011 11:43am

Subscribe [2]
  • #1 / Aug 11, 2011 11:43am

    DocDiversity

    14 posts

    Made a mistake:

    Structure 3 was installed. Installed pages on top. Uninstalled structure. Caused PHP errors en masse. Tried to uninstall pages module before reinstalling Structure. Uninstall of pages module doesn’t work.

    ———————
    Error:

    Error Number: 1091

    Can’t DROP ‘site_pages’; check that column/key exists

    ALTER TABLE `exp_sites` DROP `site_pages`

    Filename: modules/pages/upd.pages.php

    Line Number: 117
    ———————-

    There is no table site_pages in the database. And NO entry site_pages in the exp_sites table either.

    I’d very much appreciate your help! It’s kind of urgent :-(

  • #2 / Aug 11, 2011 12:35pm

    DocDiversity

    14 posts

    OK, fixed the issue with “brute force”:

    1. temporarily commented out line 112 in the modules/pages/upd.pages.php

    $sql[] = "ALTER TABLE `exp_sites` DROP `site_pages`";

    2. uninstalled Pages module

    3. deleted Pages module files & Structure Module/Template files from server

    4. Copied a fresh set of files back to its places on the server

    5. PHP Errors gone 😊

  • #3 / Aug 12, 2011 4:48am

    John Henry Donovan

    12339 posts

    DocDiversity,

    Glad you are up and running again. Yeah big warning with Structure about installing Pages at the same time or you would run into issues like you have. Feel free to start a new thread if you have any more questions.

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

ExpressionEngine News!

#eecms, #events, #releases