-
☆ A M B ☆
- 24,524 Posts
Check your config.inc.php file to make sure the MODX_MANAGER_PATH has been defined there. You should not see that in the path, you should see the actual path to your manager folder.
thanks very much for this susan - interesting - yes the config path was wrong (a while ago moved the modx files out of a /cms subfolder to the site root), but having fixed this in the config, i still get :
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Unknown(MODX_MANAGER_PATH/includes/protect.inc.php): failed to open stream: No such file or directory
Error type/ Nr.: Warning - 2
File: /home/musictherapy/musictherapy.org.nz/manager/includes/document.parser.class.inc.php(766) : eval()’d code
Line: 22
I’ve done a search of all the other files for any other incorrect pathing and haven’t been able to find anything else referring to the old /cms subfolder.
Dare I ask..any other ideas?
one planet, one chance
-
☆ A M B ☆
- 24,524 Posts
It’s not a matter of a wrong path, it’s that the constant MODX_MANAGER_PATH is not set when that is happening. If it were set, then you’d get the path instead of the text MODX_MANAGER_PATH. So either it’s not set in the config.inc.php file, or the config.inc.php file is not included at that point.
if (!defined('MODX_MANAGER_PATH')) define('MODX_MANAGER_PATH', $base_path.'manager/');
ta - i have to admit this is beyond my almost nonexistent php knowledge - but I’ll blag some local help to follow this up and I’m sure we’ll get there.
in the meantime going back to version 1.1 is working - which will be fine for now and I’ll (well, my client will) defer gratification for the joys of 1.7
thanks again
one planet, one chance
You may already have this covered but, depending on which version of AS you we’re upgrading from, you may want to double-check the name of the AS directory in your assets/snippets/ folder ... a very slight change to the casing was made recently from "AjaxSearch" to "ajaxSearch"—make sure the directory name begins with a lowercase "a."
------
Server: *nix, ModX Evo 1.0.4, Apache 2.x, PHP 5.x, Mysql 5.x.