uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Tech Support
       Support Policy
       Knowledge Base
       Reference Sites
       Software Piracy
       Legal Notices
       Privacy Policy
       Reseller Info
       Contact Us
       Site Map
Order Notification / Blank email

Knowledge Base Lobby : uShop Support Conference : CGI Script Related Problems
Jul-19-18 01:26 PM EST
Original Message
Order Notification / Blank email
Author Randy on 11-10-2001 at 18:29 (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.

Table Of Contents
  Order In Order Reader but Emails are Blank Microburst Technologies Support Tea, 2001-11-11 18:35:13 (1)
            Changed permissions Randy, 2001-11-11 21:30:38 (2)
                 RE: Changed permissions Joseph Pishgar, 2001-11-12 14:04:11 (3)
                      Sendmail Path Randy, 2001-11-12 19:52:33 (4)
                           Emails are Blank but Orders are Written to Orders Directory Microburst Technologies Support Tea, 2001-11-13 10:26:02 (5)
                                Order File and File Permissions Randy, 2001-11-13 20:17:07 (6)

Messages In This Discussion
         1. Order In Order Reader but Emails are Blank
        Author Microburst Technologies Support Tea on 11-11-2001 at 18:35 (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.
                 2. Changed permissions
                Author Randy on 11-11-2001 at 21:30 (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.
                         3. RE: Changed permissions
                        Author Joseph Pishgar on 11-12-2001 at 14:04 (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.

Joseph Pishgar
Microburst Technologies, Inc.
                                 4. Sendmail Path
                                Author Randy on 11-12-2001 at 19:52 (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.

                                         5. Emails are Blank but Orders are Written to Orders Directory
                                        Author Microburst Technologies Support Tea on 11-13-2001 at 10:26 (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.

                                                 6. Order File and File Permissions
                                                Author Randy on 11-13-2001 at 20:17 (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

© 2003 Microburst Technologies, Inc.