We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40638
    • 12 Posts
    Hey guys,

    I just inherited a broken Modx Evolution website and am stuck on how to fix it.

    When I got it the Manager was version 1.0.5 and the website was blank white but the Manager was working fine.

    I upgraded it to the latest version of Evo but that hasn't fixed it.

    The error I got is below.

    « MODx Parse Error »
     
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
    PHP error debug
      Error:       Undefined index: mgrInternalKey      
      Error type/ Nr.:     Notice - 8    
      File: E:\inetpub\esvc000052\assets\plugins\phx\phx.parser.class.inc.php   
      Line: 19     
      Line 19 source:      $this->user["mgrid"] = intval($_SESSION['mgrInternalKey']);
     
    Parser timing
      MySQL:       0.0098 s       (3 Requests)
      PHP:  0.0487 s      
      Total:       0.0586 s


    The server environment is Windows IIS. Windows NT WIC042U 5.2 build 3790 specifially.

    PHP Version 5.2.2, MySQL v 5.0.27.

    If anyone has any ideas I would be grateful.

    Cheers
      • 20413
      • 2,877 Posts
      Try upgrading PHx. What if you create a new template, do you see the resource data?

      https://forums.modx.com/thread/89081/evo-1-0-13rc2---error-undefined-index-webinternalkey
        @hawproductions | http://mrhaw.com/

        Infograph: MODX Advanced Install in 7 steps:
        http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

        Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
        http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
        • 40638
        • 12 Posts
        Quote from: mrhaw at Aug 05, 2014, 08:02 PM
        Try upgrading PHx. What if you create a new template, do you see the resource data?

        https://forums.modx.com/thread/89081/evo-1-0-13rc2---error-undefined-index-webinternalkey

        Hey thanks for your reply, I updated PHx but hasn't made a difference.

        When I go into the Templates or Chunks or Plugins I just get an 'a'.

        Actually what happens exactly is I click to edit either a template, chunk or plugin, I get brief flash of the code then it goes blank.

        The I go dow an uncheck the Toggle Editor box and there is just the a there.

        I havent used Evolution for years and am not familiar with Windows IIS server environment.

        I am also getting a configuration error "GD and/or Zip PHP extensions not found'" but that shouldn't effect the website right? Just the manager?

        Cheers
          • 13428 ☆ A M B ☆
          • 1,031 Posts
          It is just a notice not a fatal error. So if you are not able to repair the PHx code issue please change the detection level of PHP errors in MODX system configuration to at least 'Detect all errors except E_NOTICE'.

          If you could repair the PHx code issue, please do a PR on https://github.com/Temus/PHx