1
|
Uncaught TYPO3 Exception
|
2
|
#1375955684: You are not allowed to access the given folder (More information)
|
3
|
|
4
|
TYPO3\CMS\Core\Resource\Exception\InsufficientFolderAccessPermissionsException thrown in file
|
5
|
/websites/XYZ/typo3_src-6.0.9/typo3/sysext/core/Classes/Resource/ResourceStorage.php in line 730.
|
6
|
|
7
|
17 TYPO3\CMS\Core\Resource\ResourceStorage::assureFolderReadPermission()
|
8
|
|
9
|
/websites/XYZ/typo3_src-6.0.9/typo3/sysext/core/Classes/Resource/ResourceStorage.php:
|
10
|
01257: */
|
11
|
01258: public function hasFile($identifier) {
|
12
|
01259: $this->assureFolderReadPermission();
|
13
|
01260: return $this->driver->fileExists($identifier);
|
14
|
01261: }
|
15
|
|
16
|
16 TYPO3\CMS\Core\Resource\ResourceStorage::hasFile("/typo3temp/_processed_/preview_is_kopfbild_dom_innen_3b9bb94c8b.jpg")
|
17
|
|
18
|
/websites/XYZ/typo3_src-6.0.9/typo3/sysext/core/Classes/Resource/AbstractFile.php:
|
19
|
00365: return FALSE;
|
20
|
00366: }
|
21
|
00367: return $this->storage->hasFile($this->getIdentifier());
|
22
|
00368: }
|
23
|
00369:
|
24
|
|
25
|
15 TYPO3\CMS\Core\Resource\AbstractFile::exists()
|
26
|
|
27
|
/websites/XYZ/typo3_src-6.0.9/typo3/sysext/core/Classes/Resource/ProcessedFile.php:
|
28
|
00448:
|
29
|
00449: // processedFile does not exist
|
30
|
00450: if (!$this->usesOriginalFile() && !$this->exists()) {
|
31
|
00451: $fileMustBeRecreated = TRUE;
|
32
|
00452: }
|
33
|
|
34
|
14 TYPO3\CMS\Core\Resource\ProcessedFile::needsReprocessing()
|
35
|
|
36
|
/websites/XYZ/typo3_src-6.0.9/typo3/sysext/core/Classes/Resource/ProcessedFile.php:
|
37
|
00271: */
|
38
|
00272: public function isProcessed() {
|
39
|
00273: return ($this->isPersisted() && !$this->needsReprocessing()) || $this->updated;
|
40
|
00274: }
|
41
|
00275:
|
42
|
|
43
|
13 TYPO3\CMS\Core\Resource\ProcessedFile::isProcessed()
|
44
|
|
45
|
/websites/XYZ/typo3_src-6.0.9/typo3/sysext/core/Classes/Resource/Service/FileProcessingService.php:
|
46
|
00100: // (maybe modified or already processed by a signal)
|
47
|
00101: // or (in case of preview images) already in the DB/in the processing folder
|
48
|
00102: if (!$processedFile->isProcessed()) {
|
49
|
00103: $this->process($processedFile, $targetStorage);
|
50
|
00104: }
|
51
|
|
52
|
12 TYPO3\CMS\Core\Resource\Service\FileProcessingService::processFile(TYPO3\CMS\Core\Resource\File, TYPO3\CMS\Core\Resource\ResourceStorage, "Image.Preview", array)
|
53
|
|
54
|
/websites/XYZ/typo3_src-6.0.9/typo3/sysext/core/Classes/Resource/ResourceStorage.php:
|
55
|
01130: throw new \InvalidArgumentException('Cannot process files of foreign storage', 1353401835);
|
56
|
01131: }
|
57
|
01132: $processedFile = $this->getFileProcessingService()->processFile($fileObject, $this, $context, $configuration);
|
58
|
01133:
|
59
|
01134: return $processedFile;
|
60
|
|
61
|
11 TYPO3\CMS\Core\Resource\ResourceStorage::processFile(TYPO3\CMS\Core\Resource\File, "Image.Preview", array)
|
62
|
|
63
|
/websites/XYZ/typo3_src-6.0.9/typo3/sysext/core/Classes/Resource/File.php:
|
64
|
00291: */
|
65
|
00292: public function process($taskType, array $configuration) {
|
66
|
00293: return $this->getStorage()->processFile($this, $taskType, $configuration);
|
67
|
00294: }
|
68
|
00295:
|
69
|
|
70
|
10 TYPO3\CMS\Core\Resource\File::process("Image.Preview", array)
|
71
|
|
72
|
/websites/XYZ/typo3_src-6.0.9/typo3/sysext/backend/Classes/Utility/BackendUtility.php:
|
73
|
01555: 'width' => $sizeParts[0],
|
74
|
01556: 'height' => $sizeParts[1]
|
75
|
01557: ))->getPublicUrl(TRUE);
|
76
|
01558: if (!$fileObject->checkActionPermission('read')) {
|
77
|
01559: /** @var $flashMessage \TYPO3\CMS\Core\Messaging\FlashMessage */
|
78
|
|
79
|
9 TYPO3\CMS\Backend\Utility\BackendUtility::thumbCode(array, "", "dummyFieldName", "../../../../typo3/", "", "uploads/tx_templavoila")
|
80
|
|
81
|
/websites/XYZ/typo3conf/ext/templavoila/mod1/index.php:
|
82
|
01471: if ($TCEformsConfiguration['internal_type'] == 'file') {
|
83
|
01472: // Render preview for images:
|
84
|
01473: $thumbnail = t3lib_BEfunc::thumbCode (array('dummyFieldName'=> $fieldValue), '', 'dummyFieldName', $this->doc->backPath, '', $TCEformsConfiguration['uploadfolder']);
|
85
|
01474: $previewContent .= ''.$TCEformsLabel.' '.$thumbnail.'
|
86
|
';
|
87
|
01475: } elseif ($TCEformsConfiguration['internal_type'] === 'db') {
|
88
|
|
89
|
8 tx_templavoila_module1::render_previewData(array, array, array, "DEF", "sDEF")
|
90
|
|
91
|
/websites/XYZ/typo3conf/ext/templavoila/mod1/index.php:
|
92
|
01060:
|
93
|
01061: // Preview made:
|
94
|
01062: $previewContent = $contentTreeArr['ds_meta']['disableDataPreview'] ? ' ' : $this->render_previewData($contentTreeArr['previewData'], $contentTreeArr['el'], $contentTreeArr['ds_meta'], $languageKey, $sheet);
|
95
|
01063:
|
96
|
01064: // Wrap workspace notification colors:
|
97
|
|
98
|
7 tx_templavoila_module1::render_framework_singleSheet(array, "DEF", "sDEF", array, array)
|
99
|
|
100
|
/websites/XYZ/typo3conf/ext/templavoila/mod1/index.php:
|
101
|
00886: return $this->doc->getDynTabMenu($parts,'TEMPLAVOILA:pagemodule:'.$this->apiObj->flexform_getStringFromPointer($parentPointer));
|
102
|
00887: } else {
|
103
|
00888: return $this->render_framework_singleSheet($contentTreeArr, $languageKey, 'sDEF', $parentPointer, $parentDsMeta);
|
104
|
00889: }
|
105
|
00890: }
|
106
|
|
107
|
6 tx_templavoila_module1::render_framework_allSheets(array, "DEF", array, array)
|
108
|
|
109
|
/websites/XYZ/typo3conf/ext/templavoila/mod1/index.php:
|
110
|
01258: }
|
111
|
01259:
|
112
|
01260: $cellContent .= $this->render_framework_allSheets($subElementArr, $languageKey, $subElementPointer, $elementContentTreeArr['ds_meta']);
|
113
|
01261:
|
114
|
01262: if (!$this->translatorMode && $canCreateNew) {
|
115
|
|
116
|
5 tx_templavoila_module1::render_framework_subElements(array, "DEF", "sDEF", 31)
|
117
|
|
118
|
/websites/XYZ/typo3conf/ext/templavoila/mod1/index.php:
|
119
|
01090:
|
120
|
' .
|
121
|
01091: ($warnings ? '
|
122
|
' . $warnings . '
|
123
|
' : '' ) .
|
124
|
01092: $this->render_framework_subElements($contentTreeArr, $languageKey, $sheet, $calcPerms) .
|
125
|
01093: '
|
126
|
' . $previewContent . '
|
127
|
' .
|
128
|
01094: $this->render_localizationInfoTable($contentTreeArr, $parentPointer, $parentDsMeta) .
|
129
|
|
130
|
4 tx_templavoila_module1::render_framework_singleSheet(array, "DEF", "sDEF", array, array)
|
131
|
|
132
|
/websites/XYZ/typo3conf/ext/templavoila/mod1/index.php:
|
133
|
00886: return $this->doc->getDynTabMenu($parts,'TEMPLAVOILA:pagemodule:'.$this->apiObj->flexform_getStringFromPointer($parentPointer));
|
134
|
00887: } else {
|
135
|
00888: return $this->render_framework_singleSheet($contentTreeArr, $languageKey, 'sDEF', $parentPointer, $parentDsMeta);
|
136
|
00889: }
|
137
|
00890: }
|
138
|
|
139
|
3 tx_templavoila_module1::render_framework_allSheets(array, "DEF")
|
140
|
|
141
|
/websites/XYZ/typo3conf/ext/templavoila/mod1/index.php:
|
142
|
00823: $output.= $this->render_outline($contentTreeData['tree']);
|
143
|
00824: } else {
|
144
|
00825: $output.= $this->render_framework_allSheets($contentTreeData['tree'], $this->currentLanguageKey);
|
145
|
00826: }
|
146
|
00827:
|
147
|
|
148
|
2 tx_templavoila_module1::render_editPageScreen()
|
149
|
|
150
|
/websites/XYZ/typo3conf/ext/templavoila/mod1/index.php:
|
151
|
00516: }
|
152
|
00517: // Render "edit current page" (important to do before calling ->sideBarObj->render() - otherwise the translation tab is not rendered!
|
153
|
00518: $editCurrentPageHTML .= $this->render_editPageScreen();
|
154
|
00519:
|
155
|
00520: if (t3lib_div::_GP('ajaxUnlinkRecord')) {
|
156
|
|
157
|
1 tx_templavoila_module1::main()
|
158
|
|
159
|
/websites/XYZ/typo3conf/ext/templavoila/mod1/index.php:
|
160
|
02902: $SOBE = t3lib_div::makeInstance('tx_templavoila_module1');
|
161
|
02903: $SOBE->init();
|
162
|
02904: $SOBE->main();
|
163
|
02905: $SOBE->printContent();
|
164
|
02906: ?>
|