简体   繁体   中英

Admin Login : only works on clearing cache and session folders everytime

I am not a Magento programmer -

Before The admin login was not working at all.

After reading the forums, I deleted the records for base_url from the core_config_data table.

Now I can login BUT when I logout and in order for me to log back in, I have to clear the cache and session folders AND also clear the browser cookie data EVERY TIME.

Why would that happen!??

Also, I see the following message on admin -

{{base_url}} is not recommended to use in a production environment to declare the Base Unsecure URL / Base Secure URL. It is highly recommended to change this value in your Magento configuration.

what i think is that upon installation your site url hasn't being configured..try to to check following in your database.

select * from core_config_data where value like '%base_path%' or something like that, you can figure that by viewing the table content.

change these two entries to the exact site url, for ex : http://example.com dont use a trailing slash here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM