1
|
#1375955684: You are not allowed to access the given folder?(More information)
|
2
|
|
3
|
TYPO3\CMS\Core\Resource\Exception\InsufficientFolderAccessPermissionsException?thrown in file
|
4
|
xyz/typo3/sysext/core/Classes/Resource/ResourceStorage.php?in line?730.
|
5
|
|
6
|
|
7
|
20 TYPO3\CMS\Core\Resource\ResourceStorage::assureFolderReadPermission()
|
8
|
|
9
|
xyz/typo3/sysext/core/Classes/Resource/ResourceStorage.php:
|
10
|
|
11
|
01257: */
|
12
|
01258: public function hasFile($identifier) {
|
13
|
01259: $this->assureFolderReadPermission();
|
14
|
01260: return $this->driver->fileExists($identifier);
|
15
|
01261: }
|
16
|
|
17
|
|
18
|
19 TYPO3\CMS\Core\Resource\ResourceStorage::hasFile("/typo3temp/_processed_/preview_soa-2013-2-titel_01_a368baa04a.jpg")
|
19
|
|
20
|
xyz/typo3/sysext/core/Classes/Resource/AbstractFile.php:
|
21
|
|
22
|
00382: return FALSE;
|
23
|
00383: }
|
24
|
00384: return $this->storage->hasFile($this->getIdentifier());
|
25
|
00385: }
|
26
|
00386:
|
27
|
|
28
|
|
29
|
18 TYPO3\CMS\Core\Resource\AbstractFile::exists()
|
30
|
|
31
|
xyz/typo3/sysext/core/Classes/Resource/ProcessedFile.php:
|
32
|
|
33
|
00448:
|
34
|
00449: // processedFile does not exist
|
35
|
00450: if (!$this->usesOriginalFile() && !$this->exists()) {
|
36
|
00451: $fileMustBeRecreated = TRUE;
|
37
|
00452: }
|
38
|
|
39
|
|
40
|
17 TYPO3\CMS\Core\Resource\ProcessedFile::needsReprocessing()
|
41
|
|
42
|
xyz/typo3/sysext/core/Classes/Resource/ProcessedFile.php:
|
43
|
|
44
|
00271: */
|
45
|
00272: public function isProcessed() {
|
46
|
00273: return ($this->isPersisted() && !$this->needsReprocessing()) || $this->updated;
|
47
|
00274: }
|
48
|
00275:
|
49
|
|
50
|
|
51
|
16 TYPO3\CMS\Core\Resource\ProcessedFile::isProcessed()
|
52
|
|
53
|
xyz/typo3/sysext/core/Classes/Resource/Service/FileProcessingService.php:
|
54
|
|
55
|
00100: // (maybe modified or already processed by a signal)
|
56
|
00101: // or (in case of preview images) already in the DB/in the processing folder
|
57
|
00102: if (!$processedFile->isProcessed()) {
|
58
|
00103: $this->process($processedFile, $targetStorage);
|
59
|
00104: }
|
60
|
|
61
|
|
62
|
15 TYPO3\CMS\Core\Resource\Service\FileProcessingService::processFile(TYPO3\CMS\Core\Resource\File, TYPO3\CMS\Core\Resource\ResourceStorage, "Image.Preview", array)
|
63
|
|
64
|
xyz/typo3/sysext/core/Classes/Resource/ResourceStorage.php:
|
65
|
|
66
|
01130: throw new \InvalidArgumentException('Cannot process files of foreign storage', 1353401835);
|
67
|
01131: }
|
68
|
01132: $processedFile = $this->getFileProcessingService()->processFile($fileObject, $this, $context, $configuration);
|
69
|
01133:
|
70
|
01134: return $processedFile;
|
71
|
|
72
|
|
73
|
14 TYPO3\CMS\Core\Resource\ResourceStorage::processFile(TYPO3\CMS\Core\Resource\File, "Image.Preview", array)
|
74
|
|
75
|
xyz/typo3/sysext/core/Classes/Resource/File.php:
|
76
|
|
77
|
00291: */
|
78
|
00292: public function process($taskType, array $configuration) {
|
79
|
00293: return $this->getStorage()->processFile($this, $taskType, $configuration);
|
80
|
00294: }
|
81
|
00295:
|
82
|
|
83
|
|
84
|
13 TYPO3\CMS\Core\Resource\File::process("Image.Preview", array)
|
85
|
|
86
|
xyz/typo3/sysext/backend/Classes/Utility/BackendUtility.php:
|
87
|
|
88
|
01547: 'width' => $sizeParts[0],
|
89
|
01548: 'height' => $sizeParts[1]
|
90
|
01549: ))->getPublicUrl(TRUE);
|
91
|
01550: if (!$fileObject->checkActionPermission('read')) {
|
92
|
01551: /** @var $flashMessage \TYPO3\CMS\Core\Messaging\FlashMessage */
|
93
|
|
94
|
|
95
|
12 TYPO3\CMS\Backend\Utility\BackendUtility::thumbCode(array, "tx_news_domain_model_media", "image", NULL, "", NULL, 0, "", "", boolean)
|
96
|
|
97
|
xyz/typo3conf/ext/news/Classes/Hooks/Labels.php:
|
98
|
|
99
|
00076: if (!empty($params['row']['image'])) {
|
100
|
00077: $params['row']['image'] = $this->splitFileName($params['row']['image']);
|
101
|
00078: $additionalHtmlContent = '
|
102
|
' . t3lib_BEfunc::thumbCode($params['row'], 'tx_news_domain_model_media', 'image', $GLOBALS['BACK_PATH'], '', NULL, 0, '', '', FALSE);
|
103
|
00079: }
|
104
|
00080: break;
|
105
|
|
106
|
|
107
|
11 Tx_News_Hooks_Labels::getUserLabelMedia(array, NULL)
|
108
|
10 call_user_func_array(array, array)
|
109
|
|
110
|
xyz/typo3/sysext/core/Classes/Utility/GeneralUtility.php:
|
111
|
|
112
|
03968: }
|
113
|
03969: // Call method:
|
114
|
03970: $content = call_user_func_array(array(&$classObj, $parts[1]), array(&$params, &$ref));
|
115
|
03971: } else {
|
116
|
03972: $errorMsg = 'No method name \'' . $parts[1] . '\' in class ' . $parts[0];
|
117
|
|
118
|
|
119
|
9 TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction("Tx_News_Hooks_Labels->getUserLabelMedia", array, NULL)
|
120
|
|
121
|
xyz/typo3/sysext/backend/Classes/Form/Element/InlineElement.php:
|
122
|
|
123
|
00522: // callUserFunction requires a third parameter, but we don't want to give $this as reference!
|
124
|
00523: $null = NULL;
|
125
|
00524: \TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction($GLOBALS['TCA'][$foreign_table]['ctrl']['label_userFunc'], $params, $null);
|
126
|
00525: $recTitle = $params['title'];
|
127
|
00526: } elseif ($hasForeignLabel || $hasSymmetricLabel) {
|
128
|
|
129
|
|
130
|
8 TYPO3\CMS\Backend\Form\Element\InlineElement::renderForeignRecordHeader("2152", "tx_news_domain_model_media", array, array, boolean)
|
131
|
|
132
|
xyz/typo3/sysext/backend/Classes/Form/Element/InlineElement.php:
|
133
|
|
134
|
00451: $out = '
|
135
|
' . $fields . $combination . '
|
136
|
';
|
137
|
00452: $header = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('apps-irre-' . ($class != '' ? 'collapsed' : 'expanded'));
|
138
|
00453: $header .= $this->renderForeignRecordHeader($parentUid, $foreign_table, $rec, $config, $isVirtualRecord);
|
139
|
00454: $out = '
|
140
|
' . $header . '
|
141
|
' . $out;
|
142
|
00455: // Wrap the header, fields and combination part of a child record with a div container
|
143
|
|
144
|
|
145
|
7 TYPO3\CMS\Backend\Form\Element\InlineElement::renderForeignRecord("2152", array, array)
|
146
|
|
147
|
xyz/typo3/sysext/backend/Classes/Form/Element/InlineElement.php:
|
148
|
|
149
|
00304: if (count($relatedRecords['records'])) {
|
150
|
00305: foreach ($relatedRecords['records'] as $rec) {
|
151
|
00306: $item .= $this->renderForeignRecord($row['uid'], $rec, $config);
|
152
|
00307: if (!isset($rec['__virtual']) || !$rec['__virtual']) {
|
153
|
00308: $relationList[] = $rec['uid'];
|
154
|
|
155
|
|
156
|
6 TYPO3\CMS\Backend\Form\Element\InlineElement::getSingleField_typeInline("tx_news_domain_model_news", "media", array, array)
|
157
|
|
158
|
xyz/typo3/sysext/backend/Classes/Form/FormEngine.php:
|
159
|
|
160
|
01206: break;
|
161
|
01207: case 'inline':
|
162
|
01208: $item = $this->inline->getSingleField_typeInline($table, $field, $row, $PA);
|
163
|
01209: break;
|
164
|
01210: case 'none':
|
165
|
|
166
|
|
167
|
5 TYPO3\CMS\Backend\Form\FormEngine::getSingleField_SW("tx_news_domain_model_news", "media", array, array)
|
168
|
|
169
|
xyz/typo3/sysext/backend/Classes/Form/FormEngine.php:
|
170
|
|
171
|
01100: }
|
172
|
01101: // Based on the type of the item, call a render function:
|
173
|
01102: $item = $this->getSingleField_SW($table, $field, $row, $PA);
|
174
|
01103: // Add language + diff
|
175
|
01104: if ($PA['fieldConf']['l10n_display'] && (\TYPO3\CMS\Core\Utility\GeneralUtility::inList($PA['fieldConf']['l10n_display'], 'hideDiff') || \TYPO3\CMS\Core\Utility\GeneralUtility::inList($PA['fieldConf']['l10n_display'], 'defaultAsReadonly'))) {
|
176
|
|
177
|
|
178
|
4 TYPO3\CMS\Backend\Form\FormEngine::getSingleField("tx_news_domain_model_news", "media", array, NULL, 0, NULL, NULL)
|
179
|
|
180
|
xyz/typo3/sysext/backend/Classes/Form/FormEngine.php:
|
181
|
|
182
|
00774: $this->palettesRendered[$this->renderDepth][$table][$parts[2]] = 1;
|
183
|
00775: }
|
184
|
00776: $sField = $this->getSingleField($table, $theField, $row, $parts[1], 0, $parts[3], $parts[2]);
|
185
|
00777: if ($sField) {
|
186
|
00778: $sField .= $sFieldPal;
|
187
|
|
188
|
|
189
|
3 TYPO3\CMS\Backend\Form\FormEngine::getMainFields("tx_news_domain_model_news", array)
|
190
|
|
191
|
xyz/typo3/sysext/backend/Classes/Controller/EditDocumentController.php:
|
192
|
|
193
|
00856: }
|
194
|
00857: } else {
|
195
|
00858: $panel .= $this->tceforms->getMainFields($table, $rec);
|
196
|
00859: }
|
197
|
00860: $panel = $this->tceforms->wrapTotal($panel, $rec, $table);
|
198
|
|
199
|
|
200
|
2 TYPO3\CMS\Backend\Controller\EditDocumentController::makeEditForm()
|
201
|
|
202
|
xyz/typo3/sysext/backend/Classes/Controller/EditDocumentController.php:
|
203
|
|
204
|
00651: }
|
205
|
00652: // Creating the editing form, wrap it with buttons, document selector etc.
|
206
|
00653: $editForm = $this->makeEditForm();
|
207
|
00654: if ($editForm) {
|
208
|
00655: $this->firstEl = reset($this->elementsData);
|
209
|
|
210
|
|
211
|
1 TYPO3\CMS\Backend\Controller\EditDocumentController::main()
|
212
|
|
213
|
xyz/typo3/alt_doc.php:
|
214
|
|
215
|
00057: // Main:
|
216
|
00058: $SOBE->init();
|
217
|
00059: $SOBE->main();
|
218
|
00060: $SOBE->printContent();
|
219
|
00061: ?>
|
220
|
|