Jump to content
Дизайн и модификация Invision Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Guest RSS-Bot

Важное с Sysman.Ru: 2.x: ПРЕДУПРЕЖДЕНИЕ: [2] preg_match()

Recommended Posts

Guest RSS-Bot

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] ) ){

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...