Nimatullah Razmjo
Nimatullah Razmjo

Reputation: 1961

Cannot run the test example of sfPhpExcel

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

Upvotes: 0

Views: 160

Answers (1)

Tomasz Madeyski
Tomasz Madeyski

Reputation: 10890

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

Upvotes: 2

Related Questions