Reputation: 3377
I have a problem with my magento site. I changed the secure and unsecure base url in the core_config_data table to a new value and when I go to the site the new value is not used. Its like its not even paying attention to what the database says.
I cleared the cache too. Any ideas?
Upvotes: 2
Views: 5683
Reputation: 27
In my case was memcache prefix, the same that another store in the same server.
Upvotes: 1
Reputation: 1145
If you're ever having problems manually changing the core_config_data table to represent the proper URLs, especially when working locally, rename /app/etc/local.xml to local.xmlcopy (or wtv).
This has always been my failsafe; I always do it manually, but when all else fails, this almost always works.
Go through the installation process (Do not worry: It will not delete your data; it'll know the tables are created).
That's it. Go to the front end, and it should work.
Upvotes: 1
Reputation: 2450
Another solution is to rename /app/etc/local.xml to /app/etc/local.xml.old and restart the installation process.
My problem was that I typed the wrong base url for javascript (forgot to add the /js/ at the end), so javascript did not work on the frontend or backend. After changing the base js url and clearing the cache, still no js. Only after renaming local.xml and going through the installation process did the correct js url (with the /js/) kick in.
Upvotes: 4