Closed (fixed)
Project:
Nodewords: D6 Meta Tags
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2010 at 00:17 UTC
Updated:
11 Feb 2010 at 08:40 UTC
the error log is :
preg_replace() [function.preg-replace]: Unknown modifier '\' in /nodewords/nodewords.module on line 1035.
What is wrong with this?
Comments
Comment #1
avpadernoI don't get any error like that.
PHP: Backslash reports the sequences , and are correctly interpreted by the regular expession; similar regular expression is also used in drupal_match_path().
It's rather probable the file nodewords.module was incorrectly copied on the server, or there is a problem with the server where Nodewords has been installed.
Comment #2
duckzland commentedSeems that the problem only occurs when I haven't configure the module yet, after configuring the module the problem dissapears
Comment #3
avpadernoI changed the string delimiter for two strings, and slightly changed another code line to be sure the code would not use an empty regular expression. The code as it was before didn't caused any error on PHP 5.3, but I changed the code to be sure other PHP versions would not cause any error too.
I changed the code, and committed in CVS for the development snapshot. Thanks for your report.