如何解决expressionengine:安装nsm htaccess生成器插件后php错误:“ .htaccess路径设置为字符串应该是一个数组”
| 是否有人使用ee 2.1.3并成功安装了“ nsm htaccess生成器”插件? 安装并启用它后,我面临以下问题:A PHP Error was encountered
Severity: Notice
Message: Undefined index: path
Filename: nsm_htaccess_generator/ext.nsm_htaccess_generator.php
Line Number: 568
The following errors were encountered
The .htaccess path setting is a string. It should be an array.
If the setting has been manually set in the config.php (or config_bootstrap.php) update the value.
→ More information about this issue. ( http://ee-garage.com/nsm-htaccess-generator/support )
我还没有手动设置htaccess路径。我没有在我的安装中找到config.php和config_bootstrap.php中没有设置它。
我非常感谢您的帮助!
解决方法
您必须在插件本身中设置htaccess路径-(在EE2中:Extensioins> NSM HT ACCESS GENERATOR>扩展设置。确保使用服务器路径,而不是Web(http://)路径。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。