URL: http://www.uburst.com/cgi-bin/dcforum/dcboard.cgi
Forum: ushop_place_order
Thread Number: 156
[ Go back to previous page ]

Original Message
"display_cart order button"

Posted by Beverly [craggymountainmusic@brinet.com] on at 07:12 PM
On the display_cart page, the order button gives me a 404 error. I know what the problem is(I think) but not how to correct it. If I look at the source code in the browser, I can see that the form action is trying to send it to the wrong directory. When I was setting up the directory initially, I set it up wrong (mydomain/cgi/ushop.pl instead of mydomain/cgi-bin/ushop.pl). But since then I have set it up and am able to get to the control panel. But how do I correct the path to post orders?

Also, on my view_cart page, the cart is apparently empty except that if I highlight where there should be something, I do see items being added. I have the text color set to 000000.

Table of contents

Messages in this discussion
"display_cart continue button"
Posted by Beverly [craggymountainmusic@brinet.com] on at 07:48 PM
I don't remember changing anything but now when I click on the continue button (and it was the continue button not order button) on the display_cart page it is sending me to the login screen for my cgi-bin/ushop.pl. I must have a serious screwup somewhere. And I thought it was going smoothly...

"RE: display_cart order button"
Posted by Bill Weiner on at 07:50 PM
In regard to the URL that the display_cart.html page will post to, that URL is specified in the "script_url" parameter of your uShopOrderButton applet. So make sure that the "script_url" parameter of your uShopOrderButton applet is correct. (It should be set to the FULL URL of the ushop.pl script on your secure server.)

In regard to the text color of the cart on the display_cart.html page, make sure that you have a "#" sign before your "000000" in your "cart_font_color" parameter of your uShopOrderButton applet. If that doesn't resolve the problem, give me the URL and I will take a look at it.

Refer to the uShop Applet Reference for more information about the uShopOrderButton applet parameters:


Posted by Beverly [craggymountainmusic@brinet.com] on at 08:38 AM
I have tried everything I can think of. Can you check out www.craggymtnmusic.com/classes/display_cart.html and see what I'm doing wrong? I have read the cgi script related problems and gone through all the forum but nothing seems to address this problem. I have transferred the scripts in acsii. My path to perl is correct. The permissions are set to 700. When I try 755 or 777 it doesn't help. The data directory is a sub of cgi and all the templates are there. The order button is set to post to https://craggymtnmusic.com/cgi-bin/ushop.pl.

"got part of it working"
Posted by Beverly [craggymountainmusic@brinet.com] on at 02:38 PM
I had the path to the data directory wrong. So now I can advance to the order form template. But I get an 500 internal server error when I try to advance to the credit card page. In talking with the server host, he feels it is a misconfiguration of my file. But the credit card file resides in the same data directory as the order form template and was transferred the same way. I did not change the credit card file from the way it was unzipped. The permissions on that file are 644. Is that right? Anyway I can't change them as they default back to that setting. The host feels there is a chance that his server (Plesk) may not be compatible with these scripts if I can't resolve this issue. Any input on that? Again the site is www.craggymtnmusic.com. Try placing an order and see what you think might be the problem if it isn't clear already.

"RE: got part of it working"
Posted by Bill Weiner on at 10:53 PM
First, by just going to the URL of your script:


I see that you successfully get the uShop "Login" page... so that's good.

Secondly, by trying out your store at:


I was successfully able to add items to the cart, pass the review cart (display_cart.html) page, and get to the first order form page "order_template.html". Upon filling in the order form information, however, I get a "Server Error". An error at that particular point in the order process is very uncommon, but could be related to the "Order Form Template 2" setting (On the uShop Control Panel... under GENERAL SETTINGS - ORDER FORM). What is the value you have configured for the "Order Form Template 2" setting? Is it different from the default what you are using for the "Order Form Template 1" setting?

I would suggest generating a Diagnostic Report by pressing the "Diagnostics" button on your uShop Control Panel... and then sending us the results at support@uburst.com. I'll take a look at your settings in the diagnostic report and see if I seen anything that could be causing a problem. Also send your "order_template.html" file... so that I can verify the syntax of that file too.