PDA

View Full Version : problem with CJPro


carbon14
08-17-2001, 04:22 AM
Hi,

I've got a problem with CJPro, perhaps can you help me ;-)
I can't use cgi's outside my cgi-bin folder and I didn't find the javascript to put on my index page to count the hits and the referrer...
Can you help me ?
Thanks

Thor
08-17-2001, 05:01 AM
you dont use java script to count anymore, that was in the old version, check this site for installation supervision http://www.circlejerkpro.com

Trax
08-17-2001, 05:02 AM
i donīt understand the problem.. theres no need to enter any javascript

--------
Trax

carbon14
08-17-2001, 05:29 AM
the problem is this one...
I installed the script, but the hits aren't counted...
I don't know what I have to do...
Must I put a code on my index page ?

ICQ 121909915
thanks

manofman
08-17-2001, 05:32 AM
did you also install the update?

Man

carbon14
08-17-2001, 05:36 AM
I installed the last version that I have downloaded yesterday... and the cjprocalculate.cgi
But I should certainly put a code or a redirect to my index page to count the in, isn'it ?
How can the script count the incoming hits without that ?

thanks

Thor
08-17-2001, 08:08 AM
you know that people are supposed to send hits to your cjproin.cgi ?

carbon14
08-17-2001, 08:19 AM
yes, but when someone subscribe to the trade page, CJPro tells him to send visitors to www.my-domain.com... (http://www.my-domain.com...)
So what must I do to setup the script to count visitors ?

Derek
08-17-2001, 08:22 AM
The cjpro script is not like the ucj script. All users send traffic through a cgi file and not to your main page. Thats why no hits are being counted.

carbon14
08-17-2001, 08:30 AM
but why CJPro tells the new subscriber to send traffic to root domain ???
someone can tell me another free CJ script ?

justsexxx
08-17-2001, 08:52 AM
Well cj u ltra But that name is **** here. So I think there are reasons for, I dont know them.

Andre

Cyber-Fantasy
08-17-2001, 10:05 AM
when you setup up cjpro
there is an option to send to root or not

go back and change it so it doesnt send to root

then when people signup they will get the correct linking code


Peace!

carbon14
08-17-2001, 01:32 PM
ok,
I setup it like that and it give this url to the trader
http://www.p0rn4free.com?JEUNES-VICELARDES.COM
I don't think this link is right...
Someone can help me ?

thanks

eskimoen
08-17-2001, 03:49 PM
Try ePower Trader (http://www.eskimoen.dk/ept)

justsexxx
08-17-2001, 03:52 PM
<font face="Verdana, Arial" size="2">Originally posted by eskimoen:
Try ePower Trader (http://www.eskimoen.dk/ept)</font>

Anyone tried this one? or have an demo?

carbon14
08-17-2001, 04:40 PM
the script looks fine but

1. I don't like php very much... some bad experiences in the past ;-)

2. I really WANT to understand what's wrong with CJPro... thousands of sites use it, why is there a problem with me ?

thanks

Cyber-Fantasy
08-17-2001, 05:32 PM
that is the correct link to the trader

justsexxx
08-17-2001, 05:33 PM
Well, I have to use mysql http://bbs.adultwebmasterinfo.com/ubb/frown.gif and I don't know how to handle that http://bbs.adultwebmasterinfo.com/ubb/frown.gif

justsexxx
08-17-2001, 05:34 PM
mmm please remove this and the message above, made mistake

carbon14
08-17-2001, 05:47 PM
OK

I begin to believe that I'm really stupid ;-)

So http://www.mysite.com/?tradersite.com
is the good link...

But how cjproin.cgi count this traffic ?
Must I put cjproin.cgi in a hidded frame ?

thanks

justsexxx
08-17-2001, 05:58 PM
I just installed it to watch the script, first I would like to use cj ul tra but then you need mysql, and I'm not that good in it..

And everything works fine. http://www.rat-ict.nl/trade.html brings you to my site and count it... Give me your ICQ and I will help you out..

Andre

carbon14
08-17-2001, 06:00 PM
ok...ok...ok...

sorry, I found the problem...
the script was configured to root domain but not with right url...

apologize,apologize,apologize...
mea culpa and thanks

Thor
08-17-2001, 06:08 PM
just want to tell everybody, that if you use epower Trader you dont go wrong, that script rocks the house, the freeversion is in the line with most payscripts.
And no, I dont get percentages http://bbs.adultwebmasterinfo.com/ubb/smile.gif

justsexxx
08-17-2001, 06:12 PM
Do you only use it, or are you the owner/comp. of the script?

Thor
08-17-2001, 08:03 PM
I just use it http://bbs.adultwebmasterinfo.com/ubb/smile.gif

Thor
08-17-2001, 08:08 PM
but after I started using the script, I a kind got to know the owner , because he helped me set it up, (im a complete retard at that).
But thats still not why, it is just becasue I like the script and thunks it rocks

justsexxx
08-18-2001, 03:01 AM
Can you give me the site where you use the script? Do you use the free one?

Thor
08-18-2001, 03:16 AM
sendt it to you on icq http://bbs.adultwebmasterinfo.com/ubb/smile.gif

carbon14
08-18-2001, 03:19 AM
can you give the url to me too ?

ICQ #121909915

justsexxx
08-18-2001, 03:25 AM
Please ICQ me agian, something went wrong http://bbs.adultwebmasterinfo.com/ubb/frown.gif

Andre

kevykev
08-29-2001, 01:48 PM
I just installed CJ Pro and it does give you an option to either send to the root domain or through the cgi script I would rather send it to the root domain but there is NO explaination on what to insert (ssi,javascript) into the index page to count hits.Tims says to icq on what to do but him but he never answers.

Anyone got any ideas?

blind
08-29-2001, 02:02 PM
Thor, you do not have to send to cjproin.cgi anymore, they can send directly to the domain.

What you have to do, is upload index.cgi and when you set up your script, have your main page url index2.html (This means when someone goes to yourdomain.com the index.cgi file loads counts the hits, and redirects them to index2.html) I think I know the problem you're having. My particular host at the time would not allow index.cgi to be read as an index file. Contact your host and tell them you want to run your page off of index.cgi as well as htm, html, shtml... You should also be able to do this in htaccess. But anyways, upload index.cgi, go into your cjprosetup, choose the root domain feature, and make your mainpage url index2.html Also make sure you CHRMOD everything correctly.

Hope this helps.

~Jeff

kevykev
08-29-2001, 02:11 PM
what????lol

uhh...My main index page is named index.shtml due to me having banner rotators on it.So do the people send hits to the index.cgi file or index.shtml?

Sandy
08-29-2001, 05:02 PM
With cjpro you can count you "in" hits trough the index.cgi file, but you must be able to have cgi access outside you cgi-bin. You say that's not possible for you!

in that case you have the, place the java code in the index file. or let the trades send traffic trough the in.cgi file. it's kinda crappy! in.cgi?YOURDOMAINNAME.COM

kinda sux

Sandy

blind
08-29-2001, 07:48 PM
Okay, so you would change your index.shtml to index2.html and put that in the cjprosetup.cgi as your main page URL (remember that page where you selected all the options when you installed the script) Then, call your host, and tell them you want to run index.cgi outside of your cgi-bin folder and they should be able to make it work for you. Worked for me.

kevykev
08-29-2001, 07:52 PM
I am able to run cgi outsite of the bin but I just don't get why I would have to rename my index.shtml to index2.shtml?..


Also Sandy what Javascript would I enter in the .shtml file?

aw-tolik
08-30-2001, 12:33 AM
strange....

maybe you guys just try use a .htaccess ?

i dont know what a problem here?
or you can use a simple javascript code to get trader domain

ChrisX
08-30-2001, 03:13 AM
It doest not work also for me, I put index.cgi in the htdocs directory and change index.html to index2.html, after I put http://www.mydomain.com/index2.html in the second line of the cj pro setup and do the chmod corectly...

When I go to http://www.mydomain.com all work fine... so the index.cgi work

but in the admin it doest not count the IN and the OUT

I don't understand what is the problem and I don't know what I must do!!!!!!

Before that I was using the long URl method instead of root domain, all work fine but the productivity of all my trade was 0% in the admin... and I received and send traffic with no problem, but I cannot run a CJ site if I cannot see productivity in my trade http://bbs.adultwebmasterinfo.com/ubb/frown.gif

Sandy
08-30-2001, 03:19 AM
This should be it

&lt;script language="JavaScript"&gt; &lt;!--
refer=""+escape(document.referrer); function isNotDefined(v) {return((v=="undefined")?true:false);}
if ((isNotDefined(refer)==true)||(refer=="")||(refer=="bookmarks")) {refer="Bookmark";}
else {wl=window.location.href; if(wl.lastIndexOf('/')!=(wl.length-1)) {wl=wl+"/";}
tdr=document.referrer; if(tdr.lastIndexOf('/')!=(tdr.length-1)) {tdr=tdr+"/";}
if(tdr==wl) {refer="na";}} u="refer="+refer; if(document.bgColor!=null)
{ itag="&lt;font color=\""+document.bgColor+"\"&gt;"; } else {itag=""; } itag=itag+"&lt;img
height='1' width='1' border='0' alt='' "+"src=\"/cgi-bin/cjpro/cjproin2.cgi?"+u+"\"&gt;";
if(document.bgColor!=null) {itag=itag+"&lt;/font&gt;";} document.write(itag+"\n");
//--&gt; &lt;/script&gt;


laterz sandy

but remember not everyone has java enabled!! so hits may be lost!@

ChrisX
08-30-2001, 04:03 AM
Now I get a 403 forbidden page when I type my domain name in the browser

...You don't have permission to access /index.cgi on this server.

Do you think it is because I have not cgi access outside the cgi-bin directory?

toker
08-30-2001, 05:00 AM
The 403 means its tring to list the dir and index.cgi wont run on your server so contact your host. Also if you get a 500 error and can run the index.cgi remember the chmod 755 has to be done outside the /cgi-bin also.

The whole thing is so simple to setup to be honest maybe because i have installed hundreds of CGIs but dont feel bad i know shit about php though. http://bbs.adultwebmasterinfo.com/ubb/tongue.gif

If you need an easy explanation it goes a little something like this...

index.cgi takes place of index.html or .hmt .shtm ect..

Inside the index.cgi you can set it to work with anything you want but if you use index.html it will override the index.cgi by default. You can advise your host to change the order if you want to go that route or simply rename to mainpage.html which is what i would do.

Open index.cgi and you see something like this and make sure you have the correct path or it wont count..

require "/usr/yourpath/httpd/cgi-bin/cjpro/cjproconfigure.cgi";&configure;

Now open cjproconfigure.cgi and find these 2 settings below. http://bbs.adultwebmasterinfo.com/ubb/wink.gif

This points to your in.cgi path..
$rooturl = "http://www.yourdomain/cgi-bin/cjpro/cjproin.cgi";

This points to the page you will use as the index can be anything you want .htm .html .shtml but this is your mainpage that you will send users to..
$mainpageurl = "http://www.yourdomain/mainpage.html";

There is no need for any javascript or other script this should all work fine!

Also this is the same way the other scripts work so it dont matter what you use they all must be setup properly.

If you still have problems ask your host for help and if they cant help or you need any CGI or Perl scripts (No PHP) installed i charge $10 and Up.. CJPro ill do for $10 via paypal and have you running in no time..!!

ChrisX
08-30-2001, 05:22 PM
Thanks toker for the explanation! http://bbs.adultwebmasterinfo.com/ubb/smile.gif

I will contact my host

drumsicle
08-30-2001, 07:10 PM
IMHO you save yourself a ton of trouble and get a much better by using the script whose name is banned from the board