We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27136
    • 12 Posts
    i installed modx and everything was fine, i encountered some problems trying to integrate smf into my layout and was forced to reinstall everything

    i have got everything back to the way it should be however there are now problems with logging out once signed in and registering an account

    im getting the following error when logging out and registering
    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
     
    PHP error debug
      Error: 	require_once() [function.require-once]: open_basedir restriction in effect. File(/embed.php) is not within the allowed path(s): (/home/jackal/:/usr/lib/php:/usr/local/lib/php:/tmp)	 
      Error type/ Nr.: 	Warning - 2	 
      File: 	/home/jackal/public_html/shtuck/manager/includes/document.parser.class.inc.php(724) : eval()'d code	 
      Line: 	25	 
     
    Parser timing
      MySQL: 	0.0039 s	(7 Requests)
      PHP: 	0.0747 s	 
      Total: 	0.0786 s


    please help me if you can, i dont want to have to reinstall everything again sad
      • 10487 MODX Staff
      • 1,535 Posts
      Well, from the error message it looks like there is a plugin running that’s trying to include a file ’embed.php’ without specifying it’s full location (the filename will need to be prepended with the full directory path to that file else PHP will throw an exception if base_dir restrictions are in place)

      ’Embed.php’ doesn’t look familiar to me and certainly isn’t part of the core distribution so you’ll need to check any other plugins you may have installed to find the one that is causing the problem.
        Garry Nutting
        Senior Developer
        MODX, LLC

        Email: [email protected]
        Twitter: @garryn
        Web: modx.com