Old version of shopsite (4.2) thankyou.cgi error

This is an archive of old posting to the User Forum

Old version of shopsite (4.2) thankyou.cgi error

Postby Emily Eileen Witcher » Thu Mar 06, 2003 5:49 pm

Not sure where else to ask for help as this is such an old version...
everything is working except thankyou.cgi after placing an order produces
this error in my log:

malformed header from script. Bad header=(#11300028) :
/home/quilomene/www/cgi-local/shopsite/sb/thankyou.cgi

Since this is a bit more specific than the run-of-the-mill Internal Server
Error I thought someone might have heard of it before? The order does get
placed but no e-mail receipt gets sent out, and I have the e-mail program
configured similar to others on our server.

Thanks in advance for any help

--
Emily Witcher - emily@crytech.com
System Administrator and Programmer
Crytech - 406-655-0501/1-888-CRYTECH
Emily Eileen Witcher
 

Re: Old version of shopsite (4.2) thankyou.cgi error

Postby loren_d_c » Thu Mar 06, 2003 6:21 pm

a bad or malformed script header error message in the error log is actually
the most common thing that you would see when experiencing an Internal Server
Error message in your browser, they are not mutually exclusive, they are
generally the same. All that the malformed or bad header error message means,
though, is that the cgi died before outputting content type headers, it does
not mean anything more than that. Sometimes if the cgi died because of a
missing library dependency then you might see that in the error log too, but
when this particular error is by itself, it doesn't tell you much at all about
what the real problem is.

In that old of a version, there may have been several issues. It may be a
permissions issue, make sure thankyou.cgi has the same permissions as
billing.cgi. It may be a payment gateway issue, try turning off the realtime
payment gateway if one is configured, and see if that makes a difference. If
the merchant has ShopSite Pro and is using Order API, try turning that off and
see if it makes a difference. There was also an issue with colons in the
shipping option names, or shipping option names that were way too long. Etc.

-Loren



Emily Eileen Witcher wrote:

Not sure where else to ask for help as this is such an old version...
everything is working except thankyou.cgi after placing an order produces
this error in my log:

malformed header from script. Bad header=(#11300028) :
/home/quilomene/www/cgi-local/shopsite/sb/thankyou.cgi

Since this is a bit more specific than the run-of-the-mill Internal Server
Error I thought someone might have heard of it before? The order does get
placed but no e-mail receipt gets sent out, and I have the e-mail program
configured similar to others on our server.

Thanks in advance for any help

--
Emily Witcher - emily@crytech.com
System Administrator and Programmer
Crytech - 406-655-0501/1-888-CRYTECH
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: Old version of shopsite (4.2) thankyou.cgi error

Postby Emily Eileen Witcher » Fri Mar 07, 2003 10:03 am

Thank you for your reply. I did check the file permissions and they are OK.
We don't use a custom gateway, and I don't think we're using Order API --
the customer just uses the "order anywhere" feature to copy and paste the
links in his pages. I am not sure which shipping options you mean -- I went
through all the store text and took out the colons just to be safe. I don't
think the guy customized much of the text in his store anyway.

One thing I was wondering is about the e-mail program I have set up for
receipts. It is a bash script located in /usr/sbin/ which has 755
permissions and is owned by the virtual host user (we have Apache configured
for suexec). All it does is call /var/qmail/bin/qmail-inject. This setup
works with our other Shopsite stores but they are all on a different server.
I can run the script from the command line and it works properly.

--
Emily Witcher - emily@crytech.com
System Administrator and Programmer
Crytech - 406-655-0501/1-888-CRYTECH

This message is intended only for the named recipient.
If you are not the intended recipient you are notified
that disclosing, copying, distributing or taking an
action in reliance on the contents of this information
is strictly prohibited.
"Loren" <loren_d_c@yahoo.com> wrote in message
news:3E67E5F3.F801B185@yahoo.com...
a bad or malformed script header error message in the error log is
actually
the most common thing that you would see when experiencing an Internal
Server
Error message in your browser, they are not mutually exclusive, they are
generally the same. All that the malformed or bad header error message
means,
though, is that the cgi died before outputting content type headers, it
does
not mean anything more than that. Sometimes if the cgi died because of a
missing library dependency then you might see that in the error log too,
but
when this particular error is by itself, it doesn't tell you much at all
about
what the real problem is.

In that old of a version, there may have been several issues. It may be a
permissions issue, make sure thankyou.cgi has the same permissions as
billing.cgi. It may be a payment gateway issue, try turning off the
realtime
payment gateway if one is configured, and see if that makes a difference.
If
the merchant has ShopSite Pro and is using Order API, try turning that off
and
see if it makes a difference. There was also an issue with colons in the
shipping option names, or shipping option names that were way too long.
Etc.

-Loren



Emily Eileen Witcher wrote:

Not sure where else to ask for help as this is such an old version...
everything is working except thankyou.cgi after placing an order
produces
this error in my log:

malformed header from script. Bad header=(#11300028) :
/home/quilomene/www/cgi-local/shopsite/sb/thankyou.cgi

Since this is a bit more specific than the run-of-the-mill Internal
Server
Error I thought someone might have heard of it before? The order does
get
placed but no e-mail receipt gets sent out, and I have the e-mail
program
configured similar to others on our server.

Thanks in advance for any help

--
Emily Witcher - emily@crytech.com
System Administrator and Programmer
Crytech - 406-655-0501/1-888-CRYTECH
Emily Eileen Witcher
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 64 guests