Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No Input file specified!


joemurray

Recommended Posts

Posted

I tried using this bit of code from the "Knowledgebase" and it doesnt seem to work. Every time I get the "No input file specified" error. Here is the code:

< form name="quick_find" method="get" action="http://www.yoururl.com/advanced_search_result.php">
< input type="text" name="keywords" size="10" maxlength="30" value="" style="width: 95px"> <input type="submit" value="go"><br>
< a href="http://www.yoururl.com/advanced_search.php"><b style="font-size:8pt;">Advanced Search</b></a>
< /form>

 

Any idea how I can get this to work? I know there is another way to add a search bar to the header but it makes my quick_find button appear misaligned and I could not find a fix for that. Thanks.

Posted

remove the extra spaces (< form should be <form ) and remove the domain ref

 

<form name="quick_find" method="get" action="advanced_search_result.php">
<input type="text" name="keywords" size="10" maxlength="30" value="" style="width: 95px"> 
<input type="submit" value="go"><br>
<a href="http://www.yoururl.com/advanced_search.php">
<b style="font-size:8pt;">Advanced Search</b></a>
</form>

Posted

Thanks Jeff. My problem was that it wasn't pointing to the files in my catalog directory. I noticed shortly after I posted this. I had deleted the spaces after I got the code. I copied the code above directly from the knowledge base.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...