TYPO3 中的 wurfl2 集成
每次我尝试在 TYPO3 中安装 wurfl2 扩展时,我都会收到以下错误消息:
Fatal error: require_once() [function.require]: Failed opening required '' (include_path='.:/usr/local/php/lib/php:/usr/local/php/lib/php/PEAR') in /html/typo3conf/temp_CACHED_ps9b8e_ext_localconf.php on line 501
有人熟悉此错误并知道如何修复它吗?
everytime i try to install the wurfl2 extension in TYPO3 i get the following error message:
Fatal error: require_once() [function.require]: Failed opening required '' (include_path='.:/usr/local/php/lib/php:/usr/local/php/lib/php/PEAR') in /html/typo3conf/temp_CACHED_ps9b8e_ext_localconf.php on line 501
is anyone familiar with this error and knows how to fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我在 TYPO3 4.4.4 中收到相同的错误消息。我必须删除扩展文件夹并删除所有 ./typo3conf/temp* 文件才能让 Typo3 之后再次运行。
(如果您的 localconf.php 中没有类似 $TYPO3_CONF_VARS['SYS']['displayErrors'] = '1' 的内容,您可能看不到错误消息。您可以使用安装工具进行设置。
I get the same error message with TYPO3 4.4.4. I had to remove the extension folder and to delete all ./typo3conf/temp* files to get Typo3 running again afterwards.
(You might not see the error message if you don't have something like $TYPO3_CONF_VARS['SYS']['displayErrors'] = '1' in your localconf.php. You can set this with the installtool.
正如另一个答案已经提到的,首先您必须让系统再次运行:在 localconf.php 中设置 $TYPO3_CONF_VARS['SYS']['displayErrors'] = '1' 才能查看所有错误消息。然后删除扩展文件夹。
我认为该错误是由于缺少配置文件引起的。扩展常量 wurflConfig 必须使用文件 /YOUR/PATH/TO/WEB_DIR/typo3conf/ext/wurfl2/res1/li/wurfl_config.php 的绝对路径进行设置,并且可能需要调整那里的设置。
As already mentioned by the other answer first you have to get your system running again: set $TYPO3_CONF_VARS['SYS']['displayErrors'] = '1' in your localconf.php in order to see all error messages. Afterwards remove the extension folder.
I think the error is caused by a missing config file. The extension constant wurflConfig has to be set with the absolute path to the file /YOUR/PATH/TO/WEB_DIR/typo3conf/ext/wurfl2/res1/li/wurfl_config.php and might have to adjust the settings there.