- Posts: 14116
- Thank you received: 1639
Warning: preg_match_all()
-
ivan.milic
Support Staff - Moderator
Less
More
12 years 2 months ago #22599
by ivan.milic
Replied by ivan.milic on topic Warning: preg_match_all()
Script tag is forbidden in joomla by default. You have to enable it, that can involve setting editing editor plugin settings, setting filtering options in global configuration ... Best google for some step-by-step with respect to your editor
The following user(s) said Thank You: purplesteven
Please Log in to join the conversation.
-
purplesteven
Inactive member - Topic Author
- New Member
Less
More
- Posts: 13
- Thank you received: 0
12 years 1 month ago #22937
by purplesteven
Replied by purplesteven on topic Warning: preg_match_all()
Hi Ivan,
I just did al clean instal joomla 3.0 hot_cars30_hotstart and now i have this error again
Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 3 in /var/www/vhosts/scooterkingalmere.com/httpdocs/templates/hot_cars/js/browser.php on line 56
Debug on or off in global doesn't help...
Do you have a solution?
GrtZ Steven
I just did al clean instal joomla 3.0 hot_cars30_hotstart and now i have this error again
Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 3 in /var/www/vhosts/scooterkingalmere.com/httpdocs/templates/hot_cars/js/browser.php on line 56
Debug on or off in global doesn't help...
Do you have a solution?
GrtZ Steven
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 1 month ago #22945
by ivan.milic
Replied by ivan.milic on topic Warning: preg_match_all()
That is warning you can lower down error reporting level in global configuration. Also you can open that file (templates/hot_cars/js/browser.php) and comment out:
like this:
because , if you see, it actually does nothing, it just creates that warning.
Code:
if (!preg_match_all($pattern, $u_agent, $matches)) {
// we have no matching number just continue
}
like this:
Code:
//if (!preg_match_all($pattern, $u_agent, $matches)) {
// we have no matching number just continue
//}
because , if you see, it actually does nothing, it just creates that warning.
The following user(s) said Thank You: purplesteven
Please Log in to join the conversation.
-
purplesteven
Inactive member - Topic Author
- New Member
Less
More
- Posts: 13
- Thank you received: 0
12 years 1 month ago #22946
by purplesteven
Replied by purplesteven on topic Warning: preg_match_all()
Thx problem solved and a big thanx for the quick respons!!
Please Log in to join the conversation.
Time to create page: 0.081 seconds