Error when running 'propel:build-model'

Discussion specific to symfony 1.1.x stable

Moderator: hartym

Error when running 'propel:build-model'

Postby nicki78 » Wed Jul 16, 2008 10:10 pm

Hey together!

I have a little problem: When i run
Code: Select all
symfony propel:build-model


i receive the following error:
Code: Select all
Fatal error: Declaration of SequentialTask::addTask() must be compatible with that of TaskContainer::addTask() in /Applications/MAMP/bin/php5/lib/php/symfony/plugins/sfPropelPlugin/lib/vendor/phing/tasks/system/SequentialTask.php on line 35


A 'pear upgrade' returns that there is nothing to update.

Would be nice if anyone has an idea how to fix this!

Nicki
nicki78
Member
 
Posts: 62
Joined: Wed Jun 21, 2006 3:04 pm

Re: Error when running 'propel:build-model'

Postby vekili » Thu Jul 17, 2008 8:49 am

Have you tried this?

$ symfony project:upgrade
vekili
Junior Member
 
Posts: 2
Joined: Wed Jul 16, 2008 11:42 pm

Re: Error when running 'propel:build-model'

Postby nicki78 » Thu Jul 17, 2008 11:47 am

Yes, i tried, but i still get the same error.
nicki78
Member
 
Posts: 62
Joined: Wed Jun 21, 2006 3:04 pm

Re: Error when running 'propel:build-model'

Postby nicki78 » Thu Jul 17, 2008 12:28 pm

I fixed the problem:

Unless 'pear list' did not indicate it as installed, there was a phing.php and directory 'phing' in my PHP installation. After removing it, the phing software which is bundled with symfony is used and everything works fine again.
nicki78
Member
 
Posts: 62
Joined: Wed Jun 21, 2006 3:04 pm

Re: Error when running 'propel:build-model'

Postby phptub » Mon Aug 11, 2008 1:43 pm

Thanks so much for your post.. i also had the same issue and fixed immediately after looking at your post..


Thanks again
Asif Ali Muhammad
My Blog
My Company
My Website

_________________________
phptub
Member
 
Posts: 49
Joined: Tue Aug 29, 2006 10:07 am
Location: hyderabad


Return to symfony 1.1

Who is online

Users browsing this forum: No registered users and 0 guests