Quote:
Originally Posted by Iroc88
Hi Dylan,
Just have a quick question. After installing the garage I am getting the following error that won't allow me to setup any cars past their make :
Code:
Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unrecognized character after (?< at offset 3 in [path]/includes/garage_func_var.php on line 3491
Just curious if I may have a bad garage_func_var.php file or if you may have ran across it before.
Thanks for any help,
Iroc
|
I haven't run across it with the garage but know what it is. Some version of php act wonky with the named patterns. Yours needs a tweak on that.
Open garage_func_var.php
On line 3491 find
Code:
$pattern = '#(?<browser>' . join('|', $known) . ')[/ ]+(?<version>[0-9]+(?:\.[0-9]+)?)#';
replace it with
Code:
$pattern = '#(?P<browser>' . join('|', $known) . ')[/ ]+(?P<version>[0-9]+(?:\.[0-9]+)?)#';
That should work. Let me know if it doesn't.