1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

EasySiteNetwork wallpapers script help!!!!

Discussion in 'Scripts' started by Silent Hill, Jun 17, 2007.

  1. #1
    I am using easysite network wallpapers script. I have installed the script succesfully. But I am unable to get access to the admin area. The script requires to add a row into admin_login. I did it exactly but I am unable to get acces to the admin area.

    Command to be executed,

    insert into admin_login (login, password) values ('[your login]', '[your password]');
    
    Code (markup):

    I entered the following command in sql window,

    insert into admin_login (login, password) values ('[admin]', '[pass]');
    Code (markup):
    Is this all correct or there is some error?
     
    Silent Hill, Jun 17, 2007 IP
  2. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #2
    i'll have a stab at this

    insert into `admin_login` values ('admin', 'pass');
     
    sawz, Jun 17, 2007 IP
  3. Silent Hill

    Silent Hill Peon

    Messages:
    61
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the reply but i got the following error,

    SQL query:
    
    INSERT INTO `admin_login`
    VALUES (
    'admin', 'pass'
    )
    
    MySQL said: Documentation
    #1136 - Column count doesn't match value count at row 1 
    Code (markup):
     
    Silent Hill, Jun 17, 2007 IP
  4. Silent Hill

    Silent Hill Peon

    Messages:
    61
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    it continuously says that Please login first.

    I have checked that my register_globals is on
     
    Silent Hill, Jun 17, 2007 IP
  5. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #5
    column count does not match, there are more then 3 fields then besides name and password? whats the missing field?
     
    sawz, Jun 18, 2007 IP
  6. Silent Hill

    Silent Hill Peon

    Messages:
    61
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    The original query was,

    # Table structure for table `admin_login`
    #
    
    CREATE TABLE admin_login (
      login varchar(20) default NULL,
      password varchar(20) default NULL,
      sessionkey int(10) unsigned default NULL
    ) TYPE=MyISAM;
    
    #
    # Dumping data for table `admin_login`
    #
    
    INSERT INTO admin_login VALUES ('guest','guest','');
    Code (markup):
     
    Silent Hill, Jun 18, 2007 IP
  7. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #7
    INSERT INTO admin_login VALUES ('admin','pass','');

    ??
     
    sawz, Jun 18, 2007 IP