2012-07-04 42 views
1

您好,我试图将我的zend应用程序转换为使用Wurfl插件导致错误的移动版本。 出现的错误是:Zend Framework移动版

致命错误:未收集异常'Zend_Application_Bootstrap_Exception'带消息'Unable to resolve plugin'useragent“; (在/opt/zend/library/Zend/Application/Bootstrap/BootstrapAbstract.php:330堆栈跟踪:#0 /opt/zend/library/Zend/Application/Bootstrap/BootstrapAbstract.php(380) :Zend_Application_Bootstrap_BootstrapAbstract-> getPluginResource('useragent')#1 /opt/zend/library/Zend/Application/Bootstrap/BootstrapAbstract.php(392):Zend_Application_Bootstrap_BootstrapAbstract-> getPluginResources()#2/opt/zend/library/Zend/Application /Bootstrap/BootstrapAbstract.php(622):Zend_Application_Bootstrap_BootstrapAbstract-> getPluginResourceNames()#3 /opt/zend/library/Zend/Application/Bootstrap/BootstrapAbstract.php(583):Zend_Application_Bootstrap_BootstrapAbstract - > _ bootstrap(NULL)#4/opt/zend/library/Zend/Application.php(355):Zend_Application_Bootstrap_BootstrapAbstract-> bootstrap(NULL)#5 /var/www/myapp/public/index.php(25):Zend_Application-> bootstrap()#6 {main}抛出在/opt/zend/library/Zend/Application/Bootstrap/BootstrapAbstract.php上线330

我的WURFL的application.ini配置为:

resources.useragent.wurflapi.wurfl_api_version = “1.1” resources.useragent.wurflapi.wurfl_lib_dir = APPLICATION_PATH“/../library/wurfl-php-1.1/WURFL /” resources.useragent.wurflapi.wurfl_config_file = APPLICATION_PATH “/configs/wurfl-config.php”

如此混淆需要帮助!

回答

0

我已经给实现本link

使用Zend移动布局的步骤请检查

+0

嗨解决方案也不工作,我目前的Zend框架版本是1.11,但仍然无法正常工作 – d3bug3r