2

I added new code to the template.php and tried clearing the cache but it does not seem like the cache is being cleared. I tried the Admin ->settings->performance and drush (not sure if I installed it properly). Would there be any suggestions?

Drupal 6.

2
  • 1
    How do you know that the cache isn't being cleared? If your new code isn't being recognized, perhaps it's an issue with your code?
    – nmc
    Aug 9, 2011 at 23:41
  • Can you get a simple message to show up with drupal_set_message()? As for drush, do you get any error messages?
    – Jukebox
    Aug 10, 2011 at 2:36

1 Answer 1

4

What's the new code that you've added to the template.php file? When I run into problems like this, in the 95% of cases I make a mistake and the cache clearing works, but my new code won't be recognized because of errors.

Basically, if you're able to run

drush cc all

without any warnings or errors, the cache clearing succeed and it should tell you that

'all' cache was cleared [success]

Your Answer

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

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