www.uburst.com www.uburst.com

"Order Notification / Blank email"

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

CGI Script Related Problems
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Order Notification / Blank email"
Posted by Randy on Nov-10-01 at 06:29 PM (EST)
My ISP has made some changes to the server and now my Ushop v2.0 has developed a problem. They are unable or unwilling to help. The Ushop process works fine except for the email notification to myself and the receipt to the customer. The emails sent are blank, no information. When I go to the order file, the order is there and I can get the info but this is a pain. What should I do to correct the blank emails so trhat the order notification and receipt work properly.
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

Order In Order Reader but Emails ar..., Microburst Technologies Support Team, Nov-11-01, (1)
Changed permissions, Randy, Nov-11-01, (2)
RE: Changed permissions, Joseph Pishgar, Nov-12-01, (3)
Sendmail Path, Randy, Nov-12-01, (4)
Emails are Blank but Orders are Wri..., Microburst Technologies Support Team, Nov-13-01, (5)
Order File and File Permissions, Randy, Nov-13-01, (6)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "Order In Order Reader but Emails are Blank"
Posted by Microburst Technologies Support Team on Nov-11-01 at 06:35 PM (EST)
Since it had been working until your ISP changed something on the server, the problem is likely to be caused by changed permissions on your secure server.

What kind of server do you have? If you have a Unix server, you could try resetting the permissions on your orders directory and uShop script yourself. It should be WRITE and EXECUTE (chmod 733) for the orders directory, and READ and EXECUTE for the perl script.

Start with this and we'll work from here.

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
 
2 . "Changed permissions"
Posted by Randy on Nov-11-01 at 09:30 PM (EST)
Thanks for the quick reply. I am on a UNIX server. I changed the permissions as you stated but still have the same problem. Order notification and receipt sent by email are blank. I have also noticed that the Order Reader displays the data in a single line of text, from left to right which runs well off the sceen.
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 . "RE: Changed permissions"
Posted by Joseph Pishgar on Nov-12-01 at 02:04 PM (EST)
Hello Randy,

If the permissions are indeed correct, then the next possible problem could be that the sendmail program of your server changed... which is to be expected when moving across servers. Your sendmail path has probably changed, and your ushop_cgiscript will need to be changed to reflect this.

You'll have to ask your server hosts or examine the documentation (sendmail path has to be listed somewhere) and in getting the path, make the change to question 3 of the script.
It should look something like "/usr/lib/sendmail". There are a few variations. If you were using an NT server before, make sure to comment out the NT section of question 4, OR just re-run the cgi script wizard.

Hope this helps.

Regards,
Joseph Pishgar
Microburst Technologies, Inc.
www.uburst.com

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 . "Sendmail Path"
Posted by Randy on Nov-12-01 at 07:52 PM (EST)
I checked the documentation on the Hosts site, the path has not changed to sendmail, it is still " /usr/sbin/sendmail ". I also checked the script and it is the same. The Host has informed me that they did not change servers but that they did "upgrade all of our servers with newer versions of all of our supported software". What should I check next.

Randy

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 . "Emails are Blank but Orders are Written to Orders Directory"
Posted by Microburst Technologies Support Team on Nov-13-01 at 10:26 AM (EST)
If the order files appear in the order reader as one long line, it is possible that they were transferred from some other server in BINARY mode, as opposed to ASCII mode, which would explain why the carriage returns are screwed up when you are viewing the file. But that wouldn't account for new orders having that problem.

If the order notification/receipt emails of new orders are blank, it sounds like the order file is not being successfully read before the emails are sent. But that would normally result in an "Unable to open" error message, plus that wouldn't account for the fact that the order reader can read the file.

Try placing a new test order, and then send us the order file that gets generated. This may help explain/figure out what is going on. NOTE: When FTPing the order file from your server to your local computer for emailing to us, BE SURE TO TRANSFER THE ORDER FILE IN "ASCII" or "TEXT" transfer mode, NOT "BINARY" TRANSFER MODE.

Looking at the exact format of the order file may help us determine what is going on with that server.

Also, while FTPing the test order file from your server, notice the exact permissions on the order file and give us that information too.

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
 
6 . "Order File and File Permissions"
Posted by Randy on Nov-13-01 at 08:17 PM (EST)
I am sending by email the test order file per your request. I checked the permissions for this file and they are shown as : -rw-rw-r--

Thank You
Randy Schmitz

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


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.