[TYPO3-english] T3V6, bug with Images in BE and FE (FAL ?)
Christian Tauscher
christian.tauscher at media-distillery.de
Thu Dec 20 18:17:38 CET 2012
Iam struggling with cetrin pictures.
All jpegs, and all of them work on the same machine with TYPO3 4.7
With V6.0.0 strange things happen:
IN BE I create a CE Text/Image and set the picture in he new FAL. A
Preview is shown.
But the FE fils with this lots of Messages.
What does tis tell me?
Since V4.6 has no problem and it's the same Machine, I don't expect the
pictures are broken.
Thanks for your Help,
Christian.
Uncaught TYPO3 Exception
#1314354065: Could not find row with uid "1" in table $this->table.
(More information)
RuntimeException thrown in file
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/core/Classes/Resource/AbstractRepository.php
in line 191.
21 TYPO3\CMS\Core\Resource\AbstractRepository::findByUid("1")
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/core/Classes/Resource/ResourceFactory.php:
00121: $storageRepository =
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\StorageRepository');
00122: /** @var $storage \TYPO3\CMS\Core\Resource\ResourceStorage */
00123: $storageObject = $storageRepository->findByUid($uid);
00124: }
00125: if (!$storageObject instanceof
\TYPO3\CMS\Core\Resource\ResourceStorage) {
20 TYPO3\CMS\Core\Resource\ResourceFactory::getStorageObject("1")
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/core/Classes/Resource/ResourceFactory.php:
00391: $fileObject =
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\File',
$fileData);
00392: if (is_numeric($fileData['storage'])) {
00393: $storageObject = $this->getStorageObject($fileData['storage']);
00394: $fileObject->setStorage($storageObject);
00395: }
19 TYPO3\CMS\Core\Resource\ResourceFactory::createFileObject(array)
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/core/Classes/Resource/ResourceFactory.php:
00257: }
00258: }
00259: $this->fileInstances[$uid] = $this->createFileObject($fileData);
00260: }
00261: return $this->fileInstances[$uid];
18 TYPO3\CMS\Core\Resource\ResourceFactory::getFileObject("29")
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/core/Classes/Resource/FileReference.php:
00111: $factory =
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\ResourceFactory');
00112: }
00113: $this->originalFile =
$factory->getFileObject($fileReferenceData['uid_local']);
00114: $this->fileRepository =
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\FileRepository');
00115: if (!is_object($this->originalFile)) {
17 TYPO3\CMS\Core\Resource\FileReference::__construct(array)
16 ReflectionClass::newInstanceArgs(array)
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/core/Classes/Utility/GeneralUtility.php:
04150: array_shift($constructorArguments);
04151: $reflectedClass = new \ReflectionClass($finalClassName);
04152: $instance =
$reflectedClass->newInstanceArgs($constructorArguments);
04153: } else {
04154: $fullyQualifiedClassName = '\\' . $finalClassName;
15
TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance("TYPO3\CMS\Core\Resource\FileReference",
array)
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/core/Classes/Resource/ResourceFactory.php:
00440: public function createFileReferenceObject(array
$fileReferenceData) {
00441: /** @var \TYPO3\CMS\Core\Resource\FileReference
$fileReferenceObject */
00442: $fileReferenceObject =
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Resource\\FileReference',
$fileReferenceData);
00443: return $fileReferenceObject;
00444: }
14 TYPO3\CMS\Core\Resource\ResourceFactory::createFileReferenceObject(array)
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/core/Classes/Resource/ResourceFactory.php:
00425: }
00426: }
00427: $this->fileReferenceInstances[$uid] =
$this->createFileReferenceObject($fileReferenceData);
00428: }
00429: return $this->fileReferenceInstances[$uid];
13 TYPO3\CMS\Core\Resource\ResourceFactory::getFileReferenceObject("29",
array)
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/core/Classes/Resource/FileRepository.php:
00271: */
00272: protected function createFileReferenceObject(array $databaseRow) {
00273: return
$this->factory->getFileReferenceObject($databaseRow['uid'], $databaseRow);
00274: }
00275:
12 TYPO3\CMS\Core\Resource\FileRepository::createFileReferenceObject(array)
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/core/Classes/Resource/FileRepository.php:
00215: );
00216: foreach ($references as $referenceRecord) {
00217: $itemList[] = $this->createFileReferenceObject($referenceRecord);
00218: }
00219: return $itemList;
11 TYPO3\CMS\Core\Resource\FileRepository::findByRelation("tt_content",
"image", 83)
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/core/Classes/Resource/Service/FrontendContentAdapterService.php:
00082: $table = 'pages_language_overlay';
00083: }
00084: $files = $fileRepository->findByRelation($table,
$migrateFieldName, isset($row['_LOCALIZED_UID']) ?
intval($row['_LOCALIZED_UID']) : intval($row['uid']));
00085: $fileFieldContents = array(
00086: 'paths' => array(),
10
TYPO3\CMS\Core\Resource\Service\FrontendContentAdapterService::modifyDBRow(array,
"tt_content")
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/frontend/Classes/ContentObject/ContentContentObject.php:
00108: }
00109: }
00110:
\TYPO3\CMS\Core\Resource\Service\FrontendContentAdapterService::modifyDBRow($row,
$conf['table']);
00111: if (!$GLOBALS['TSFE']->recordRegister[($conf['table'] .
':' . $row['uid'])]) {
00112: $this->cObj->currentRecordNumber++;
9 TYPO3\CMS\Frontend\ContentObject\ContentContentObject::render(array)
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
00734: $contentObject = $this->getContentObject($name);
00735: if ($contentObject) {
00736: $content .= $contentObject->render($conf);
00737: } else {
00738: // Call hook functions for extra processing
8
TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("CONTENT",
array)
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php:
00193: $this->view->assign(
00194: $variableName,
00195: $this->cObj->cObjGetSingle($cObjType,
$variables[$variableName . '.'])
00196: );
00197: } else {
7
TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject::assignContentObjectVariables(array)
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php:
00085: $this->setFormat($conf);
00086: $this->setExtbaseVariables($conf);
00087: $this->assignContentObjectVariables($conf);
00088: $this->assignContentObjectDataAndCurrent($conf);
00089:
6 TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject::render(array)
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
00734: $contentObject = $this->getContentObject($name);
00735: if ($contentObject) {
00736: $content .= $contentObject->render($conf);
00737: } else {
00738: // Call hook functions for extra processing
5
TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("FLUIDTEMPLATE",
array, "10")
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
00682: if (intval($theKey) && !strstr($theKey, '.')) {
00683: $conf = $setup[$theKey . '.'];
00684: $content .= $this->cObjGetSingle($theValue, $conf, $addKey .
$theKey);
00685: }
00686: }
4 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGet(array)
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/frontend/Classes/Page/PageGenerator.php:
00229: $GLOBALS['TT']->incStackPointer();
00230: $GLOBALS['TT']->push($GLOBALS['TSFE']->sPre, 'PAGE');
00231: $pageContent =
$GLOBALS['TSFE']->cObj->cObjGet($GLOBALS['TSFE']->pSetup);
00232: if ($GLOBALS['TSFE']->pSetup['wrap']) {
00233: $pageContent = $GLOBALS['TSFE']->cObj->wrap($pageContent,
$GLOBALS['TSFE']->pSetup['wrap']);
3 TYPO3\CMS\Frontend\Page\PageGenerator::renderContent()
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/cms/tslib/pagegen.php:
00050: if (!$GLOBALS['TSFE']->isINTincScript()) {
00051: $TT->push('pagegen.php, render');
00052: \TYPO3\CMS\Frontend\Page\PageGenerator::renderContent();
00053: $GLOBALS['TSFE']->setAbsRefPrefix();
00054: $TT->pull();
2
include("/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/cms/tslib/pagegen.php")
/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/cms/tslib/index_ts.php:
00183: include $temp_theScript;
00184: } else {
00185: include PATH_tslib . 'pagegen.php';
00186: }
00187: $TSFE->generatePage_postProcessing();
1
require("/var/www/htdocs/typo3_src-6.0.0/typo3/sysext/cms/tslib/index_ts.php")
/var/www/htdocs/typo3_src-6.0.0/index.php:
00037: \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->baseSetup('');
00038:
00039: require(PATH_tslib . 'index_ts.php');
00040: ?>
More information about the TYPO3-english
mailing list