1

How can i login magmi, am copy of the magmi folder into magento root folder, then go to http://www.------.com/magmi/web/magmi.php, they ask username and password

enter image description here

2
  • 1
    That's good, somebody added password protection with .htaccess. Otherwise your site would be an easy target for hackers, never leave magmi accessible from outside! Solution: ask for the password and enter it Commented Jun 22, 2016 at 8:03
  • I still believe the magmi web panel shouldn't be deployed at all, but we only use the data pump API
    – scrowler
    Commented Jun 22, 2016 at 19:20

1 Answer 1

6

The more recent version of Magmi uses the Magento admin authorization system to protect the Magmi admin panel.

Log in with your Magento admin username and password.

See the Magmi code:

public function authenticate(){
    if (!$this->_hasDB) return ($this->user == 'magmi' && $this->pass == 'magmi');
    $tn=$this->tablename('admin_user');
    $result = $this->select("SELECT * FROM $tn WHERE username = ?",array($this->user))->fetch(PDO::FETCH_ASSOC);
    return $this->validatePass($result['password'],$this->pass);
}
4
  • Actually am tried with my magento user name and password, but its not working,
    – Gem
    Commented Jun 22, 2016 at 4:26
  • which file i need to edit
    – Gem
    Commented Jun 22, 2016 at 4:29
  • 4
    could you help me to solve this
    – Gem
    Commented Jun 22, 2016 at 8:44
  • Didn't work me either. I tried username magmi and password magmi as in the code and that worked.
    – Akif
    Commented Jul 9, 2018 at 18:37

Not the answer you're looking for? Browse other questions tagged or ask your own question.