Welcome, Guest
Username Password: Remember me

Unknown modifier 't' in str_ireplace.php
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Unknown modifier 't' in str_ireplace.php

Unknown modifier 't' in str_ireplace.php 13 years, 5 months ago #4597

  • quynho1994
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
It only in template wap :
Warning: preg_match() [function.preg-match]: Unknown modifier 't' in /home/t1family/domains/vuonmo.tk/public_html/home/libraries/phputf8/str_ireplace.php on line 40

Warning: preg_match() [function.preg-match]: Unknown modifier 'p' in /home/t1family/domains/vuonmo.tk/public_html/home/libraries/phputf8/str_ireplace.php on line 40

Warning: preg_match() [function.preg-match]: Unknown modifier 'd' in /home/t1family/domains/vuonmo.tk/public_html/home/libraries/phputf8/str_ireplace.php on line 40


demo: wap.vuonmo.tk

Re: Unknown modifier 't' in str_ireplace.php 13 years, 5 months ago #4598

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
It's known issue of Joomla1.5 (fixed in 1.6).
To avoid it in MobileJoomla, replace in administrator/components/com_mobilejoomla/markups/wml.php lines
		$text = JString::str_ireplace('</td>', ' | ', $text);
$text = JString::str_ireplace('</span>', '', $text);
...
$text = JString::str_ireplace('</dt>', '</strong><br/>', $text);

by
		$text = str_ireplace('</td>', ' | ', $text);
$text = str_ireplace('</span>', '', $text);
...
$text = str_ireplace('</dt>', '</strong><br/>', $text);
  • Page:
  • 1
Time to create page: 0.24 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.