Bug #50508 ยป 50508.html

Oliver Hader, 2013-07-29 09:03

 
1
<?xml version="1.0" encoding="utf-8"?>
2
<!DOCTYPE html
3
     PUBLIC "-//W3C//DTD XHTML 1.1//EN"
4
     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
5
			<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
6
				<head>
7
					<title>TYPO3 Exception</title>
8
					<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9
					<style type="text/css">
10
						.ExceptionProperty {
11
							color: #101010;
12
						}
13
						pre {
14
							margin: 0;
15
							font-size: 11px;
16
							color: #515151;
17
							background-color: #D0D0D0;
18
							padding-left: 30px;
19
						}
20
					</style>
21
				</head>
22
				<body>
23
					<div style="
24
							position: absolute;
25
							left: 10px;
26
							background-color: #B9B9B9;
27
							outline: 1px solid #515151;
28
							color: #515151;
29
							font-family: Arial, Helvetica, sans-serif;
30
							font-size: 12px;
31
							margin: 10px;
32
							padding: 0;
33
						">
34
						<div style="width: 100%; background-color: #515151; color: white; padding: 2px; margin: 0 0 6px 0;">Uncaught TYPO3 Exception</div>
35
						<div style="width: 100%; padding: 2px; margin: 0 0 6px 0;">
36
							<strong style="color: #BE0027;">#1317178604: No file found for given UID.</strong> (<a href="http://typo3.org/go/exception/CMS/debug/1317178604" target="_blank">More information</a>)<br />
37
							<br />
38
							<span class="ExceptionProperty">TYPO3\CMS\Core\Resource\Exception\FileDoesNotExistException</span> thrown in file<br />
39
							<span class="ExceptionProperty">/Volumes/Data/Users/olly/Development/typo3/master/typo3/sysext/core/Classes/Resource/ResourceFactory.php</span> in line
40
							<span class="ExceptionProperty">267</span>.<br />
41
							<br />
42
							<pre style="color:#69A550; background-color: #414141; padding: 4px 2px 4px 2px;"><span style="color:white;">11</span> TYPO3\CMS\Core\Resource\ResourceFactory<span style="color:white;">::</span>getFileObject<span style="color:white;">(<span style="color:#FF8700;">178</span>)</span></pre><br /><span style="font-size:10px;">/Volumes/Data/Users/olly/Development/typo3/master/typo3/sysext/core/Classes/Resource/ProcessedFileRepository.php:</span><br /><pre>00094:   */
