This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » legacy support » symfony 1.1 » [SOLVED] Phing::printVersion error
[SOLVED] Phing::printVersion error [message #55210] Mon, 30 June 2008 22:59 Go to next message
invertedonion  is currently offline invertedonion
Messages: 3
Registered: June 2008
Junior Member
Hi all,

I'm having a bit of trouble getting 1.1 going and wondered if you could help me..

I'm getting the following error when I try to build-all:
PHP Fatal error:  Cannot make static method Phing::printVersion() non static in class sfPhing in /usr/share/pear/symfony/plugins/sfPropelPlugin/lib/task/sfPhing.class.php on line 19


Any ideas? Thanks in advance

Dan

[Updated on: Tue, 01 July 2008 11:07]

Re: Phing::printVersion error [message #55211 is a reply to message #55210 ] Mon, 30 June 2008 23:30 Go to previous messageGo to next message
netrix  is currently offline netrix
Messages: 35
Registered: November 2007
Member
Adding public static as shown in this ticket below worked for me:

http://phing.info/trac/ticket/258

Good luck!
Re: Phing::printVersion error [message #55238 is a reply to message #55210 ] Tue, 01 July 2008 09:06 Go to previous messageGo to next message
sh1ny  is currently offline sh1ny
Messages: 16
Registered: June 2008
Junior Member
Just remove any pear installed version of phing that you have. Abit skiddish, but after that symfony works just fine.
Re: [SOLVED] Phing::printVersion error [message #55254 is a reply to message #55210 ] Tue, 01 July 2008 11:08 Go to previous message
invertedonion  is currently offline invertedonion
Messages: 3
Registered: June 2008
Junior Member
Thanks guys,

I went with sh1ny's suggestion and it worked great. Smile
Previous Topic:Validation Chapter in "The Book", where is Validation in 1.1?
Next Topic:symfony and XML for a Flex application
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software