I had to change the directory name of me magento installation for some reason. After that, the site did not load well (as it was expected). I now i had to change the base url in the admin section (configuration settings).

I had to manually change the urls in the browser every time i browse from page to page, but when i finnaly got to the right one, the buttons did not work.

So i had to do it in another way. I went to my phpadmin page in order to access the database. I manually edited the “web/unsecure/base_url” and “web/secure/base_url” fields in the “core_config_data”  table.

I refreshed my page but still no luck. Perhaps it was the cach. But how could i change it?

Manually again!

I went to my ftp client and accessed the var/cache/ directory. I deleted everything inside there and voila!