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
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
Comment #1
btopro commentedwhat 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 :)
Comment #2
btopro commentedComment #3
walden commentedyep, this install uses php 4.3.10
Comment #4
btopro commentedUnfortunately there isn't a way to fix this then unless someone writes a preg replacement function to duplicate functionality of this.