Question

I have installed sfPhpExcelPlugin successfully and now I am trying to run an example as per the direction of symfony plugin's website.

I am getting this error, do you guys know how to solve it?

C:\wamp\www\orangehrm-3.01\symfony>php symfony plugins/sfPhpExcelPlugin/examples_1_2/01simple.php

Task "plugins/sfPhpExcelPlugin/examples_1_2/01simple.php" is not defined.

enter image description here

Was it helpful?

Solution

By using php symfony command you are trying to run Symfony task. Your example of sfPhpExcelPlugin is not a Symfony task. Try:

php plugins/sfPhpExcelPlugin/examples_1_2/01simple.php

And to see list of all available Symfony task type:

php symfony
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top