الحل :Warning: preg_replace_callback() [function.preg-replace-callback]: Compilation failed: repeated subpattern is too long at offset 53315 in /includes/class_bbcode.php on line 474
في ملف class_bbcode استبدل هذا ;
بهذا ;كود:function parse_smilies($text, $do_html = false) { $cache =& $this->cache_smilies($do_html); $this->local_smilies =& $cache; $quoted = array(); foreach ($cache AS $find => $replace) { $quoted[] = preg_quote($find, '/'); } $text = preg_replace_callback('/(?<!&|"|<|>|©|&#[0-9]{1}|&#[0-9]{2}|&#[0-9]{3}|&#[0-9]{4}|&#[0-9]{5})(' . implode('|', $quoted) . ')/s', array(&$this, 'replace_smilies'), $text); /*foreach ($cache AS $find => $replace) { $text = preg_replace('/(?<!&|"|<|>|©|&#[0-9]{1}|&#[0-9]{2}|&#[0-9]{3}|&#[0-9]{4}|&#[0-9]{5})' . preg_quote($find, '/') . '/s', $replace, $text); }*/ return $text; }
---كود:function parse_smilies($text, $do_html = false) { $cache =& $this->cache_smilies($do_html); foreach ($cache AS $find => $replace) { $text = preg_replace('/(?<!&|"|<|>|©|&#[0-9]{1}|&#[0-9]{2}|&#[0-9]{3}|&#[0-9]{4}|&#[0-9]{5})' . preg_quote($find, '/') . '/s', $replace, $text); } return $text; }
او استبدل ملف class_bbcode بالنسخة vBulletin Version 3.6.5 <<< حاليا هذا اللي سويته .
حتى يتم أصدار نسخة جديدة ...
أصل الموضوع :
http://www.vbulletin.com/forum/showthread.php?t=229507
هذي المشكلة الوحيدة اللي طلعت لي لكن لما تدخل موقع الشركة راح تحصل مشاكل واجد لها .
لا حد يستعجل بالترقيه نصيحة ...


رد مع اقتباس
