Advertisement
Guest User

Untitled

a guest
Nov 1st, 2013
415
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.43 KB | None | 0 0
  1. Uncaught TYPO3 Exception
  2. #1300086584: uid of fileusage (sys_file_reference) has to be numeric. (More information)
  3.  
  4. InvalidArgumentException thrown in file
  5. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/Resource/ResourceFactory.php in line 548.
  6.  
  7. 15 TYPO3\CMS\Core\Resource\ResourceFactory::getFileReferenceObject("cSQMFr")
  8.  
  9.  
  10. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/Resource/Filter/FileExtensionFilter.php:
  11.  
  12. 00071: $parts = \TYPO3\CMS\Core\Utility\GeneralUtility::revExplode('_', $value, 2);
  13. 00072: $fileReferenceUid = $parts[count($parts) - 1];
  14.  
  15. 00073: $fileReference = \TYPO3\CMS\Core\Resource\ResourceFactory::getInstance()->getFileReferenceObject($fileReferenceUid);
  16.  
  17. 00074: $file = $fileReference->getOriginalFile();
  18. 00075: if ($this->isAllowed($file)) {
  19.  
  20.  
  21. 14 TYPO3\CMS\Core\Resource\Filter\FileExtensionFilter::filterInlineChildren(array, TYPO3\CMS\Core\DataHandling\DataHandler)
  22.  
  23. 13 call_user_func_array(array, array)
  24.  
  25.  
  26. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/Utility/GeneralUtility.php:
  27.  
  28. 04006: }
  29. 04007: // Call method:
  30.  
  31. 04008: $content = call_user_func_array(array(&$classObj, $parts[1]), array(&$params, &$ref));
  32.  
  33. 04009: } else {
  34. 04010: $errorMsg = 'No method name \'' . $parts[1] . '\' in class ' . $parts[0];
  35.  
  36.  
  37. 12 TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction("TYPO3\CMS\Core\Resource\Filter\FileExtensionFilter->filterInlineChildren", array, TYPO3\CMS\Core\DataHandling\DataHandler)
  38.  
  39.  
  40. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/DataHandling/DataHandler.php:
  41.  
  42. 01840: $parameters['values'] = $values;
  43. 01841: $parameters['tcaFieldConfig'] = $tcaFieldConfiguration;
  44.  
  45. 01842: $values = GeneralUtility::callUserFunction($filter['userFunc'], $parameters, $this);
  46.  
  47. 01843: if (!is_array($values)) {
  48. 01844: throw new \RuntimeException('Failed calling filter userFunc.', 1336051942);
  49.  
  50.  
  51. 11 TYPO3\CMS\Core\DataHandling\DataHandler::applyFiltersToValues(array, array)
  52.  
  53.  
  54. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/DataHandling/DataHandler.php:
  55.  
  56. 02757: $newValue = '';
  57. 02758: $foreignTable = $tcaFieldConf['foreign_table'];
  58.  
  59. 02759: $valueArray = $this->applyFiltersToValues($tcaFieldConf, $valueArray);
  60.  
  61. 02760: // Fetch the related child records using \TYPO3\CMS\Core\Database\RelationHandler
  62. 02761: /** @var $dbAnalysis \TYPO3\CMS\Core\Database\RelationHandler */
  63.  
  64.  
  65. 10 TYPO3\CMS\Core\DataHandling\DataHandler::checkValue_inline_processDBdata(array, array, 29, "update", "tt_content", "image", NULL)
  66.  
  67.  
  68. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/DataHandling/DataHandler.php:
  69.  
  70. 02290: unset($res['value']);
  71. 02291: } elseif ($value || \TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($id)) {
  72.  
  73. 02292: $res['value'] = $this->checkValue_inline_processDBdata($valueArray, $tcaFieldConf, $id, $status, $table, $field, $additionalData);
  74.  
  75. 02293: }
  76. 02294: return $res;
  77.  
  78.  
  79. 9 TYPO3\CMS\Core\DataHandling\DataHandler::checkValue_inline(array, "/home/sten/genoveva2_server/typo3temp/import_temp_cSQMFr", array, array, "image", NULL)
  80.  
  81.  
  82. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/DataHandling/DataHandler.php:
  83.  
  84. 01590: break;
  85. 01591: case 'inline':
  86.  
  87. 01592: $res = $this->checkValue_inline($res, $value, $tcaFieldConf, $PP, $field, $additionalData);
  88.  
  89. 01593: break;
  90. 01594: case 'flex':
  91.  
  92.  
  93. 8 TYPO3\CMS\Core\DataHandling\DataHandler::checkValue_SW(array, "/home/sten/genoveva2_server/typo3temp/import_temp_cSQMFr", array, "tt_content", 29, "0", "update", "18", "tt_content:29:image", "image", NULL, "18")
  94.  
  95.  
  96. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/DataHandling/DataHandler.php:
  97.  
  98. 01534: $tcaFieldConf = $GLOBALS['TCA'][$table]['columns'][$field]['config'];
  99. 01535: // Preform processing:
  100.  
  101. 01536: $res = $this->checkValue_SW($res, $value, $tcaFieldConf, $table, $id, $curValue, $status, $realPid, $recFID, $field, $this->uploadedFileArray[$table][$id][$field], $tscPID);
  102.  
  103. 01537: return $res;
  104. 01538: }
  105.  
  106.  
  107. 7 TYPO3\CMS\Core\DataHandling\DataHandler::checkValue("tt_content", "image", "/home/sten/genoveva2_server/typo3temp/import_temp_cSQMFr", 29, "update", "18", "18")
  108.  
  109.  
  110. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/DataHandling/DataHandler.php:
  111.  
  112. 01393: if (isset($GLOBALS['TCA'][$table]['columns'][$field])) {
  113. 01394: // Evaluating the value
  114.  
  115. 01395: $res = $this->checkValue($table, $field, $fieldValue, $id, $status, $realPid, $tscPID);
  116.  
  117. 01396: if (array_key_exists('value', $res)) {
  118. 01397: $fieldArray[$field] = $res['value'];
  119.  
  120.  
  121. 6 TYPO3\CMS\Core\DataHandling\DataHandler::fillInFieldArray("tt_content", 29, array, array, "18", "update", "18")
  122.  
  123.  
  124. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/core/Classes/DataHandling/DataHandler.php:
  125.  
  126. 01140: }
  127. 01141: // Processing of all fields in incomingFieldArray and setting them in $fieldArray
  128.  
  129. 01142: $fieldArray = $this->fillInFieldArray($table, $id, $fieldArray, $incomingFieldArray, $theRealPid, $status, $tscPID);
  130.  
  131. 01143: if ($createNewVersion) {
  132. 01144: // create a placeholder array with already processed field content
  133.  
  134.  
  135. 5 TYPO3\CMS\Core\DataHandling\DataHandler::process_datamap()
  136.  
  137.  
  138. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/impexp/Classes/ImportExport.php:
  139.  
  140. 01541: ));
  141. 01542: $tce->start($updateData, array());
  142.  
  143. 01543: $tce->process_datamap();
  144.  
  145. 01544: $this->callHook('after_setRelations', array(
  146. 01545: 'tce' => &$tce
  147.  
  148.  
  149. 4 TYPO3\CMS\Impexp\ImportExport::setRelations()
  150.  
  151.  
  152. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/impexp/Classes/ImportExport.php:
  153.  
  154. 01143: // Finally all the file and DB record references must be fixed. This is done after all records have supposedly been written to database:
  155. 01144: // $this->import_mapId will indicate two things: 1) that a record WAS written to db and 2) that it has got a new id-number.
  156.  
  157. 01145: $this->setRelations();
  158.  
  159. 01146: // And when all DB relations are in place, we can fix file and DB relations in flexform fields (since data structures often depends on relations to a DS record):
  160. 01147: $this->setFlexFormRelations();
  161.  
  162.  
  163. 3 TYPO3\CMS\Impexp\ImportExport::importData(5)
  164.  
  165.  
  166. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/impexp/Classes/Controller/ImportExportController.php:
  167.  
  168. 00894: if ($inData['import_file']) {
  169. 00895: if (!count($extKeysToInstall)) {
  170.  
  171. 00896: $import->importData($this->id);
  172.  
  173. 00897: BackendUtility::setUpdateSignal('updatePageTree');
  174. 00898: } else {
  175.  
  176.  
  177. 2 TYPO3\CMS\Impexp\Controller\ImportExportController::importData(array)
  178.  
  179.  
  180. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/impexp/Classes/Controller/ImportExportController.php:
  181.  
  182. 00096: }
  183. 00097: // Call import interface:
  184.  
  185. 00098: $this->importData($inData);
  186.  
  187. 00099: break;
  188. 00100: }
  189.  
  190.  
  191. 1 TYPO3\CMS\Impexp\Controller\ImportExportController::main()
  192.  
  193.  
  194. /home/sten/genoveva2_server/typo3_src-6.2.0beta1/typo3/sysext/impexp/app/index.php:
  195.  
  196. 00075: $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Impexp\\Controller\\ImportExportController');
  197. 00076: $SOBE->init();
  198.  
  199. 00077: $SOBE->main();
  200.  
  201. 00078: $SOBE->printContent();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement