www.uburst.com www.uburst.com

"configuration error"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

Configuration Questions
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"configuration error"
Posted by RL Miller on Oct-08-02 at 12:50 PM (EST)
I am getting the following error message
"Configuration Error- Unable to connect to socket."
when I try to test order something from our online store. I am able to get all the way through the process and submit the credit card info, and then this error occurs.
Please help! I have checked and rechecked my ustorekeeper-lib.pl file with the changes our service provider has sent along after some changes on their end, and they insist the problem is on my end.
I suspect it may be a a permissions problem or with my path/relative path to the cgi-bin.
Any suggestions?
Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: configuration error, Bill Weiner, Oct-09-02, (1)
it gets worse, RL Miller, Oct-09-02, (2)
another update, rlmiller, Oct-09-02, (3)
nevermind, rlmiller, Oct-09-02, (4)
RE: nevermind, Bill Weiner, Oct-10-02, (5)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: configuration error"
Posted by Bill Weiner on Oct-09-02 at 06:52 AM (EST)
An "unable to connect to socket" error indicates that the script is not able to connect to your mail server when it attempts to send the email notification/receipt.

Assuming that you have the $email_method in configuration question #16 in the ustorekeeper-lib.pl script set to "SOCKETS":

1) Make sure the $smtp_address setting ... configuration question #19 in the ustorekeeper-lib.pl script... is properly set to the IP address of your mail server.

2) If that doesn't resolve the problem, try locating the following line near the top of the ustorekeeper-lib.pl script:

$AF_INET = 2;

and change it to:

$AF_INET = 1;

... See if that resolves the problem.


If that still does not resolve the problem, try setting configuration question #16 in the ustorekeeper-lib.pl script to:

$email_method = "DISABLED";

This will cause no email notifications to be sent... but at least will allow you to test out the rest of the order process.

Then let me know the results.... including the type of server you have (Windows-type or Unix-type?).

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "it gets worse"
Posted by RL Miller on Oct-09-02 at 07:56 AM (EST)
Since I posted that, my service provider made some change which I am not sure of (I had asked them to put permissions at 777, and asked for full path to perl). Now I can't get any furhter than this error:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

Can't open perl script "D:\Inetpub\wwwroot\DefaultWebsite\gjkjuiod\LynchKri1\cgi-bin\cgitest.pl": No such file or directory

as you can see, I started back at the beginning with the test file, and get nowhere.
However, NOW she tells me that the full path to perl is: C:/Perl/bin/
which leads me to believe that they have switched from a unix server (I had been using the line #!/usr/bin/perl up until their service provider switch with no problems) to an NT server.
With these new problems, should I make the changes you suggest or try something else?
Any help you can give ASAP is most appreciated. I have been offline for 1.5 weeks now.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
3 . "another update"
Posted by rlmiller on Oct-09-02 at 12:14 PM (EST)
got the perl test script running ok- and downloaded clean scripts from this site.
but now am getting this error:
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 ustorekeeper-lib.pl in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at D:\Inetpub\wwwroot\DefaultWebsite\gjkjuiod\LynchKri1\cgi-bin\ustorekeeper.pl line 3.

It seems to me that the ustorekeeper-lib.pl file is not being read.
Should I ask them to double check permissions, because it is definitely there.


Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
4 . "nevermind"
Posted by rlmiller on Oct-09-02 at 02:19 PM (EST)
After many changes/changes back, we got back to a state where your original setting changes were once again relevant, and the change to the line
$AF_INET = 1;
did the trick, along with a change to the stmp server address.
Thank you! I wish my service provider was as much help as you.
Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
5 . "RE: nevermind"
Posted by Bill Weiner on Oct-10-02 at 04:41 AM (EST)
Cool. Glad you got it working :^)
Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.