PDA

View Full Version : simple search error


jacy
15-Nov-2003, 08:51 PM
Hi all,
When i click for a simple search on the the main catalog page of my site, I get the following error

"A General Script Error Occurred

--------------------------------------------------------------------------------
Error: There is no valid input parameters for the script! Check the referencing HTML code!
--------------------------------------------------------------------------------
Press the Browser back button and try again or contact the site owner"

This only happens on the main products page Main products page (http://www.jacyscomputers.com.au/acatalog/Index.html)

It doesn't happen if i am in any of the sections or products ,the simple search works fine.

Any ideas on how to fix this?

Cheers,

Jacy

rmladden
15-Nov-2003, 11:05 PM
You have a form imbedded in a form. Start at the top and search on "form". You have a /form tag first than a form tag, then the simple search form tag. Something is in the wrong sequence on your page.

jacy
15-Nov-2003, 11:10 PM
Hi Bob,
Which page or template do i need to check?

Cheers,

Jacy

rmladden
15-Nov-2003, 11:34 PM
I'm really not sure. Since it is only on your main page, look at Act_CatalogBody.html.

jacy
15-Nov-2003, 11:40 PM
Hi Bob,
this is my act catalog body.
<!-- CatalogBody HTML begin -->
<!-- Insert HTML for the top of the catalog body -->
<!-- If customer accounts are in operation the following line will display -->
<!-- welcome message and a LOGOUT button -->
<Actinic:WELCOME/>

</FORM>
<FORM METHOD="POST" ACTION="NETQUOTEVAR:SEARCHCGIURL">
<INPUT TYPE=HIDDEN NAME="SHOP" VALUE="NETQUOTEVAR:SHOP">
NETQUOTEVAR:SEARCHBODY
</FORM>
<FORM METHOD=NETQUOTEVAR:CGIMETHOD ACTION="NETQUOTEVAR:CGIURL">
<INPUT TYPE=HIDDEN NAME="SHOP" VALUE="NETQUOTEVAR:SHOP">
NETQUOTEVAR:DESITEMAPLINK

NETQUOTEVAR:PRODUCTBODY

NETQUOTEVAR:SPLASHTEXTBODY

NETQUOTEVAR:INFOLINES

NETQUOTEVAR:SSPPOWEREDBY

NETQUOTEVAR:POWEREDBY

<!-- Insert HTML for the bottom of the catalog body -->
<!-- CatalogBody HTML end -->

which part shouldn't be there?

Cheers,

Jacy

rmladden
15-Nov-2003, 11:52 PM
Not sure. Your page is not in the same sequence as mine. Try putting a </form> at the end, but above the comments.

cdicken
17-Nov-2003, 04:11 PM
Mitch

In Act_Primary (overall layout template), you need to add NETQUOTEVAR:FORMBEGIN into the template above the line that says:
<A NAME="top"><INPUT TYPE=HIDDEN NAME=RANDOM VALUE="NETQUOTEVAR:RANDOM"></A>

jacy
18-Nov-2003, 05:44 AM
Hi Chris,
It's already there?

Cheers,

Jacy

cdicken
18-Nov-2003, 08:47 AM
OK then

Try putting a </form> just before NETQUOTEVAR:SIMPLESEARCH in Act_Primary.html.

jacy
18-Nov-2003, 09:42 AM
Thanks Chris,
That worked.

Cheers,

Jacy