Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    160

    Default Is this a bug?

    Ok, I've been messing with the theme commands in x and I wanted to display the server IP address when the user logges into a section of cPanel.

    I issued the following command in the file:

    <cpanel print="$DATA{'IP'}"> and it prints the server IP.

    However, when another user loges in that was transfered from another server some months ago it is displaying that old server's IP. I have not figured out yet where it is pulling this data from. I moved a server from Rackshack to The Plan in Dec so maybe a file got moved over. I don't think it is checking any whois DB.

  2. #2
    Member
    Join Date
    Mar 2003
    Posts
    160

    Default

    looks like it is in the /var/cpanel/users directory

    I opened the "username" and there was the old IP.

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    160

    Default

    Ok, I fixed it with this server so if anybody else is looking for help on this will work.

    [/var/cpanel/users]# perl -pi -e 's/old_ip/new_ip/' *

Similar Threads & Tags
Similar threads

  1. Apache Bug - is this normal or a bug?
    By DReade83 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-16-2007, 04:11 PM
  2. Bug
    By Angel78 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-13-2004, 09:04 AM
  3. Is This A BUG or WHAT !!!!
    By dadeyoo in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 08-09-2003, 01:13 AM
  4. Replies: 2
    Last Post: 06-20-2003, 05:29 PM
  5. Replies: 2
    Last Post: 06-20-2003, 05:29 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube