Can't login to Magento admin

前端 未结 12 2678
谎友^
谎友^ 2020-11-30 09:31

I have magento installed in a subdirectory. www.domain.com/subdir/magento

This site worked perfectly at one point. I changed nothing, until my client said he could

12条回答
  •  青春惊慌失措
    2020-11-30 10:05

    Did you erase the session storage in var directory?

    In my case, when I was playing with autorization for multistore on subdomains (changed path and domain for cookie as you did), this method helped me to drop the "bad" cookie and sucessfuly logined in admin:

    In apppath/var/session directory I've made command in shell (be careful with path, this could delete all the files in the directory)

    rm -rf /path/to/magento/var/session/*
    

    And then just clean the cookie for domain in browser.

提交回复
热议问题