We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22629
    • 194 Posts
    I’ve been using rc2 since it was released, however I’ve just come across a major issue which I don’t know how to solve.

    All was working OK until a few minutes ago, when I noticed that my file manager path was incorrect, so I went into the config and changed it. I then edited the same path in my user account - at which point I was told to log in again as my data had changed - fair enough.

    Now begin the problems! I can no longer get into the manager - I get the message: "Install/update on this site was executed, please login again!"

    I’m not running an install or upgrade, I was just using the site perfectly happily! So I tried to view the site - bad news, that fails too!

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: Invalid argument supplied for foreach()
    Error type/ Nr.: Warning - 2
    File: /srv/www/htdocs/sanctree/manager/includes/document.parser.class.inc.php
    Line: 877
    Line 877 source: foreach ($this->aliasListing as $item) {

    Parser timing
    MySQL: 0.0066 s (1 Requests)
    PHP: 0.0495 s
    Total: 0.0560 s

    I had a look at the code, and cannot see a property or method called "aliasListing" in that class - and as far as I can tell, the class isn’t inheriting another class.

    This bit of code appears to only be used when friendly_urls is set to 1. I went into the database and changed that setting to 0, and the site works, but I still cannot login to the manager.

    Any ideas? Can anyone else running 0.9.6.2-rc2 try repeating what I’ve done and see if it’s a global issue, or something strange that’s happened on my install?

    Cheers,
    Andy
      Andy Shellam | www.networkmail.eu | @Pandy06269 @NetworkMail

      modx Revolution 2.2.6
      Windows 2012 | IIS 8 | php 5.4.11 | MySQL 5.5.29

      Content-Managed Websites Built on MODX
    • Nope, just tried it, and nothing unusual at all happened.

      Try clearing your browser cookies.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 22629
        • 194 Posts
        I tried restoring last night’s database, and it did exactly the same thing, so evidently nothing was wrong with the database.

        I scrapped the install of modx and re-installed a blank site, then overwrote the database with my most recent backup and it all worked!

        All I can figure is that something happened on the server to screw one of the modx files up, heaven knows what!
          Andy Shellam | www.networkmail.eu | @Pandy06269 @NetworkMail

          modx Revolution 2.2.6
          Windows 2012 | IIS 8 | php 5.4.11 | MySQL 5.5.29

          Content-Managed Websites Built on MODX
        • Cosmic rays... gremlins... there have been many times over the year when I’ve wondered why I didn’t go into some other line of work, like scrubbing toilets rolleyes
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 22629
            • 194 Posts
            Quote from: sottwell at Aug 13, 2008, 09:22 PM

            Cosmic rays... gremlins... there have been many times over the year when I’ve wondered why I didn’t go into some other line of work, like scrubbing toilets rolleyes

            Haha me too most days, although I’m sure there are gremlins there too ... tongue
              Andy Shellam | www.networkmail.eu | @Pandy06269 @NetworkMail

              modx Revolution 2.2.6
              Windows 2012 | IIS 8 | php 5.4.11 | MySQL 5.5.29

              Content-Managed Websites Built on MODX