1
I'm收到此错误:相对路径3
Fatal error: require(): Failed opening required
'JPATH_ROOT/plugins/system/bfstop/Sdkphp/vendor/autoload.php'
(include_path='.:/usr/share/php:/usr/share/pear') in
/var/www/public/plugins/system/bfstop/helpers/dynamodb.php on line 16
我正尝试建立一个相对路径,但我不知道怎么的Joomla的作品。
真正的相对路径是这样的:
require '../Sdkphp/vendor/autoload.php';
我在的Joomla 3搜索有关路径,我发现这一点:
https://docs.joomla.org/Constants
但doesn't工作。我不明白这一点,因为我制作了很多网站和很多使用路径的程序,为什么它不起作用?
我的文件夹结构:
- 的Joomla
- 插件
- 系统
- 为myplugin
- 助理
- dynamodb.php
- Sdkphp
- 卖方
- autoload.php
- 卖方
- 助理
- 为myplugin
- 系统
- 插件
和路径是从dynamodb.php到autoload.php,照我说:
“../Sdkphp/Vendor/autoload.php”
可有人帮我?