londrum - 6:50 pm on Sep 2, 2013 (gmt 0)
don't include search.php, because thats the search results page. all you need to have on your clothes page is a search box. the search box will then redirect the user to search.php automatically, where the results will be displayed.
look in the templates folder. you should have something called "search_form.html".
that is what you need to include on your clothes page. the search box is just normal html. so it shouldn't cause you any problems with php errors
in fact, you don't even really need to include it. you could simply copy the code and paste it straight into your clothes page.
give that a go
(if you've been fiddling with the paths on commonfuncs, maybe you'll have to change them back)