Closed (fixed)
Project:
FCKeditor - WYSIWYG HTML editor
Version:
5.x-1.1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 May 2007 at 17:34 UTC
Updated:
2 Jun 2007 at 16:01 UTC
When adding a path like this
admin/content/templates/classroom
to fckeditor's exclusion settings (I'd like to disable Fckeditor on all contemplates pages) I get the following error:
warning: preg_match() [function.preg-match]: Unknown modifier 'c' in D:\www\public_html\class\modules\fckeditor\fckeditor.module on line 427
I don't understand what the error is trying to tell me. This is the code on line 427:
if (!empty($value) && preg_match('/^'.str_replace('*','.*',addslashes($value)).'$/i', $search)) {
Thanks.
Lsabug
Comments
Comment #1
ontwerpwerk commenteddon't start with a slash (it's an internal drupal path you're entering)
and make it something like
admin/content/templates*Comment #2
lias commentedThank you very much for the clarification ontwerpwerk, worked as intended.
Comment #3
ontwerpwerk commentedComment #4
ray007 commentedA got a similar error on a site of my client, but in line 408 (in function fckeditor_idsearch). He had entered a '/' instead of a '-' when specifying the id ...
Comment #5
(not verified) commented