After I upgraded Drupal Pathauto module to 5.x-2.0, I kept getting warning: preg_replace() [function.preg-replace]: Unknown modifier 'p' in ..... /modules/pathauto/pathauto.module on line 263.
It took me a while to figure out the solution.
Solution #1:
- Goto admin/settings/fckeditor/edit/advanced, Add "edit-pathauto-ignore-words" to the exclude field list.
- Goto admin/settings/pathauto, open "General settings", and remove the added "<p>" and "</p>".
Solution #2:
- Goto admin/settings/fckeditor/edit/advanced, select "include" in the include/exclude option list, and add "edit-body" and whatever other fields that you want to use fckeditor on.
- Goto admin/settings/pathauto, open "General settings", and remove the added "<p>" and "</p>".
I think solution #2 is a better way, because this will make sure that fckeditor will not get into the ways of other modules.
More detailed document can be found at http://drupal.org/node/175772, post #7 and #8.
Comments
Anonymous
February 11, 2009
1 year 29 weeks
hi.i get excited
hi,
same problem was occured at my end. I apply the same thing as you have told above.
It works for me....thnx very much for this kind information....from me...
hkfdewanhkf@gmail.com
Anonymous
August 18, 2009
1 year 2 weeks
thx
great how a comment more than 1 yr ago can help. much thanks