PDA

View Full Version : Script Help


SteveD3
12th June 2004, 09:40 PM
I can not get this to work. I have it installed, and I can get affiliates signed up, however clicks are not tracked, and I know sales are not working, as I had someone buy something.

Here is what I did.

The script is installed in a DIR titles affsyst in my main web folder.

The index.php has the following at the top of the page.

<? include "http://www.mp3qhosting.net/affsyst/affiliate.php"; ?>

The main page holds a link to packages, from there you pick a package, and goto its page. If a person chooses to order a new page is opened, and there is a link to the check out page. Once the package is ordered your sent to a thank you page and asked to fill out information. On this page at the top in the source I have

<? include "http://www.mp3qhosting.net/affsyst/FAKE.php"; ?>

Is this wrong? Anyone here have a tip or some help?

Thanks

-Steve

mark
12th June 2004, 10:54 PM
Hello,

I would put relative path instead of full url address, but this might also work according to the php documentation.

The problem can be in file affiliate.php and check1.php.
There are includes in both of these files too, and if you installed POST Affiliate into subdirectory (which you did), you have to put relative or absolute path also to those includes.

For example, in affiliate.php:

...
include "affconfig.php";
...

should be replaced by

...
include "http://www.mp3qhosting.net/affsyst/affconfig.php";
...


But once again, I'd put rather use relative paths than urls, so it would look like

...
include "./affsyst/affconfig.php";
...

and include on your index.php page as

...
include "./affsyst/affiliate.php";
...

hope it helped

mark

13th June 2004, 12:52 AM
I think that worked, I see links and sales on my clicks now.
Thanks a bunch!

-Steve

29th July 2004, 04:01 PM
i got the same error, but its still not solved.

have no idea - what could be wrong ?

even couldn't find any cookies in my temp folder here

kangarootaz
29th July 2004, 04:18 PM
everything works finde by me, but still get no sales the sales entry - buy field is still 0.

pls help me :-)