We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5296
    • 10 Posts
    Добрый день.
    Вызываю AjaxSearch как обычно:


    [!AjaxSearch? &AS_showForm=`1`  &ajaxSearch=`0` &language=`russian-utf8`  &AS_showResults=`1` &minChars=`3` &tplLayout=`FORM_AJAXSEARCH` !]


    при переходе по ссылкам результатов поиска выдает ошибку :


    « MODx Parse Error »
    
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
     
    PHP error debug
      Error:	preg_replace() [function.preg-replace]: Compilation failed: lookbehind assertion is not fixed length at offset 11	 
      Error type/ Nr.:	Warning - 2	 
      File:	/home/bydn/www/site6/public_html/manager/includes/document.parser.class.inc.php(745) : eval()'d code	 
      Line:	120	 
     
    Parser timing
      MySQL:	1.0279 s	(60 Requests)
      PHP:	0.1122 s	 
      Total:	1.1401 s


    ссылки выглядят примерно так

    mydomain.ru/16?searched=АВФ&advsearch=oneword&highlight=ajaxSearch_highlight+ajaxSearch_highlight1

    Версия modx 1.0.0-RC1 rev 5122

    раньше не возникало такой лабуды, просто на документ mydomain.ru/16 переходит не вызывая ошибок.