Hi ya,
I have just pushed a site live. Everything works well locally. I have just pushed it live and am getting an error - on every page Router is working its magic on:
Severity: Warning
Message: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 11
Filename: router/mod.router.php
Line Number: 78
Any ideas what might be causing this?
Lines 77, 78,79:
#var_dump($pattern);
if(preg_match(”#”.$pattern.”#”, $curr_uri, $matches) > 0)
{
Cheers
EDIT: Joy of joys! Sorry Issac. I found the issue on this. On my testing site, everything was OK. Basically there was an issue in my routes.ini file - Schoolboy error. I had missed a P out. I had (?<rotue>.+) instead of (?P<rotue>.+)
|