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

    I'm trying to set up a Custom Resource Class, as per the tutorial in the MODX manual. I've followed it step by step, but when I add my CRC via addExtensionPackage() or through the Settings, the manager crashes with an error :

    When accessing the dashboard
    Parse error:
    Not Found
    The requested URL /manager/undefinedsecurity/user.php was not found on this server.

    When accessing Namespaces manager page
    Parse error:
    Not Found
    The requested URL /manager/undefinedworkspace/namespace.php was not found on this server.

    It's not a path error, the paths to my namespace and model are correct, I'm 100% positive. Besides, if I use an incorrect path the manager doesn't crash.

    I've checked all my CRC files for syntax errors, I've checked file permissions, everything seems fine. The files are identical to the sample CopyrightedResource provided with the tutorial and I really don't get why it's crashing.

    I've even reinstalled a fresh copy of MODX, I'm not using any 3PCs or anything. Still crashes.

    Any ideas as to where the problem might be?

    Specs :
    MODX Revolution 2.2.5-pl (advanced)
    Apache 2.2.17 (Unix)
    PHP 5.3.0
    mod_fastcgi 2.4.2