Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/backbone.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何让userHomePath和groupHomePath在TYPO3 CMS 6.2.6中工作_Typo3_Typo3 6.2.x - Fatal编程技术网

如何让userHomePath和groupHomePath在TYPO3 CMS 6.2.6中工作

如何让userHomePath和groupHomePath在TYPO3 CMS 6.2.6中工作,typo3,typo3-6.2.x,Typo3,Typo3 6.2.x,我试图让userHomePath和groupHomePath在TYPO3 CMS 6.2.6中工作,但没有任何外观 我已在安装工具中配置了以下内容: [BE][lockRootPath] = /var/www/SiteName/ [BE][userHomePath] = 1:users/ [BE][groupHomePath] = 1:groups/ [BE][userUploadDir] = /uploads 前缀1:是自动创建的默认文件存储fileadmin的uid。在fileadmin目

我试图让userHomePath和groupHomePath在TYPO3 CMS 6.2.6中工作,但没有任何外观

我已在安装工具中配置了以下内容:

[BE][lockRootPath] = /var/www/SiteName/
[BE][userHomePath] = 1:users/
[BE][groupHomePath] = 1:groups/
[BE][userUploadDir] = /uploads
前缀
1:
是自动创建的默认文件存储
fileadmin
的uid。在
fileadmin
目录中,我创建了以下filestructor

fileadmin
    users
        1_admin
        2
    groups
        1
在我看来,我做的每件事都是对的,但还是不行

与安装工具所说的内容相比:


有人能告诉我我做错了什么吗?

解决方案很简单,我在:
EXT:core/Classes/Authentication/BackendUserAuthentication.php
第1588行中找到了它

$path = $userHomeFilter . $this->user['uid'] . '_' . $this->user['username'] . $GLOBALS['TYPO3_CONF_VARS']['BE']['userUploadDir'];
我在这里学到的是,我的目录结构和配置不匹配
userUploadDir
并不像我想的那样是一个上传目录,而只是它本身的主目录的前缀

通过设置:

[BE][userUploadDir] = 
。。。一切顺利

我当然也可以在每个主目录中创建
uploads
文件夹,但我看不出有什么原因