I just figured out the search as well. Since my test site runs on IIS6, I had to use the Custom Errors section to get pretty permalinks working. Unfortunately, this turned my URL from:
to:
http://123.45.67.89/index.php?404;http://123_45_67_89:80/services-directory/?cn-s=test&cn-cat=
When this is broken up into query string parameters, “404;http://123_45_67_89:80/services-directory/?cn-s” is recorded as one parameter (with a value of “test”). Thus, the search string (“cn-s”) is always found to be blank.
To fix this, I added an extra hidden form field in CMap.php’s formOpen function.
echo ‘<input type=”hidden” name=”x” value=””>’;
This will make the first parameter “404;http://123_45_67_89:80/services-directory/?x” and the “cn-s” parameter will appear properly.
Our live site will be IIS7 so there might be a better workaround there. I figured I’d post this in case someone else ran into the same difficulties.
