سؤال

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

هل كانت مفيدة؟

المحلول

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
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top