How to fix the Last IP (connection dropped) error in Phoenix Emulator

Page 1 of 4 1234 LastLast
Results 1 to 15 of 56
  1. #1
    Gamma Spamma Liam is offline
    MemberRank
    Dec 2011 Join Date
    Down UnderLocation
    2,946Posts

    How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Hello there! I've seen alot of people having this problem, where when they connect to there client, it gives them a error in there emulator, witch is known as - Connection dropped or Last IP error, I'm pretty sure there the same.. Well here's a fix!

    If you're using UberCMS, you have to execute a SQL update witch updates the users Last IP, then loads the client, and ensures that the client loads successfully and secure.

    In your client.php file, look for:
    PHP Code:
    if (!LOGGED_IN)
    {
        
    header("Location: " WWW"/login_popup");
        exit;

    After that, add the line of code:
    PHP Code:
    // Last IP update
    dbquery("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '".USER_NAME."'"); 
    Like so:


    This should fix the error(s) you have when it comes to the Last IP error!

    If you find any more problems, please PM me, I will help all I can


  2. #2
    Account Upgraded | Title Enabled! iZoom is offline
    MemberRank
    Jul 2011 Join Date
    Near OlympicsLocation
    240Posts

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    What client.php file i cant find it help?

  3. #3
    hi i'm robbie Roper is offline
    MemberRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Awesome tutorial, think it's been posted before though. Nonetheless, thanks for sharing it!

  4. #4
    Gamma Spamma Liam is offline
    MemberRank
    Dec 2011 Join Date
    Down UnderLocation
    2,946Posts

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by iZoom View Post
    What client.php file i cant find it help?
    I don't want noobs posting here, it's not that hard to find the client.php file...

    @RobTheLobster, thanks mate.

  5. #5
    [̲̅$̲̅(̲̅1̲̅)̲̅$ ̲̅] leenster is offline
    MemberRank
    May 2008 Join Date
    KanaadaLocation
    992Posts

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by ѕуѕтєм View Post
    I don't want noobs posting here, it's not that hard to find the client.php file...

    @RobTheLobster, thanks mate.
    I dont think ubercms has a client.php, i believe its a tpl file isnt it?

  6. #6
    hi i'm robbie Roper is offline
    MemberRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by leenster View Post
    I dont think ubercms has a client.php, i believe its a tpl file isnt it?
    It has;
    client.php

    And it also has a tpl file for it too, which contains the ip etc.

  7. #7
    Account Upgraded | Title Enabled! iZoom is offline
    MemberRank
    Jul 2011 Join Date
    Near OlympicsLocation
    240Posts

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Dude im no noob ok i can find the client.php file but this isnt in it:
    if (!LOGGED_IN)
    {
    header("Location: " . WWW. "/login_popup");
    exit;
    }

    So what do i do?

  8. #8
    Gamma Spamma Liam is offline
    MemberRank
    Dec 2011 Join Date
    Down UnderLocation
    2,946Posts

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    If you're not a noob, you'll see in UberCMS where to add it into;

  9. #9
    Account Upgraded | Title Enabled! iZoom is offline
    MemberRank
    Jul 2011 Join Date
    Near OlympicsLocation
    240Posts

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    :O But its not there :( But its in tpl stuff so i did it now it works some how and my firend needs help for phoenix his doesnt work it says :
    >> Connection Dropped [0] from [x.x.x.x.x]
    >> Connection [0] from [x.x.x.x.x]
    >> Connection Dropped [0] from [x.x.x.x.x]
    >> Connection [0] from [x.x.x.x.x]
    Exception has been saved
    >> Connection Dropped [0] from [x.x.x.x.x]

    How can he fix that? it always happens to every user and him
    Last edited by iZoom; 29-01-12 at 12:44 PM.

  10. #10
    Member Lolisloltje is offline
    MemberRank
    Dec 2009 Join Date
    94Posts

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by iZoom View Post
    :O But its not there :( But its in tpl stuff so i did it now it works some how and my firend needs help for phoenix his doesnt work it says :
    >> Connection Dropped [0] from [x.x.x.x.x]
    >> Connection [0] from [x.x.x.x.x]
    >> Connection Dropped [0] from [x.x.x.x.x]
    >> Connection [0] from [x.x.x.x.x]
    Exception has been saved
    >> Connection Dropped [0] from [x.x.x.x.x]

    How can he fix that? it always happens to every user and him
    Look in the Exception file. Like it says an exception has been saved. It means that the error that encountered has been saved.

  11. #11
    hi i'm robbie Roper is offline
    MemberRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by iZoom View Post
    Dude im no noob ok i can find the client.php file but this isnt in it:
    if (!LOGGED_IN)
    {
    header("Location: " . WWW. "/login_popup");
    exit;
    }

    So what do i do?
    Alternatively, you could place it on "me.php" so as soon as a user logs in it updates their ip.

  12. #12
    Member Lolisloltje is offline
    MemberRank
    Dec 2009 Join Date
    94Posts

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by Xudos View Post
    Alternatively, you could place it on "me.php" so as soon as a user logs in it updates their ip.
    Some users go directly to client.php.

  13. #13
    hi i'm robbie Roper is offline
    MemberRank
    Oct 2008 Join Date
    /home/roperLocation
    2,283Posts

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by Lolisloltje View Post
    Some users go directly to client.php.
    Place it inside the login code then, simple.

  14. #14
    Account Upgraded | Title Enabled! CyberVibe is offline
    MemberRank
    Jan 2012 Join Date
    C:\inetpub\Location
    215Posts

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Thanks for this =)

  15. #15
    Gamma Spamma Liam is offline
    MemberRank
    Dec 2011 Join Date
    Down UnderLocation
    2,946Posts

    Re: How to fix the Last IP (connection dropped) error in Phoenix Emulator

    Quote Originally Posted by CyberVibe View Post
    Thanks for this =)
    No problem mate. I hope I helped some people :>



Page 1 of 4 1234 LastLast

Advertisement