search problem with preg_replace

Please report bugs here!

Moderator: Thorsten

Post Reply
jddev
Posts: 5
Joined: Mon Nov 01, 2004 7:40 pm

search problem with preg_replace

Post by jddev »

Hi,

When searching for ps/2 I receive several warnings.

Warning: preg_replace() [function preg-replace]: Unknown modifier '2' in <path-to-function.php> on line 853
Warning: preg_replace() [function preg-replace]: Unknown modifier '2' in <path-to-function.php> on line 854

Also, this returns some results:

Category: ...
Content: ...

With the "..." being literally shown on the screen.

Depending on what I search for with "/anything", the number of times the error repeats varies. I have looked through a few other examples that you have links to and some do this and some do not.

Any ideas on how to avoid this?

Thanks,
Jason Hobbs
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I think the slash makes problems. I'm looking for a fix.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

this bug will be fixed in phpMyFAQ 1.4.6 and phpMyFAQ 1.5.0 RC1.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply