I had some configuration issues in my local.xml, which I cannot load my magento frontend nor my admin panel, then I fixed the issue I had in my local.xml, and to get my new config to be loaded, I deleted everything in /var/cache and even whats there in /var/session folders. But to my surprise Magento still loads the old local.xml settings.
I tried with restarting apache and cleared my browser cache, nothing works.
Any ideas??
Manage to Solve the issue and its the weirdest thing ever. When I change the local.xml to fix the issue I put a backup of the old file saying local_back.xml. I just delete that file and now everything is working fine. No idea why Magento pick that file up. Any ways issue has been solved.
Note : See comments below for more details, it is the .xml file extension