Uncaught_1376992145.txt

Uncaught TYPO3 Exception #1376992145 - Andrea Böhm, 2013-09-06 16:08

Download (4.5 kB)

 
1
Uncaught TYPO3 Exception
2
#1376992145: You are not allowed to add files to this storage "0" (More information)
3

    
4
TYPO3\CMS\Core\Resource\Exception\InsufficientUserPermissionsException thrown in file
5
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/ResourceStorage.php in line 840.
6

    
7
8 TYPO3\CMS\Core\Resource\ResourceStorage::assureFileAddPermissions("/foooo/typo3temp/pics/29336c3711.jpg", TYPO3\CMS\Core\Resource\Folder, "RTEmagicC_01_Logopaedie_KWA_Klinik_Stift_Rottal.jpg")
8

    
9
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/ResourceStorage.php:
10
01051:    throw new \InvalidArgumentException('File "' . $localFilePath . '" does not exist.', 1319552745);
11
01052:   }
12
01053:   $this->assureFileAddPermissions($localFilePath, $targetFolder, $targetFileName);
13
01054:   $targetFolder = $targetFolder ? $targetFolder : $this->getDefaultFolder();
14
01055:   $targetFileName = $targetFileName ? $targetFileName : PathUtility::basename($localFilePath);
15

    
16
7 TYPO3\CMS\Core\Resource\ResourceStorage::addFile("/foooo/typo3temp/pics/29336c3711.jpg", TYPO3\CMS\Core\Resource\Folder, "RTEmagicC_01_Logopaedie_KWA_Klinik_Stift_Rottal.jpg", "changeName")
17

    
18
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/Folder.php:
19
00283:  public function addFile($localFilePath, $fileName = NULL, $conflictMode = 'cancel') {
20
00284:   $fileName = $fileName ? $fileName : PathUtility::basename($localFilePath);
21
00285:   return $this->storage->addFile($localFilePath, $this, $fileName, $conflictMode);
22
00286:  }
23
00287: 
24

    
25
6 TYPO3\CMS\Core\Resource\Folder::addFile("/foooo/typo3temp/pics/29336c3711.jpg", "RTEmagicC_01_Logopaedie_KWA_Klinik_Stift_Rottal.jpg", "changeName")
26

    
27
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/Service/MagicImageService.php:
28
00110:    $magicFolder = $this->getMagicFolder($targetFolderCombinedIdentifier);
29
00111:    if ($magicFolder instanceof \TYPO3\CMS\Core\Resource\Folder) {
30
00112:     $magicImage = $magicFolder->addFile($magicImageInfo[3], $targetFileName, 'changeName');
31
00113:    }
32
00114:   }
33

    
34
5 TYPO3\CMS\Core\Resource\Service\MagicImageService::createMagicImage(TYPO3\CMS\Core\Resource\File, array, "fileadmin/_processed_")
35

    
36
/foooo/typo3_src-6.1.4/typo3/sysext/rtehtmlarea/Classes/SelectImage.php:
37
00239:     'maxH' => $this->magicMaxHeight
38
00240:    );
39
00241:    $magicImage = $magicImageService->createMagicImage($fileObject, $imageConfiguration, $this->getRTEImageStorageDir());
40
00242:    if ($magicImage instanceof \TYPO3\CMS\Core\Resource\FileInterface) {
41
00243:     $filePath = $magicImage->getForLocalProcessing(FALSE);
42

    
43
4 TYPO3\CMS\Rtehtmlarea\SelectImage::insertMagicImage(TYPO3\CMS\Core\Resource\File, NULL, "01_Logopaedie_KWA_Klinik_Stift_Rottal.jpg", "data-htmlarea-file-uid="357" data-htmlarea-file-table="sys_file"")
44

    
45
/foooo/typo3_src-6.1.4/typo3/sysext/rtehtmlarea/Classes/SelectImage.php:
46
00200:    switch ($this->act) {
47
00201:    case 'magic':
48
00202:     $this->insertMagicImage($fileObject, $altText, $titleText, 'data-htmlarea-file-uid="' . $uid . '" data-htmlarea-file-table="' . $table . '"');
49
00203:     die;
50
00204:     break;
51

    
52
3 TYPO3\CMS\Rtehtmlarea\SelectImage::insertImage()
53

    
54
/foooo/typo3_src-6.1.4/typo3/sysext/rtehtmlarea/Classes/SelectImage.php:
55
00087:   $this->fileProcessor->init($GLOBALS['FILEMOUNTS'], $GLOBALS['TYPO3_CONF_VARS']['BE']['fileExtensions']);
56
00088:   $this->allowedItems = $this->getAllowedItems('magic,plain,image');
57
00089:   $this->insertImage();
58
00090:   // Creating backend template object:
59
00091:   $this->doc = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Template\\DocumentTemplate');
60

    
61
2 TYPO3\CMS\Rtehtmlarea\SelectImage::init()
62

    
63
/foooo/typo3_src-6.1.4/typo3/sysext/rtehtmlarea/Classes/Controller/SelectImageController.php:
64
00076:   if (!$browserRendered) {
65
00077:    $GLOBALS['SOBE']->browser = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Rtehtmlarea\\SelectImage');
66
00078:    $GLOBALS['SOBE']->browser->init();
67
00079:    $modData = $GLOBALS['BE_USER']->getModuleData('select_image.php', 'ses');
68
00080:    list($modData, $store) = $GLOBALS['SOBE']->browser->processSessionData($modData);
69

    
70
1 TYPO3\CMS\Rtehtmlarea\Controller\SelectImageController::main()
71

    
72
/foooo/typo3_src-6.1.4/typo3/sysext/rtehtmlarea/mod4/select_image.php:
73
00047: // Make instance:
74
00048: $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Rtehtmlarea\\Controller\\SelectImageController');
75
00049: $SOBE->main();
76
00050: $SOBE->printContent();
77
00051: ?>