1
|
Uncaught TYPO3 Exception
|
2
|
#1314354065: Could not find row with uid "5" in table sys_file_storage (More information)
|
3
|
|
4
|
RuntimeException thrown in file
|
5
|
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/AbstractRepository.php in line 194.
|
6
|
|
7
|
20 TYPO3\CMS\Core\Resource\AbstractRepository::findByUid("5")
|
8
|
|
9
|
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/ResourceFactory.php:
|
10
|
00140: $storageRepository = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\StorageRepository');
|
11
|
00141: /** @var $storage ResourceStorage */
|
12
|
00142: $storageObject = $storageRepository->findByUid($uid);
|
13
|
00143: }
|
14
|
00144: if (!$storageObject instanceof ResourceStorage) {
|
15
|
|
16
|
19 TYPO3\CMS\Core\Resource\ResourceFactory::getStorageObject("5")
|
17
|
|
18
|
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/ResourceFactory.php:
|
19
|
00428: $fileObject = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\File', $fileData);
|
20
|
00429: if (is_numeric($fileData['storage'])) {
|
21
|
00430: $storageObject = $this->getStorageObject($fileData['storage']);
|
22
|
00431: $fileObject->setStorage($storageObject);
|
23
|
00432: }
|
24
|
|
25
|
18 TYPO3\CMS\Core\Resource\ResourceFactory::createFileObject(array)
|
26
|
|
27
|
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/ResourceFactory.php:
|
28
|
00282: }
|
29
|
00283: }
|
30
|
00284: $this->fileInstances[$uid] = $this->createFileObject($fileData);
|
31
|
00285: }
|
32
|
00286: return $this->fileInstances[$uid];
|
33
|
|
34
|
17 TYPO3\CMS\Core\Resource\ResourceFactory::getFileObject("588", array)
|
35
|
|
36
|
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/FileRepository.php:
|
37
|
00078: */
|
38
|
00079: protected function createDomainObject(array $databaseRow) {
|
39
|
00080: return $this->factory->getFileObject($databaseRow['uid'], $databaseRow);
|
40
|
00081: }
|
41
|
00082:
|
42
|
|
43
|
16 TYPO3\CMS\Core\Resource\FileRepository::createDomainObject(array)
|
44
|
|
45
|
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/FileRepository.php:
|
46
|
00183: $objects = array();
|
47
|
00184: foreach ($resultRows as $row) {
|
48
|
00185: $objects[] = $this->createDomainObject($row);
|
49
|
00186: }
|
50
|
00187: return $objects;
|
51
|
|
52
|
15 TYPO3\CMS\Core\Resource\FileRepository::findBySha1Hash("c0fa749a1d87bfd5838bc46af27b7fc9fbd6f93d")
|
53
|
|
54
|
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/Service/IndexerService.php:
|
55
|
00103: // Check if a file has been moved outside of FAL -- we have some
|
56
|
00104: // orphaned index record in this case we could update
|
57
|
00105: $otherFiles = $this->getRepository()->findBySha1Hash($fileInfo['sha1']);
|
58
|
00106: $movedFile = FALSE;
|
59
|
00107: /** @var $otherFile \TYPO3\CMS\Core\Resource\File */
|
60
|
|
61
|
14 TYPO3\CMS\Core\Resource\Service\IndexerService::indexFile(TYPO3\CMS\Core\Resource\File, boolean)
|
62
|
|
63
|
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/FileRepository.php:
|
64
|
00090: */
|
65
|
00091: public function addToIndex(File $fileObject) {
|
66
|
00092: return $this->getIndexerService()->indexFile($fileObject, FALSE);
|
67
|
00093: }
|
68
|
00094:
|
69
|
|
70
|
13 TYPO3\CMS\Core\Resource\FileRepository::addToIndex(TYPO3\CMS\Core\Resource\File)
|
71
|
|
72
|
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/File.php:
|
73
|
00172: if ($indexRecord === FALSE && $indexIfNotIndexed) {
|
74
|
00173: $this->indexingInProgress = TRUE;
|
75
|
00174: $indexRecord = $repo->addToIndex($this);
|
76
|
00175: $this->mergeIndexRecord($indexRecord);
|
77
|
00176: $this->indexed = TRUE;
|
78
|
|
79
|
12 TYPO3\CMS\Core\Resource\File::loadIndexRecord()
|
80
|
|
81
|
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/File.php:
|
82
|
00102: public function getProperty($key) {
|
83
|
00103: if ($this->indexed === NULL) {
|
84
|
00104: $this->loadIndexRecord();
|
85
|
00105: }
|
86
|
00106: return parent::getProperty($key);
|
87
|
|
88
|
11 TYPO3\CMS\Core\Resource\File::getProperty("uid")
|
89
|
|
90
|
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/AbstractFile.php:
|
91
|
00199: */
|
92
|
00200: public function getUid() {
|
93
|
00201: return $this->getProperty('uid');
|
94
|
00202: }
|
95
|
00203:
|
96
|
|
97
|
10 TYPO3\CMS\Core\Resource\AbstractFile::getUid()
|
98
|
|
99
|
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/ProcessedFileRepository.php:
|
100
|
00153: '*',
|
101
|
00154: $this->table,
|
102
|
00155: 'original=' . intval($file->getUid()) .
|
103
|
00156: ' AND task_type=' . $this->databaseConnection->fullQuoteStr($taskType, $this->table) .
|
104
|
00157: ' AND configuration=' . $this->databaseConnection->fullQuoteStr(serialize($configuration), $this->table)
|
105
|
|
106
|
9 TYPO3\CMS\Core\Resource\ProcessedFileRepository::findOneByOriginalFileAndTaskTypeAndConfiguration(TYPO3\CMS\Core\Resource\File, "Image.Preview", array)
|
107
|
|
108
|
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/Service/FileProcessingService.php:
|
109
|
00091: $processedFileRepository = Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\ProcessedFileRepository');
|
110
|
00092:
|
111
|
00093: $processedFile = $processedFileRepository->findOneByOriginalFileAndTaskTypeAndConfiguration($fileObject, $taskType, $configuration);
|
112
|
00094:
|
113
|
00095: // set the storage of the processed file
|
114
|
|
115
|
8 TYPO3\CMS\Core\Resource\Service\FileProcessingService::processFile(TYPO3\CMS\Core\Resource\File, TYPO3\CMS\Core\Resource\ResourceStorage, "Image.Preview", array)
|
116
|
|
117
|
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/ResourceStorage.php:
|
118
|
01130: throw new \InvalidArgumentException('Cannot process files of foreign storage', 1353401835);
|
119
|
01131: }
|
120
|
01132: $processedFile = $this->getFileProcessingService()->processFile($fileObject, $this, $context, $configuration);
|
121
|
01133:
|
122
|
01134: return $processedFile;
|
123
|
|
124
|
7 TYPO3\CMS\Core\Resource\ResourceStorage::processFile(TYPO3\CMS\Core\Resource\File, "Image.Preview", array)
|
125
|
|
126
|
/foooo/typo3_src-6.1.4/typo3/sysext/core/Classes/Resource/File.php:
|
127
|
00291: */
|
128
|
00292: public function process($taskType, array $configuration) {
|
129
|
00293: return $this->getStorage()->processFile($this, $taskType, $configuration);
|
130
|
00294: }
|
131
|
00295:
|
132
|
|
133
|
6 TYPO3\CMS\Core\Resource\File::process("Image.Preview", array)
|
134
|
|
135
|
/foooo/typo3_src-6.1.4/typo3/sysext/filelist/Classes/FileList.php:
|
136
|
00620: // Thumbnails?
|
137
|
00621: if ($this->thumbs && $this->isImage($ext)) {
|
138
|
00622: $processedFile = $fileObject->process(\TYPO3\CMS\Core\Resource\ProcessedFile::CONTEXT_IMAGEPREVIEW, array());
|
139
|
00623: if ($processedFile) {
|
140
|
00624: $thumbUrl = $processedFile->getPublicUrl(TRUE);
|
141
|
|
142
|
5 TYPO3\CMS\Filelist\FileList::formatFileList(array, "file")
|
143
|
|
144
|
/foooo/typo3_src-6.1.4/typo3/sysext/filelist/Classes/FileList.php:
|
145
|
00351: }
|
146
|
00352: // Files are added
|
147
|
00353: $iOut .= $this->formatFileList($files, $titleCol);
|
148
|
00354: // Header line is drawn
|
149
|
00355: $theData = array();
|
150
|
|
151
|
4 TYPO3\CMS\Filelist\FileList::getTable("fileext,tstamp,size,rw,_REF_")
|
152
|
|
153
|
/foooo/typo3_src-6.1.4/typo3/sysext/filelist/Classes/FileList.php:
|
154
|
00197: */
|
155
|
00198: public function generateList() {
|
156
|
00199: $this->HTMLcode .= $this->getTable('fileext,tstamp,size,rw,_REF_');
|
157
|
00200: }
|
158
|
00201:
|
159
|
|
160
|
3 TYPO3\CMS\Filelist\FileList::generateList()
|
161
|
|
162
|
/foooo/typo3_src-6.1.4/typo3/sysext/filelist/Classes/Controller/FileListController.php:
|
163
|
00288: $this->filelist->start($this->folderObject, $this->pointer, $this->MOD_SETTINGS['sort'], $this->MOD_SETTINGS['reverse'], $this->MOD_SETTINGS['clipBoard'], $this->MOD_SETTINGS['bigControlPanel']);
|
164
|
00289: // Generate the list
|
165
|
00290: $this->filelist->generateList();
|
166
|
00291: // Write the footer
|
167
|
00292: $this->filelist->writeBottom();
|
168
|
|
169
|
2 TYPO3\CMS\Filelist\Controller\FileListController::main()
|
170
|
|
171
|
/foooo/typo3_src-6.1.4/typo3/sysext/filelist/mod1/index.php:
|
172
|
00044: $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Filelist\\Controller\\FileListController');
|
173
|
00045: $SOBE->init();
|
174
|
00046: $SOBE->main();
|
175
|
00047: $SOBE->printContent();
|
176
|
00048: ?>
|
177
|
|
178
|
1 require("/foooo/typo3_src-6.1.4/typo3/sysext/filelist/mod1/index.php")
|
179
|
|
180
|
/foooo/typo3_src-6.1.4/typo3/mod.php:
|
181
|
00039: require $temp_path . 'conf.php';
|
182
|
00040: $BACK_PATH = '';
|
183
|
00041: require $temp_path . 'index.php';
|
184
|
00042: $isDispatched = TRUE;
|
185
|
00043: } else {
|