Hi there,
I am trying to upgrade from Evo to Revo, and frankly i'm stuck at stage 2.
in Evo i am loading a custom class within the index.php file and all is well, in Revo however, i am trying to do the same and it says "no database selected". Note that the database is just the database modx runs in, no seperate ones here.
My best gues is that it is something to do with this, but i'm not sure:
function __construct($modx = '') {
$this->modx = $modx;
}
this is what i am calling in index:
include_once("assets/includes/MyCustom.class.php");
Is someone familliar with this, am i mssing the obvious?
Kind Regards,
Robin
[ed. note: thapriest86 last edited this post 11 years, 5 months ago.]