Hey,

i get an error, if i create a node or a taxo-term. The alias is not created in that case.

warning: preg_replace() [function.preg-replace]: Unknown modifier 'p' in /var/www/web25/html/modules/pathauto/pathauto.inc on line 122.

I use Drupal 5.3 und PHP 5.2.0-8+etch7.

Can you help me?

Comments

greggles’s picture

Status: Active » Closed (duplicate)

My guess is that you use a WYSIWYG editor on the "words to ignore" field which is not permitted.

See http://drupal.org/node/121276#comment-515163

batman1983’s picture

I removed the module and installed it again a few times, and it works now :)

Thanks for help.

jeanhr’s picture

Hi,

I am getting something similar on a recently installed pathauto.

warning: preg_replace() [function.preg-replace]: Unknown modifier 'p' in .../sites/all/modules/pathauto/pathauto.inc on line 123.

Wondering if it does not have to do with my PHP version and/or PCRE? Maybe related to http://drupal.org/node/167740 ?
But not sure.

I recently upgraded to Drupal 5.3 and still using PHP 5.1.4 for now.

Many thanks for your advices.

greggles’s picture

Assigned: batman1983 » greggles

@jeanhr - are you using a WYSIWYG editor on your site? If so, please disable it for admin users or for admin screens.

jeanhr’s picture

@greggles: So apparently, I had the wrong assumption that it had something to do with the PHP/PCRE version. Yes, I am using fckeditor right now. I will try disabling it and let you know. Thanks a lot.

jeanhr’s picture

Confirming - Yep... fckeditor disabled on that edit screen - no more errors. Great.