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
Cookie Reporting Error

Knowledge Base Lobby : uShop Support Conference : CGI Script Related Problems
Aug-15-18 12:05 AM EST
Original Message
Cookie Reporting Error
Author jenbak on 11-01-2002 at 17:25 (EST)
I am having trouble with the cookie reporting for affiliates.

The cookie is being set on computers and the information is apparently registering in the ushop-affiliates.log but when I go to see the affiliate reports from the ushop.cgi, the information is not showing up for the affiliates I am attempting to view the reports for.

The website address is
the script location is

the path to the data directory is /home/jenbaksalescanada/www/cgi-bin/data/

I have tried calling the file using ALL of the recommened ways on the user_guide.html and the information page.

I am using ushop version = "3.45

I hope I have provide enough information to make it easier to help me figure out what is happening.

Maybe the files are not chmod ed properly? I do know that the cgi scripts are chmod 755.
Should the data text and log files be chmod 777.

If not, what should each file be chmod ed too. I understand 700 is best, 733 ok .

I will be willing to provide ftp shell access if required to ADMIN of Ushop.

I have spent the last several moonths trying to figure this problem out and I have finally given in and as a lat resort, I am asking for assistance here. I am savy in computer and basic cgi script programming.

Thank you for your help.

Bill Baker.

Table Of Contents
  More info jenbak, 2002-11-01 17:39:18 (1)
            RE: More info Bill Weiner, 2002-11-07 05:47:23 (2)

Messages In This Discussion
         1. More info
        Author jenbak on 11-01-2002 at 17:39 (EST)
This is the script I would like my affiliates to post on their websites to set the cookie

The image source script located on the page, section 7."

I think it is correct to call this link from https: since when I call this link from http: nothing registers at all. Not even in the ushop_affiliates.log.


                 2. RE: More info
                Author Bill Weiner on 11-07-2002 at 05:47 (EST)
As of course, you've read (probably a bunch of times), there are a variety of options for setting of uShop's affiliate cookie/tracking option, as described at:

For now, let's just go with what you have working at:

That is, from your description, it sounds like that URL is properly setting the cookie and the cookie is properly being registered in the ushop-affiliates.log file, correct?

And so the only problem is that you are not seeing the affiliate information when doing an affiliate report on that affiliate from the uShop control panel, correct?

Going to that URL:

1) I definitely see the affiliate cooking being set.

2) And upon starting the checkout process, I definitely see that the hidden affiliate "id" is properly being set to "exampleid" (by viewing the source of the first checkout page):

< INPUT TYPE="hidden" NAME="id" VALUE="exampleid" >

3) And again based on your description, it sounds like the ushop-affiliates.log file is being updated.

I couldn't verify this myself at:

... because I don't know the password that you set for the "exampleid" affiliate.

But I can say that this indicates to me that everything is most likely setup properly, however, you may not have actually created an affiliate with the "exampleid".

That is, did you remember to actually Add/Create the "exampleid" affiliate via the uShop Control Panel? If you don't actually "Add" the affiliate via the uShop Control Panel, that affiliate won't be listed in any affiliate reports. So check that.


(By the way, on an entirely different subject, when testing out your website, I noticed on your page at:

That you accidentally have the "script_url" parameter of your uShopOrderButton applet set to:

instead of:

Note the "https://picus" instead of "https://medica". You probably want to correct that.)

© 2003 Microburst Technologies, Inc.