Estoy probando a ejecutar el script de instalación de RBAC.
1. Ya escribi y salve RbacCommand.php en la ubicación:
C:\Program Files\Zend\Apache2\htdocs\myproject\protected\commands\shell
2. Mi Yii framework en la ubicación:
C:\Program Files\Zend\Apache2\htdocs\yii-1.1.6.r2877\framework
3. Ejecutando el comando en cmd:
C:\Program Files\Zend\Apache2\htdocs\myproject\protected\yiic shell
El Sistema muestra el mensaje:
Error: index.php does not exist or is not an entry script file.
Probe a solucionar el problema con: yiic shell ../index.php
luego, volvi a ejecutar: yiic shell y me devuelve el mismo mensaje.
Error: index.php does not exist or is not an entry script file.
Alguna idea de como solucionarlo?.. thanks, best regards.
PD:
My yiic.bat script contained a config:
@echo off
rem -------------------------------------------------------------
rem Yii command line script for Windows.
rem This is the bootstrap script for running yiic on Windows.
rem -------------------------------------------------------------
@setlocal
set BIN_PATH=%~dp0
if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe
"%PHP_COMMAND%" "%BIN_PATH%yiic.php" %*
@endlocal
My yiic.php script config:
<?php
// change the following paths if necessary
$yiic=dirname(__FILE__).'/../../yii-1.1.6.r2877/framework/yiic.php';
$config=dirname(__FILE__).'/config/console.php';
require_once($yiic);
?>