Need help with web store script - I cant find the problem
Hi all,
I need someone who is experienced with CGI to please help me...I'm tearing my hair out and am literally sitting here in tears because of this blasted CGI web store in use at my client site (its Extropia's basic Web Store script).
After beating away at it for weeks, I thought I had the errors worked out from moving it to a new server then changing the name on the server, but there are still a couple bug that I just can't fix. The major being that when someone clicks on the "Add to cart" button it says item was added, but go to the cart and nothing...the others are minor but annoying (the Item added message is repeated multiple times thoroughout the page and the submit buttons that are supposed to be used are not and only the grey ones being shown).
If anyone can help, I would appreciated it...I posted for help before in newsgroups and even got several responses, but then never heard back from would be helpers, so I'm begging...this is my biggest client and I don't want to lose them over this mess.
----------
Summer S. Wilson
http://www.eclectic-mall.com
Summer S. Wilson
http://eclectic-world.com
http://eclectic-designs.com
Anonymous posted this at 20:19 — 11th June 1999.
They have: 5,633 posts
Joined: Jan 1970
leave your hair alone, looks better when you got a date
this adding-thing seems to be a permission-problem, but i sure think one my dear friends here in the forum knows this script already, since i write anything myself (but should better learn something bout the most popular scripts soon)
could you post the url to this shopping-cart please, so i can have a look at it?
cu
patrick
Collectonian posted this at 02:35 — 12th June 1999.
They have: 16 posts
Joined: May 1999
Thanks...actually I set all the permissions back again to the manual specs...didn't do more than get the store front running. The URL is http://www.playhouseinternational.com but please be notified that its an adult site, but not pornography. Thakns in advance fro any help you can provide...and my hair will thank you more =)
----------
Summer S. Wilson
http://www.eclectic-mall.com
Summer S. Wilson
http://eclectic-world.com
http://eclectic-designs.com
cds posted this at 03:04 — 12th June 1999.
They have: 359 posts
Joined: Mar 1999
Summer,
Don't know if this is your problem, but ran across this once on another cart script. On your html pages, check your "<input=" tags. Sometimes if using wysiwyg editors, they have a tendency to change things around, especially if copying and pasting. In the example below, the "item" had got changed to "hidden" and the script did exactly what yours is doing, would say item had been added, but there was nothing in the cart.
<INPUT TYPE="hidden" NAME="item" ITEM="whatever">
Without seeing the script, that's my shot in the dark of something to look at.
----------
Dan
http://cds-computers.com
Dan
Recycle Video Games Network
Stupidity killed the cat, curiosity was framed!
cds posted this at 03:29 — 12th June 1999.
They have: 359 posts
Joined: Mar 1999
Whoaaa!!! It may be in Spanish, but the language barrier is not a problem!
Could you give us a url direct to one of the catalog pages, without having to fight the frames.
----------
Dan
http://cds-computers.com
Dan
Recycle Video Games Network
Stupidity killed the cat, curiosity was framed!
Collectonian posted this at 20:32 — 13th June 1999.
They have: 16 posts
Joined: May 1999
I think I wrote that wrong, what I meant was that the code gives the images works, but the buttons will not submit using them. How can I use both different images while still having functional buttons?
----------
Summer S. Wilson
http://www.eclectic-mall.com
Summer S. Wilson
http://eclectic-world.com
http://eclectic-designs.com
Collectonian posted this at 21:14 — 13th June 1999.
They have: 16 posts
Joined: May 1999
I feel so stupid, but I finally got the page sort of working again...I was closing the form with product information before the submit buttons (hitting self on head)...and the secure server is not working (about to have fun with SP on that one).
Now that I have the major problems fixed, I do have two minor, primarily cosmetic problems...
1) the client wants images besides those ugly grey buttons for the submit buttons, however the scripting that worked on the old server:
<INPUT TYPE = "image" SRC="../../../../graphics/home.gif" NAME = "return_to_frontpage_button" border="0" ALT = "Página Principal" WIDTH="106" HEIGHT="35">
doesn't work on this one (for somewhat obvious reasons), so what code is needed to get the image to display and still be a submitable button?
2) Once an item is added to the cart the thank you message is repeated a gazillion times on the page...basically everywhere the <Form action=web_store.cgi method=post> appears...how can I stop this or is there a place in the code that tells it where to place the thank you message that I need to look for and make sure is pointing to the correct place?
Thanks guys...oh and BTW, thats actually Portuguese, not Spanish =)
To bypass all the other pages, and go straight into the store, use http://www.playhouseinternational.com/cgi_bin/web_store/web_store.cgi
----------
Summer S. Wilson
http://www.eclectic-mall.com
Summer S. Wilson
http://eclectic-world.com
http://eclectic-designs.com
JP Stones posted this at 02:59 — 14th June 1999.
They have: 2,390 posts
Joined: Nov 1998
The syntax I use for images instead of buttons is as follows:
<INPUT TYPE="image" SRC="images/submit.gif" NAME="w" height=x width=y ALT="z" border=0>
You use:
<INPUT TYPE = "image" SRC="../../../../graphics/home.gif" NAME = "return_to_frontpage_button" border="0" ALT = "Página Principal" WIDTH="106" HEIGHT="35">
A few posible problems:
- <SRC="../../../../graphics...> might be an error here, try puting the images in the same dir.
- <= "return_to_frontpage_button" >
see gap after equals character, should not be there.
- <ALT = "Página Principal"> dito.
Try fixing those...
JP
----------
The Webmaster Promotion and Resource Center.
http://www.what-next.com
cds posted this at 03:14 — 14th June 1999.
They have: 359 posts
Joined: Mar 1999
Summer,
If you enclose your urls in tags like this [ url ] [ /url ], without the spaces, it will make it a clickable link.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.