Upgraded Symfony and failed in sfCoreAutoload

One of the development projects was upgraded from Symfony V142 to the latest V144. My convention for the development is to symbolic link the symfony core files under lib/vendor directory.

After the upgrade, the browser displayed blank page with the following error logged:

PHP Warning: sfCoreAutoload::require(/config/sfProjectConfiguration.class.php) [sfcoreautoload.require]: failed to open stream: No such file or directory in /path/to/symfony-1.4.4/lib/autoload/sfCoreAutoload.class.php on line 99

Running from command line initially had this warning but the problem went away after cache was cleared. However accessing from the browser continues to have the same problem.

Ot’s not the first time I upgraded a project to the latest Symfony but it’s the first time this happens.

After some research, it was mentioned that application runs normally after restarting Apache. Yes, it works!  if you know why, please leave a comment.

Development environment: Fedora Core 10, Apache 2.2.10, PHP 5.2.6, MySQL 5.0.67.

Updated: it seems this only happens when upgrading to V144?

Leave a Reply

Your email address will not be published. Required fields are marked *