PDA

View Full Version : Strange Error searching for parenthesis



gpwong
02-01-2005, 09:44 PM
Hi all,

I'm new to the ZoomSearch. I'm getting the following warning everytime I search for something like: function foo()

PHP Warning: preg_replace() [function.preg-replace ('function.preg-replace')]: Compilation failed: missing terminating ] for character class at offset 29 in E:\website\htdocs\searchzoom\index.php on line 177

Are my parenthesis confusing zoomsearch? Is there a way around this?

Thanks!

Ray
02-02-2005, 01:53 AM
First, make sure you are using the latest version (and build) of Zoom, available from this page:
http://www.wrensoft.com/zoom/whatsnew.html

You should also let us know if you have made any modifications to the search script (search.php). I noticed that at the least, it has been renamed to "index.php"?

If you continue to have problems, zip up your search files (search.php, settings.php, search_template.html and ALL .zdat files) and send them to us via e-mail (see our Contact Us page).