We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2750
    • 115 Posts
    Делаю все по инструкции:
    1) Download and extract the archive.
    2) Create a directory called "phx" in your [MODx Directory]/assets/plugins directory
    3) FTP or copy the files into [MODx Directory]/assets/plugins/phx
    4) Create a new plugin in the manager called "PHx" and copy/paste the contents of phx.plugin.txt into the code field.
    5) Check "OnParseDocument" at the System Events tab

    на всех сайтах работает, а на одном нехочет...
    пишет

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
     
    PHP error debug
      Error: 	include_once(Z:/home/ivc.local/www/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: 	Z:\home\ivc.local\www\manager\includes\document.parser.class.inc.php(746) : eval()'d code	 
      Line: 	9


    Файл реально лежит тут Z:/home/ivc.local/www/assetsplugins/phx/phx.parser.class.inc.php

    Чего быть может?

    Оказывается в админке в Инструменты - Конфигурация - Путь к файлам не стоял в конце пути слэш, поставил все работает
      • 26744
      • 157 Posts
      Ругается же Z:/home/ivc.local/www/assetsplugins/phx/phx.parser.class.inc.php) - нет такой директории.
      ошибка в пути: assetsplugins - между ними слэш должен стоять?