Warning: preg_match_all()

More
12 years 2 months ago #22599 by ivan.milic
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.

More
12 years 1 month ago #22937 by purplesteven
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

Please Log in to join the conversation.

More
12 years 1 month ago #22945 by ivan.milic
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:
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.

More
12 years 1 month ago #22946 by purplesteven
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
Powered by Kunena Forum