uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
premature end of script headers

Knowledge Base Lobby : uShop Support Conference : CGI Script Related Problems
Nov-21-17 06:58 AM EST
Original Message
premature end of script headers
Author broadway450 on 02-27-2001 at 01:24 (EST)
here is the error message I get when trying to "continue" when placing an order.

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@bigbiz.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.


There was also some additional information available about the error:
[Mon Feb 26 21:02:14 2001] access to /www/mountaincreekgardens/html/cgi-bin/ushop.pl failed for 166.82.121.200, reason: Premature end of script headers

The server is UNIX and runs perl.5
The script runs from the secure url
https://www.bigbiz.com/mountaincreekgardens.com/cgi-bin/ushop.pl
The test cgi works everything works until I try to place an order. I get to where it says "Continue" or "Back" I hit continue and get the error above.
What I don't understand is that I got it to work 1 time then came back the next day and this is what I get.
Any suggestions?
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: premature end of script headers Bill Weiner, 2001-02-27 06:04:23 (1)
            RE: premature end of script headers Bill Weiner, 2001-02-27 06:29:10 (2)
                 Thank You "But" broadway450, 2001-02-27 08:46:59 (3)
                      RE: Thank You "But" Bill Weiner, 2001-02-27 16:28:31 (4)

Messages In This Discussion
         1. RE: premature end of script headers
        Author Bill Weiner on 02-27-2001 at 06:04 (EST)
A "premature end of script header" error is usually caused by the script being transferred to your server in BINARY transfer mode instead of ASCII transfer mode. Try transferring the script to your server again... and be sure to use ASCII transfer mode.

You should then be able to successfully get the uShop Login screen by going directly to the URL of the script on your server:

https://www.bigbiz.com/mountaincreekgardens.com/cgi-bin/ushop.pl

... which looks like you are now... so I'm guessing you already resolved the problem?
TABLE OF CONTENTS
                 2. RE: premature end of script headers
                Author Bill Weiner on 02-27-2001 at 06:29 (EST)
Ok, from looking at your other posting at:

http://www.uburst.com/dcforum/ushp_general_purpose/183.html

I see that your store is located at:

http://www.mountaincreekgardens.com/store/html/english_urn_planters.htm

So I went ahead and tried that out.... and noticed that you are still getting "Server Error" upon pressing your order button. So the scenerio is:

- You do successfully get the uShop Login screen when going to the URL of the script on your server.

- But you get a "Server Error" during the first step of the order process.

In that case, I would say the problem is either:

- A problem with your data directory.

or

- A problem with the format of your "order_template.html" file.

QUESTION 1) Upon initially installing the "ushop.pl" script on your server, were you able to successfully set/save the "GENERAL SETTINGS"? If not, try configuring those "GENERAL SETTINGS" via the control panel and see if you get any errors.

QUESTION 2) Did you make any modification to the "order_template.html" file? If so, then something in your template may be causing a problem. As a test, try using the standard "order_template.html" file that came with uShop and see if that resolves the problem. If it does, then that is a good indication that something in your modified template is causing a problem. Double-check that and if you don't see the problem, send it to me at support@uburst.com and I will take a look at it for you.

QUESTION 3) When transferring your "order_template.html" file to your server, did you transfer it in ASCII transfer mode? If not, then try retransferring it to your server in ASCII transfer mode and see if that resolves the problem.
TABLE OF CONTENTS
                         3. Thank You "But"
                        Author broadway450 on 02-27-2001 at 08:46 (EST)
That's where the problem is. But now how do i change the state that is taxed on the order form from FL to NC without messing things up again?
That was the only change I made to the html on the order template. I may have uploaded it in the wrong mode! I'll try the modified version again using The suggested mode.
TABLE OF CONTENTS
                                 4. RE: Thank You "But"
                                Author Bill Weiner on 02-27-2001 at 16:28 (EST)
If uploading the template in ASCII mode does not resolve the problem... then it may be something that your HTML editor is doing to the HTML template. (Some HTML editors really add a bunch of garbage to the page). So you may want to try using a regular text editor to edit the "order_template.html" page.

And if that doesn't resolve the problem, go ahead and send me your "order_template.html" page and I will take a look at it.
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.