PHP Symfony framework error

I got the following error when trying to run “symfony propel-build-model“.

BUILD FAILED
Can’t load default task list
Total time: 0.0008 seconds
ERROR: symfony - Can’t load default task list

I’ve using PEAR install, symfony version is 1.0.13 running under PHP 5.2.5 (Windows XP), phing version is 2.3.0.

To solve this problem you should replace your Win32FileSystem.php in your php/pear/symfony/vendors/phing/system/io with Win32FileSystem.php from php/pear/phing/system/io, because this file is outdated in symfony phing version and contains invalid return value in resolveFile function.

Hope, this will help someone.

Tags: , , ,

2 Responses to “PHP Symfony framework error”

  1. David Vega R. Says:

    Hey!

    Google taked me to your blog, then I found the tip of the day.

    I had the same problem, and replacing Win32FileSystem.php my symfony is runing again! I have Windows Vista 64bits.

    Thanks for post it.

  2. Oleg Puzanov Says:

    You are welcome ;)

    I will send notification about this bug to Symfony team.

Leave a Reply