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