Yohan 'rouKs' G. wrote:
> I have the following problem when I make a symfony propel-build-
> model :
>
> Fatal error: Declaration of UnixFileSystem::getBooleanAttributes()
> must be compatible with that of FileSystem::getBooleanAttributes() in /
> usr
> /share/php/symfony11/1.1/lib/plugins/sfPropelPlugin/lib/vendor/phing/
> system/io/UnixFileSystem.php on line 266
>
It's because in FileSystem.php , you have this:
152 function getBooleanAttributes($f) {
153 throw new Exception("SYSTEM ERROR method
getBooleanAttributes() not implemented by fs driver");
154 }
but in UnixFileSystem.php, you have this:
194 function getBooleanAttributes(&$f) {
195 //$rv = getBooleanAttributes0($f);
196 $name = $f->getName();
197 $hidden = (strlen($name) > 0) && ($name{0} == '.');
198 return ($hidden ? $this->BA_HIDDEN : 0);
199 }
Notice that the function params are different.
Please open a ticket - I don't use propel so I don't want to mess with
this code personally :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---