CodeIgniter icon indicating copy to clipboard operation
CodeIgniter copied to clipboard

preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 12

Open erolyapici opened this issue 14 years ago • 4 comments

When i go this link www.sitename.com/asdadsf///?****/// , I get this error Severity: Warning

Message: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 12

Filename: core/Router.php

Line Number: 381 Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /.../system/core/Exceptions.php:185)

Filename: core/Common.php

Line Number: 438

erolyapici avatar Mar 26 '12 19:03 erolyapici

Displays the proper error page for me. Looking at the line numbers it seems like you're using CodeIgniter 2.1. Have you tried the latest development version from here (the github repository) ?

narfbg avatar Mar 27 '12 11:03 narfbg

Yes. I am using CodeIgniter 2.1 Thank you. I will try latest version

erolyapici avatar Mar 27 '12 17:03 erolyapici

Did you get the chance to test if it's good?

narfbg avatar Apr 03 '12 10:04 narfbg

The only preg_match() (currently) in system/core/Router.php is one that checks expressions from application/config/routes.php, so if anything goes wrong in there - it's a configuration error.

narfbg avatar Jun 14 '12 13:06 narfbg