KahelAMP!

Life, Linux and Web Development in KahelOS… OK, in general…

symfony not working after a Plugin Update

leave a comment »

Sometimes, even if you think you know your way around things, you can’t help but laugh for not noticing that you are actually going a long way around a problem.

I’ve recently updated a community favorite plugin, sfDoctrineGuardPlugin, and symfony CLI suddenly doesn’t work. The following line had shown up on my logs:

PHP Warning: require(/srv/http/sf_project/plugins/sfDoctrineGuardPlugin/lib/task/sfGuardCreateAdminTask.class.php): failed to open stream: No such file or directory in /srv/http/sf_project/lib/vendor/symfony-1.4/lib/autoload/sfSimpleAutoload.class.php on line 123

Upon source code history review, it shows that sfGuardCreateAdminTask.class.php has been removed on r25546. From I’ve pieced together after googling around vaguely suggests that the cache should have been cleared first prior to updating any symfony plugin.

I did just that. I’ve reverted to an old revision, then cleared the cache with a ./symfony cc, then reset to the current revision. Presto, symfony still works. I happily continued working on my project.

A couple of hours later, on my break I started laughing at myself (just a little, didn’t want to look crazy)… Why?

Advertisement

Written by agi

January 11, 2010 at 11:17 pm

Posted in lamp

Tagged with , ,

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.