We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32895
    • 2 Posts
    Здравствуйте! При загрузке сайта появляется MODx Parse Error, а точнее
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: include_once(/home/dmsl/dmsl.ru/docs/assetsplugins/phx/phx.parser.class.inc.php) [function.include-once]: failed to open stream: No such file or directory
    Error type/ Nr.: Warning - 2
    File: /home/dmsl/dmsl.ru/docs/manager/includes/document.parser.class.inc.php(790) : eval()'d code
    Line: 15



    Не правильно прописывается путь к PHX----assetsplugins(вместо assets/plugins)
    Пробовал переписывать путь в конфигурации---не помогает. Может кто сталкивался с таким явлением? [ed. note: xndrxndr last edited this post 14 years, 9 months ago.]
      • 16278
      • 928 Posts
      Посмотрите в коды плагина. Если путь к PHX выглядит так:
      include_once $modx->config['rb_base_dir'] . "plugins/phx/phx.parser.class.inc.php";

      то мените его на
      include_once $modx->config['base_dir'] . "assets/plugins/phx/phx.parser.class.inc.php";


      :) KP
        • 32895
        • 2 Posts
        Спасибо! Помогло