We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8784
    • 32 Posts
    elvispresley2k Reply #1, 17 years ago
    Hi all,
    I’m getting the following error with a uncached ditto snippet call.

    The error:
    Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(Unknown) is not within the allowed path(s): (My Path) in My Path/manager/includes/document.parser.class.inc.php on line 2615

    Warning: Cannot modify header information - headers already sent by (output started at My Path/manager/includes/document.parser.class.inc.php:519) in My Path/manager/includes/document.parser.class.inc.php on line 2730
    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: Unknown: write failed: No space left on device (28)

    The Ditto snippet call:
    [!Ditto? &startID=`0` &depth=`0` &debug=`1`!]

    The depth=0 is triggering the error. If I change it to ’1’ or remove it, everything is fine.
    Edit: Actually if depth=0 and debug=1, the error occurs. If depth=0 and debug=0, there is no error.

    This is happening on Evo v0.9.6.3 and v1 (upgrading didn’t solve the error).

    I have other modx sites where the same snippet DOES NOT produce an error.

    Any advice much appreciated. Thanks!