我将 Jumi 扩展安装到 Joomla。
我上传了需要添加到网站的 php 文件和一个 css 文件。
例如,我给它们添加了路径名:
components/com_jumi/order_confirm.php
components/com_jumi/review.php
components/com_jumi/includes/formValidations.php
components/com_jumi/includes/config.php
现在文件 order_confirm.php 有代码需要 formValidation.php 文件:
require_once ("includes/formValidations.php");
但是当我创建一个指向 php 文件 review.php 的新菜单项时,它会输出以下警告和错误:
Warning: require_once(includes/formValidations.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/37/9463737/html/components/com_jumi/views/application/view.html.php(40) : eval()'d code on line 3
Fatal error: require_once() [function.require]: Failed opening required 'includes/formValidations.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/37/9463737/html/components/com_jumi/views/application/view.html.php(40) : eval()'d code on line 3
这是否意味着我在 Jumi 中为每个文件编写的路径不是这些文件的实际路径?
任何帮助深表感谢!
谢谢你,阿尔