0

i just upload a module then got an error

Fatal error: Call to a member function rewrite() on a non-object in /var/www/directory/app/code/core/Mage/Core/Controller/Varien/Front.php on line 165

i completely removed the module but the error still exists, how can i retrieve my website.

3
  • 2
    Have you tried clearing the cache? You can manually do this by deleting the contents of the var/cache/ directory. Commented Aug 7, 2014 at 3:11
  • problem fixed because i had changed the permission of folder var, thanks all answers.
    – user7787
    Commented Aug 7, 2014 at 5:19
  • 1
    Try to put this as an answer and free feel to accept it or accept @alanstorm answer. Please don't leave a question as it is. Commented Aug 7, 2014 at 5:27

1 Answer 1

1

Sounds like the module's old configuration is still in your cache. This is a common problem when removing modules. Try clearing your Magento cache. If that doesn't help, there's more information on debugging the problem in this other question thread

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.