43
00095:  protected function createDomainObject(array $databaseRow) {
44
</pre><pre style="background-color: #F1F1F1; color: black;">00096:   $originalFile = $this->resourceFactory->getFileObject(intval($databaseRow['original']));
45
</pre><pre>00097:   $originalFile->setStorage($this->resourceFactory->getStorageObject($originalFile->getProperty('storage')));
46
00098:   $taskType = $databaseRow['task_type'];
47
</pre><br /><pre style="color:#69A550; background-color: #414141; padding: 4px 2px 4px 2px;"><span style="color:white;">10</span> TYPO3\CMS\Core\Resource\ProcessedFileRepository<span style="color:white;">::</span>createDomainObject<span style="color:white;">(<span style="color:#FF8700;"><em>array</em></span>)</span></pre><br /><span style="font-size:10px;">/Volumes/Data/Users/olly/Development/typo3/master/typo3/sysext/core/Classes/Resource/ProcessedFileRepository.php:</span><br /><pre>00159: 
48
00160:   if (is_array($databaseRow)) {
49
</pre><pre style="background-color: #F1F1F1; color: black;">00161:    $processedFile = $this->createDomainObject($databaseRow);
50
</pre><pre>00162:   } else {
51
00163:    $processedFile = $this->createNewProcessedFileObject($file, $taskType, $configuration);
52
</pre><br /><pre style="color:#69A550; background-color: #414141; padding: 4px 2px 4px 2px;"><span style="color:white;">9</span> TYPO3\CMS\Core\Resource\ProcessedFileRepository<span style="color:white;">::</span>findOneByOriginalFileAndTaskTypeAndConfiguration<span style="color:white;">(<span style="color:#FF8700;"><em>TYPO3\CMS\Core\Resource\File</em></span><span style="color:white;">,</span> "<span style="color:#FF8700;" title="Image.Preview">Image.Preview</span>"<span style="color:white;">,</span> <span style="color:#FF8700;"><em>array</em></span>)</span></pre><br /><span style="font-size:10px;">/Volumes/Data/Users/olly/Development/typo3/master/typo3/sysext/core/Classes/Resource/Service/FileProcessingService.php:</span><br /><pre>00091:   $processedFileRepository = Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\ProcessedFileRepository');
53
00092: 
54
</pre><pre style="background-color: #F1F1F1; color: black;">00093:   $processedFile = $processedFileRepository->findOneByOriginalFileAndTaskTypeAndConfiguration($fileObject, $taskType, $configuration);
55
</pre><pre>00094: 
56
00095:   // set the storage of the processed file
57
</pre><br /><pre style="color:#69A550; background-color: #414141; padding: 4px 2px 4px 2px;"><span style="color:white;">8</span> TYPO3\CMS\Core\Resource\Service\FileProcessingService<span style="color:white;">::</span>processFile<span style="color:white;">(<span style="color:#FF8700;"><em>TYPO3\CMS\Core\Resource\File</em></span><span style="color:white;">,</span> <span style="color:#FF8700;"><em>TYPO3\CMS\Core\Resource\ResourceStorage</em></span><span style="color:white;">,</span> "<span style="color:#FF8700;" title="Image.Preview">Image.Preview</span>"<span style="color:white;">,</span> <span style="color:#FF8700;"><em>array</em></span>)</span></pre><br /><span style="font-size:10px;">/Volumes/Data/Users/olly/Development/typo3/master/typo3/sysext/core/Classes/Resource/ResourceStorage.php:</span><br /><pre>00772:    throw new \InvalidArgumentException('Cannot process files of foreign storage', 1353401835);
58
00773:   }
59
</pre><pre style="background-color: #F1F1F1; color: black;">00774:   $processedFile = $this->getFileProcessingService()->processFile($fileObject, $this, $context, $configuration);
60
</pre><pre>00775: 
61
00776:   return $processedFile;
62
</pre><br /><pre style="color:#69A550; background-color: #414141; padding: 4px 2px 4px 2px;"><span style="color:white;">7</span> TYPO3\CMS\Core\Resource\ResourceStorage<span style="color:white;">::</span>processFile<span style="color:white;">(<span style="color:#FF8700;"><em>TYPO3\CMS\Core\Resource\File</em></span><span style="color:white;">,</span> "<span style="color:#FF8700;" title="Image.Preview">Image.Preview</span>"<span style="color:white;">,</span> <span style="color:#FF8700;"><em>array</em></span>)</span></pre><br /><span style="font-size:10px;">/Volumes/Data/Users/olly/Development/typo3/master/typo3/sysext/core/Classes/Resource/File.php:</span><br /><pre>00291:   */
63
00292:  public function process($taskType, array $configuration) {
64
</pre><pre style="background-color: #F1F1F1; color: black;">00293:   return $this->getStorage()->processFile($this, $taskType, $configuration);
65
</pre><pre>00294:  }
66
00295: 
67
</pre><br /><pre style="color:#69A550; background-color: #414141; padding: 4px 2px 4px 2px;"><span style="color:white;">6</span> TYPO3\CMS\Core\Resource\File<span style="color:white;">::</span>process<span style="color:white;">("<span style="color:#FF8700;" title="Image.Preview">Image.Preview</span>"<span style="color:white;">,</span> <span style="color:#FF8700;"><em>array</em></span>)</span></pre><br /><span style="font-size:10px;">/Volumes/Data/Users/olly/Development/typo3/master/typo3/sysext/filelist/Classes/FileList.php:</span><br /><pre>00621:        // Thumbnails?
68
00622:        if ($this->thumbs && $this->isImage($ext)) {
69
</pre><pre style="background-color: #F1F1F1; color: black;">00623:         $processedFile = $fileObject->process(\TYPO3\CMS\Core\Resource\ProcessedFile::CONTEXT_IMAGEPREVIEW, array());
70
</pre><pre>00624:         if ($processedFile) {
71
00625:          $thumbUrl = $processedFile->getPublicUrl(TRUE);
72
</pre><br /><pre style="color:#69A550; background-color: #414141; padding: 4px 2px 4px 2px;"><span style="color:white;">5</span> TYPO3\CMS\Filelist\FileList<span style="color:white;">::</span>formatFileList<span style="color:white;">(<span style="color:#FF8700;"><em>array</em></span><span style="color:white;">,</span> "<span style="color:#FF8700;" title="file">file</span>")</span></pre><br /><span style="font-size:10px;">/Volumes/Data/Users/olly/Development/typo3/master/typo3/sysext/filelist/Classes/FileList.php:</span><br /><pre>00353:    }
73
00354:    // Files are added
74
</pre><pre style="background-color: #F1F1F1; color: black;">00355:    $iOut .= $this->formatFileList($files, $titleCol);
75
</pre><pre>00356:    // Header line is drawn
76
00357:    $theData = array();
77
</pre><br /><pre style="color:#69A550; background-color: #414141; padding: 4px 2px 4px 2px;"><span style="color:white;">4</span> TYPO3\CMS\Filelist\FileList<span style="color:white;">::</span>getTable<span style="color:white;">("<span style="color:#FF8700;" title="fileext,tstamp,size,rw,_REF_">fileext,tstamp,size,rw,_REF_</span>")</span></pre><br /><span style="font-size:10px;">/Volumes/Data/Users/olly/Development/typo3/master/typo3/sysext/filelist/Classes/FileList.php:</span><br /><pre>00199:   */
78
00200:  public function generateList() {
79
</pre><pre style="background-color: #F1F1F1; color: black;">00201:   $this->HTMLcode .= $this->getTable('fileext,tstamp,size,rw,_REF_');
80
</pre><pre>00202:  }
81
00203: 
82
</pre><br /><pre style="color:#69A550; background-color: #414141; padding: 4px 2px 4px 2px;"><span style="color:white;">3</span> TYPO3\CMS\Filelist\FileList<span style="color:white;">::</span>generateList<span style="color:white;">()</span></pre><br /><span style="font-size:10px;">/Volumes/Data/Users/olly/Development/typo3/master/typo3/sysext/filelist/Classes/Controller/FileListController.php:</span><br /><pre>00296:    $this->filelist->start($this->folderObject, $this->pointer, $this->MOD_SETTINGS['sort'], $this->MOD_SETTINGS['reverse'], $this->MOD_SETTINGS['clipBoard'], $this->MOD_SETTINGS['bigControlPanel']);
83
00297:    // Generate the list
84
</pre><pre style="background-color: #F1F1F1; color: black;">00298:    $this->filelist->generateList();
85
</pre><pre>00299:    // Set top JavaScript:
86
00300:    $this->doc->JScode = $this->doc->wrapScriptTags('
87
</pre><br /><pre style="color:#69A550; background-color: #414141; padding: 4px 2px 4px 2px;"><span style="color:white;">2</span> TYPO3\CMS\Filelist\Controller\FileListController<span style="color:white;">::</span>main<span style="color:white;">()</span></pre><br /><span style="font-size:10px;">/Volumes/Data/Users/olly/Development/typo3/master/typo3/sysext/filelist/mod1/index.php:</span><br /><pre>00042: $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Filelist\\Controller\\FileListController');
88
00043: $SOBE->init();
89
</pre><pre style="background-color: #F1F1F1; color: black;">00044: $SOBE->main();
90
</pre><pre>00045: $SOBE->printContent();
91
00046: ?></pre><br /><pre style="color:#69A550; background-color: #414141; padding: 4px 2px 4px 2px;"><span style="color:white;">1</span> require<span style="color:white;">("<span style="color:#FF8700;" title="/Volumes/Data/Users/olly/Development/typo3/master/typo3/sysext/filelist/mod1/index.php">/Volumes/Data/Users/olly/Development/typo3/master/typo3/sysext/filelist/mod1/index.php</span>")</span></pre><br /><span style="font-size:10px;">/Volumes/Data/Users/olly/Development/typo3/master/typo3/mod.php:</span><br /><pre>00039:  require $temp_path . 'conf.php';
92
00040:  $BACK_PATH = '';
93
</pre><pre style="background-color: #F1F1F1; color: black;">00041:  require $temp_path . 'index.php';
94
</pre><pre>00042:  $isDispatched = TRUE;
95
00043: } else {
96
</pre><br />
97
						</div>
98
					</div>
99
				</body>
100
			</html>
101
		
    (1-1/1)