Christopher Shennan's Blog

A day in the life of…

Last week I was working away in the office at Line Digital on our latest Symfony based project when our project started giving us a strange error similar to:-

Fatal error: Uncaught exception ‘sfConfigurationException’ with message ‘Configuration file "/usr/lib/php/symfony/config/config/core_compile.yml" does not have a registered handler.’ in /usr/lib/php/symfony/config/sfConfigCache.class.php:101

Looking into this a little closer we found that the server had ran out of disk space so after making some space and using “symfony cc” to clear the cache we thought that this would have resolved the problem, however we continued to get the “does not have a registered handler” message being presented.

In the end, we had to clear the cache manually with a command similar to:-

rm -fr cache/*

For some reason this seemed to work fine where as the “symfony cc” command didn’t work therefore the only conclusion that we could come up with is that when the server ran out of disk space it corrupted something in the symfony cache which either is not normally cleared with a “symfony cc” and as a result we needed to remove it completely so symfony could re-build it automatically.

About Christopher Shennan

I am a web developer specialising in web driven applications using PHP, MySQL, Symfony and Zend and I am currently working for Line Digital in Edinburgh, Scotland.

Most days I can be found frantically coding away with EuroDance in my ears and consuming what I hope to be a never ending supply of coffee... happy days!

Connect with me via Twitter, Google+ or LinkedIn

  • #1 | Written by D about 1 year ago.

    Very nice it worked for me too !!

  • #2 | Written by Ash about 1 year ago.

    Identical thing just happened to us.

  • #3 | Written by javier about 1 year ago.

    Configuration file “/plugins/sfImageTransformExtraPlugin/config/thumbnailing.yml” does not have a registered handler

    Thanks, worked for me too!!

  • #4 | Written by Dmitriy about 8 months ago.

    Christopher, you’re GOD! Very nice explanation and very nice solution, thanks!

No trackbacks yet.

Leave a Comment

Subscribe to comments

CommentLuv badge