Need help with PHP - referral link
2014-06-09, 05:07 PM,
#1
I am trying to use a referral link, however when I open one of my referral links, I get this: [Image: ZOiDK6L.png]
I attempted to use this script: http://www.cpaelites.com/Thread-Get-Vira...2-0?page=4 with my own index.php

I can give the website link to those willing to help.

[Image: R5I6Tcg.gif]
Reply
2014-06-09, 05:09 PM,
#2
The function getRealIpAddr() isn't defined in ur code dude..

You are trying to call a function that doesn't exists.
Reply
2014-06-09, 05:22 PM,
#3
(2014-06-09, 05:09 PM)CPAManager Wrote: The function getRealIpAddr() isn't defined in ur code dude..

You are trying to call a function that doesn't exists.

Cheers, fixed it.

[Image: R5I6Tcg.gif]
Reply
2014-06-09, 06:52 PM,
(This post was last modified: 2014-06-09, 06:52 PM by Adept.)
#4
ISSUE #2: I'm getting "You have referrals" instead of "You have 0 referrals"

[Image: iaP8gt9.png]

[Image: R5I6Tcg.gif]
Reply
2014-06-09, 07:49 PM,
#5
How do you expect me to help you with this when I can't see the code? Anyway.. My guess would be that it doesn't get the value from database, or wherever you store the data. Or then your not echo'ing the number.
Reply
2014-06-09, 07:55 PM,
(This post was last modified: 2014-06-09, 07:56 PM by Adept.)
#6
(2014-06-09, 07:49 PM)CPAManager Wrote: How do you expect me to help you with this when I can't see the code? Anyway.. My guess would be that it doesn't get the value from database, or wherever you store the data. Or then your not echo'ing the number.

I can send all the stuff your way if you'd like.
If you're willing to help out you can download everything from:
http://www.cpaelites.com/Thread-Get-Vira...ersion-2-0

[Image: R5I6Tcg.gif]
Reply
2014-06-09, 07:58 PM,
(This post was last modified: 2014-06-09, 07:59 PM by CPAManager.)
#7
(2014-06-09, 07:55 PM)AdeptMT Wrote:
(2014-06-09, 07:49 PM)CPAManager Wrote: How do you expect me to help you with this when I can't see the code? Anyway.. My guess would be that it doesn't get the value from database, or wherever you store the data. Or then your not echo'ing the number.

I can send all the stuff your way if you'd like.
If you're willing to help out you can download everything from:
/Thread-Get-Viral-CPA-Script-w-referral-system-Version-2-0

Nah, just trying to help you out. Try to look for yourself, and you can try to check the error_log file on your server, and see what error(s) you might be getting.
Reply
2014-06-09, 08:09 PM,
#8
(2014-06-09, 07:58 PM)CPAManager Wrote:
(2014-06-09, 07:55 PM)AdeptMT Wrote:
(2014-06-09, 07:49 PM)CPAManager Wrote: How do you expect me to help you with this when I can't see the code? Anyway.. My guess would be that it doesn't get the value from database, or wherever you store the data. Or then your not echo'ing the number.

I can send all the stuff your way if you'd like.
If you're willing to help out you can download everything from:
/Thread-Get-Viral-CPA-Script-w-referral-system-Version-2-0

Nah, just trying to help you out. Try to look for yourself, and you can try to check the error_log file on your server, and see what error(s) you might be getting.

Oh, trust me I've been trying to find the solution myself for the past 2 hours.

[Image: R5I6Tcg.gif]
Reply
2014-06-09, 08:22 PM,
#9
(2014-06-09, 08:09 PM)AdeptMT Wrote:
(2014-06-09, 07:58 PM)CPAManager Wrote:
(2014-06-09, 07:55 PM)AdeptMT Wrote:
(2014-06-09, 07:49 PM)CPAManager Wrote: How do you expect me to help you with this when I can't see the code? Anyway.. My guess would be that it doesn't get the value from database, or wherever you store the data. Or then your not echo'ing the number.

I can send all the stuff your way if you'd like.
If you're willing to help out you can download everything from:
/Thread-Get-Viral-CPA-Script-w-referral-system-Version-2-0

Nah, just trying to help you out. Try to look for yourself, and you can try to check the error_log file on your server, and see what error(s) you might be getting.

Oh, trust me I've been trying to find the solution myself for the past 2 hours.

Does it grab the data from database or what? It probably stores the ID in a cookie, so check those two things. You can also try to error_log the number, and see if it has any value.
Reply
2014-06-10, 03:45 AM,
#10
(2014-06-09, 08:22 PM)CPAManager Wrote:
(2014-06-09, 08:09 PM)AdeptMT Wrote:
(2014-06-09, 07:58 PM)CPAManager Wrote:
(2014-06-09, 07:55 PM)AdeptMT Wrote:
(2014-06-09, 07:49 PM)CPAManager Wrote: How do you expect me to help you with this when I can't see the code? Anyway.. My guess would be that it doesn't get the value from database, or wherever you store the data. Or then your not echo'ing the number.

I can send all the stuff your way if you'd like.
If you're willing to help out you can download everything from:
/Thread-Get-Viral-CPA-Script-w-referral-system-Version-2-0

Nah, just trying to help you out. Try to look for yourself, and you can try to check the error_log file on your server, and see what error(s) you might be getting.

Oh, trust me I've been trying to find the solution myself for the past 2 hours.

Does it grab the data from database or what? It probably stores the ID in a cookie, so check those two things. You can also try to error_log the number, and see if it has any value.

Yes, its supposed to grab data from a database but apparently it's not..

[Image: R5I6Tcg.gif]
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  CPA Link Locker - French offers? COBNET 13 380 2017-09-03, 11:57 AM
Last Post: flash_drive
  Where to link landing page? 1st 7 180 2017-08-27, 01:10 PM
Last Post: Yogesh1998
  Adludum file locker link only displaying a white screen? gamertrial1 5 144 2017-08-17, 07:24 AM
Last Post: gamertrial1
  [Need Advice] About Youtube comment link and contentlocker site. 5light 4 241 2017-08-06, 03:53 AM
Last Post: holleghren
  instagram ogads link problem SeoFreak 2 206 2017-07-25, 12:14 PM
Last Post: xDarkEclipse




About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top