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 Module Borked After 1.6.9 update

April 25, 2010 2:46pm

Subscribe [10]
  • #16 / Apr 27, 2010 11:45am

    Sue Crocker

    26054 posts

    Playa needs updating.. can you do that next?

  • #17 / Apr 27, 2010 4:15pm

    Trumpet

    19 posts

    Sue,
    This is done. Incidentally, I just did a brand spanking new install of 1.6.9 for another client and I’m seeing the same error w/ Pages in the Control Panel. Literally, new install of EE, activate the Pages Module, and blam…error message at the top of the page.

    ~
    W

  • #18 / Apr 27, 2010 5:27pm

    Sue Crocker

    26054 posts

    Hmmm.. no .htaccess, that sort of thing? I just did a localhost install of 1.6.9 and can’t replicate the problem you’re having. You didn’t reuse the database container did you?

  • #19 / Apr 28, 2010 10:59am

    Trumpet

    19 posts

    Fresh install, no .htaccess, index.php in the System Administration > General Configuration form. Still showing error.

  • #20 / Apr 28, 2010 1:01pm

    Sue Crocker

    26054 posts

    What can you tell me about who you’re hosting with?

  • #21 / Apr 28, 2010 1:17pm

    Trumpet

    19 posts

    Hosting company is Site5 - http://www.site5.com.

    No issues w/ EE until 1.6.9 upgrade. But that doesn’t account for the fail on the fresh install.

  • #22 / Apr 28, 2010 3:31pm

    Robin Sowell

    13255 posts

    Do you have any actual pages on either site?  I can’t spot why you’d be getting that error- but try editing mcp.pages.php around line 135:

    if ($pages === FALSE OR OR sizeof($pages) == 0)
    change to
    if ($pages === FALSE OR isset($pages['uris']) == FALSE OR sizeof($pages['uris']) == 0)
  • #23 / Apr 28, 2010 4:18pm

    Trumpet

    19 posts

    I do on the site that originally prompted this request. I’ll try the recommended edit and let you know how it goes.

  • #24 / Apr 28, 2010 4:22pm

    Ingmar

    29245 posts

    Sounds good. We’ll be here 😊

  • #25 / Apr 28, 2010 4:49pm

    Adam Spooner

    1 posts

    Here’s a quick and dirty hack if your Pages Module is mission critical and you need to use the LG .htaccess Generator:

    // Around line 557 in system/extensions/ext.lg_htaccess_generator_ext.php,
    // Add this:
    $pages = $pages[1];
    // Above this:
    $page_roots = array();

    This is a nasty hack. I’m sorry if it’s offensive. 😉

  • #26 / Apr 28, 2010 7:51pm

    Brandon Jones

    5500 posts

    Thanks Adam.

    Trumpet, keep us posted.

  • #27 / Apr 29, 2010 4:36pm

    Trumpet

    19 posts

    Okay, so the latest is, the fix Robin suggested did manage to eliminate the error in the pages module, but now the issue is that the actual pages I’m creating aren’t showing up at all when I select the pages tab. They are in fact being created in the weblog I selected, but they just don’t get displayed in the module. I mean, I suppose this isn’t really that big of a deal. I can work around it, just hate to pass this along to my client.

    I’ve heard of Structure before. Is that comparable? Any other thoughts on a work around?

  • #28 / Apr 30, 2010 10:44am

    Ingmar

    29245 posts

    I am not able to replicate, so this is beginning to look like a server issue, perhaps. Do you have access to a different server where you could try? What version of PHP are you running?

    Structure is a commercial third-party add-on. It is comparable to the Pages module although goes quite a bit beyond it in scope.

  • #29 / May 01, 2010 1:58am

    Jack McDade

    425 posts

    We’ve updated Structure to be 1.6.9 compatible. The site_pages array, which both Pages and Structure (and a few others) run off of, was updated in 1.6.9 and required reworking by all addons using it. Feel free to check out Structure—if you haven’t used it before, you most likely really like it (http://buildwithstructure.com). Otherwise, i’m sure someone will find a Pages fix for you.

  • #30 / May 03, 2010 3:17am

    John Henry Donovan

    12339 posts

    Thanks for the info Jack. Did you have a chance to review Ingmar’s advice Trumpet?

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

ExpressionEngine News!

#eecms, #events, #releases