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

Original Message
"Problems with the cgi script for 3.0 can send orders"

Posted by Kridaraan [citras@po.jaring.my] on at 06:27 AM
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:


Can't locate D:/www/citrastore.com.my/cgi-bin/ushop-languages.pl in @INC (@INC contains: d:/Perl/lib d:/Perl/site/lib .) at e:\user\citrastore.com.my\web\cgi-bin\ushop.pl line 52.

it can be checked at: http://www.citrastore.com.my/onlinestore/checkout.html . Please help me. This is really important to our company! I would like to know if chmod is needed. If yes, what is it? I would really appreciate your help.


Table of contents

Messages in this discussion
"RE: Problems with the cgi script for 3.0 can send orders"
Posted by Bill Weiner on at 02:21 PM
Based on your "Can't locate D:/www/citrastore.com.my/cgi-bin/ushop-languages.pl" error, see item number 7 on the following troubleshooting page:

http://www.uburst.com/uShop/troubleshooting.html

That will solve the problem.


"Still can't"
Posted by Kridaraan [citras@po.jaring.my] on at 01:19 AM
Sir,
I have tried that way which is putting the full path as shown in the example. But i still can't get it working. I'm using NT server.

"RE: Still can't"
Posted by Bill Weiner on at 06:19 AM
From going to your script at:

http://www.citrastore.com.my/cgi-bin/ushop.pl

I can see that you are now getting the error message:

"Can't locate D:/www/citrastore.com.my/cgi-bin/ushop-languages.pl"

That is, it looks like you have configuration question #11 set to:

require "D:/www/citrastore.com.my/cgi-bin/ushop-languages.pl";

Are you sure that is the correct path for your server? Based on your error messages, I would guess you should be using:

require "e:/user/citrastore.com.my/web/cgi-bin/ushop-languages.pl";


"Doesn't work"
Posted by Kridaraan [citras@po.jaring.my] on at 02:42 AM
I've tried using e: but it still doesn't seem to work. You can check it at: www.citrastore.com.my/onlinestore/checkout.html .
And i would also like to know if i must chmod a folder like the version 2.0 one. We need to finish this order project by next thursday and i will get real scolding from my manager for wasting money getting this program which doesn't work. I really need your help and this is urgent!
S.O.S. I've also spent lots of time setting up the store and the only damn thing that isn't working is the cgi. Can i've your e-mail add? I can send you the cgi and you can inspect it. Would that be fine? Or is it better checking it online. I really need a reply as soon as possible. This is very important to our business!

Thanks,
Kri


"RE: Doesn't work"
Posted by Bill Weiner on at 05:16 AM
By going to your script at:

http://www.citrastore.com.my/cgi-bin/ushop.pl

I see you are now getting different error messages such as:

"not returning a complete set of HTTP headers"
"Bareword found where operator expected"
"syntax error near near "$settings_file = $data_directory . "ushop"
"Missing semicolon on previous line"

Which definitely means you made an error while configuring the script... most likely by in configuration question #6...which shouldn't be modified anyway.

If you want, send your "ushop.pl" file to support@uburst.com and I will take a look at your configuration questions.