My client drupal site stopped working suddenly and gave me this error Fatal error: Class 'RulesI18nStringController' not found in entity.i18n.inc on line 31 i checked the rules module and entity module and nothing seems to be messing. I searched for a solution on the internet with no luck. I have rules 7.x-2.2 and entity 7.x-1.0-rc3 but i can't login to the site so i can't access update.php to update the rules and entity modules to the latest versions "as it may fix this problem".

So can anybody help me find solve this problem?

PS: If you need any additional information about the problem just ask about it in the comments.

Thanks in advance for you all.

  • 1
    You can use drush to update your site without logging in.
    – Elin Y.
    Commented Aug 4, 2014 at 5:58
  • @ЕлинЙ. i will try it and i hope updating will fix the problem Commented Aug 4, 2014 at 6:14

1 Answer 1


You have $update_free_access variable in your settings.php file. Set it to:

$update_free_access = TRUE;

You will be able to run update.php without login. Don't forget to turn it back to FALSE when done - if left TRUE, it can open your site to DoS attacks.

  • Tried it and updated my modules and the error message is gone thank you for your help Commented Aug 4, 2014 at 6:57
  • Glad it worked :)
    – Mołot
    Commented Aug 4, 2014 at 7:06

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.