After installing the module and running a search, I'm receiving the following error:

Fatal error: Call to undefined function: str_ireplace() in /usr/www/users/harry100/sites/all/modules/search_and_replace/search_and_replace.module on line 222

Comments

btopro’s picture

what version of php are you running. Based on the documentation (http://us2.php.net/str_ireplace ) it seems to indicate that it's a php 5 only function. I'll welcome either a patch for disabling this functionality if the user doesn't have php 5 OR a patch that does a preg replace which can be written to be case insensitive. I'm not very good at preg replace statements hence me asking for one :)

btopro’s picture

Status: Active » Postponed (maintainer needs more info)
walden’s picture

yep, this install uses php 4.3.10

btopro’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Unfortunately there isn't a way to fix this then unless someone writes a preg replacement function to duplicate functionality of this.