Cita:
Iniciado por masterpuppet El problema es que no esta en el path lo que declaraste en el application.ini, podes postear el application.ini y el environment que tenes seteado ?
por supuesto.
application.ini
Cita: [production]
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 1
phpSettings.date.timezone = "Europe/Madrid"
includePaths.library = APPLICATION_PATH "/../library"
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.params.displayExceptions = 0
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"
autoloaderNamespaces[] = "ZendX"
resources.modules[] = ""
buscador.resources.frontController.defaultControll erName = "buscador"
resources.db.adapter = PDO_MYSQL
resources.db.charset = utf8
resources.db.params.host = xxx
resources.db.params.username = xxx
resources.db.params.password = xxx
resources.db.params.dbname = xxx
resources.db.isDefaultTableAdapter= true
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
resources.view.helperPath.Application_View_Helper = APPLICATION_PATH "/views/helpers"
[staging : production]
[testing : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1
enviroment:(dentro del fichero index.php)
Código PHP:
Ver original// Define application environment
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ?
getenv('APPLICATION_ENV') : 'production'));
El environment es el definido por defecto al crear el proyecto, no lo he modificado.