Guest RSS-Bot Posted April 23, 2007 Share Posted April 23, 2007 Song: Симптомы: Получаем следущую ошибку:Цитата ПРЕДУПРЕЖДЕНИЕ: [2] preg_match() [function.preg-match]: Compilation failed: internal error: overran compiling workspace at offset 17923 (Строка: 197 файла /sources/classes/class_session.php)Строка 197 указывает на:[b]if[/b] ( preg_match( '/('.implode( '|', [color=#048284]$this[/color]->bot_safe ) .')/i', [color=#048284]$this[/color]->ipsclass->my_getenv('HTTP_USER_AGENT'), [color=#048284]$match[/color] ) ){ Решение:Замените её на:[b]if[/b] ( preg_match( '/('.preg_quote( implode( '|', [color=#048284]$this[/color]->bot_safe ), '/').')/i', [color=#048284]$this[/color]->ipsclass->my_getenv('HTTP_USER_AGENT'), [color=#048284]$match[/color] ) ){ Link to comment Share on other sites More sharing options...
Recommended Posts