1
votes

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.

1
Are you using localhost?Pradeep shyam
No I am not using localhostuser2879422
then is this on a real server ?Sunil Verma
yes it is on real serveruser2879422

1 Answers

1
votes

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