Hello,
I have an ubuntu 13.10 machine with Phalcon 1.25 installed The web application using Phalcon runs fine. For some bulk operations I have develop some cli scripts. This cli scripts are working on my local Imac with also Phalcon 1.25 installed. running these scripts on my Ubuntu 13.10 machine give stye following error:
PHP Fatal error: Class 'Phalcon\DI\FactoryDefault\CLI' not found
my code starts with:
use Phalcon\DI\FactoryDefault\CLI as CliDI,
Phalcon\CLI\Console as ConsoleApp,
Phalcon\Db\Adapter\Pdo\Mysql as DbAdapter,
Phalcon\Mvc\Model\Manager;
define('VERSION', '1.0.0');
$di=new CliDI();
The error refers to line 8, where this line is:
$di= new CliDI():
My question is: Is there a workaround to solve this