Guest User

Dmitry

a guest
May 26th, 2010
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.97 KB | None | 0 0
  1. Uncaught TYPO3 Exception
  2. #1247602160: Table 't3trunk.tx_extbase_persistence_objectstorage' doesn't exist
  3.  
  4. Tx_Extbase_Persistence_Storage_Exception_SqlError thrown in file
  5. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Storage/Typo3DbBackend.php in line 958.
  6.  
  7. 15 Tx_Extbase_Persistence_Storage_Typo3DbBackend::checkSqlErrors()
  8.  
  9.  
  10. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Storage/Typo3DbBackend.php:
  11.  
  12. 00249: // debug($sql,-2);
  13. 00250: $result = $this->databaseHandle->sql_query($statement);
  14.  
  15. 00251: $this->checkSqlErrors();
  16.  
  17. 00252: $rows = $this->getRowsFromResult($query->getSource(), $result);
  18. 00253: return current(current($rows));
  19.  
  20.  
  21. 14 Tx_Extbase_Persistence_Storage_Typo3DbBackend::getObjectCountByQuery(Tx_Extbase_Persistence_Query)
  22.  
  23.  
  24. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Backend.php:
  25.  
  26. 00216: */
  27. 00217: public function getObjectCountByQuery(Tx_Extbase_Persistence_QueryInterface $query) {
  28.  
  29. 00218: return $this->storageBackend->getObjectCountByQuery($query);
  30.  
  31. 00219: }
  32. 00220:
  33.  
  34.  
  35. 13 Tx_Extbase_Persistence_Backend::getObjectCountByQuery(Tx_Extbase_Persistence_Query)
  36.  
  37.  
  38. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Manager.php:
  39.  
  40. 00134: */
  41. 00135: public function getObjectCountByQuery(Tx_Extbase_Persistence_QueryInterface $query) {
  42.  
  43. 00136: return $this->backend->getObjectCountByQuery($query);
  44.  
  45. 00137: }
  46. 00138:
  47.  
  48.  
  49. 12 Tx_Extbase_Persistence_Manager::getObjectCountByQuery(Tx_Extbase_Persistence_Query)
  50.  
  51.  
  52. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Query.php:
  53.  
  54. 00213: */
  55. 00214: public function count() {
  56.  
  57. 00215: return $this->persistenceManager->getObjectCountByQuery($this);
  58.  
  59. 00216: }
  60. 00217:
  61.  
  62.  
  63. 11 Tx_Extbase_Persistence_Query::count()
  64.  
  65.  
  66. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Mapper/DataMapper.php:
  67.  
  68. 00466: public function countRelated(Tx_Extbase_DomainObject_DomainObjectInterface $parentObject, $propertyName, $fieldValue = '') {
  69. 00467: $query = $this->getPreparedQuery($parentObject, $propertyName, $fieldValue);
  70.  
  71. 00468: return $query->count();
  72.  
  73. 00469: }
  74. 00470:
  75.  
  76.  
  77. 10 Tx_Extbase_Persistence_Mapper_DataMapper::countRelated(Tx_BlogExample_Domain_Model_Post, "comments")
  78.  
  79.  
  80. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Backend.php:
  81.  
  82. 00549: $row[$columnMap->getColumnName()] = implode(',', $newUids);
  83. 00550: } else {
  84.  
  85. 00551: $row[$columnMap->getColumnName()] = $this->dataMapper->countRelated($parentObject, $propertyName);
  86.  
  87. 00552: }
  88. 00553: }
  89.  
  90.  
  91. 9 Tx_Extbase_Persistence_Backend::persistObjectStorage(Tx_Extbase_Persistence_ObjectStorage, Tx_BlogExample_Domain_Model_Post, "comments", array, array)
  92.  
  93.  
  94. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Backend.php:
  95.  
  96. 00372: if (($propertyValue !== NULL) && ($propertyType === 'SplObjectStorage' || $propertyType === 'Tx_Extbase_Persistence_ObjectStorage')) {
  97. 00373: if ($object->_isNew() || $object->_isDirty($propertyName)) {
  98.  
  99. 00374: $this->persistObjectStorage($propertyValue, $object, $propertyName, $queue, $row);
  100.  
  101. 00375: foreach ($propertyValue as $containedObject) {
  102. 00376: if ($containedObject instanceof Tx_Extbase_DomainObject_AbstractDomainObject) {
  103.  
  104.  
  105. 8 Tx_Extbase_Persistence_Backend::persistObject(Tx_BlogExample_Domain_Model_Post)
  106.  
  107.  
  108. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Backend.php:
  109.  
  110. 00405:
  111. 00406: foreach ($queue as $queuedObject) {
  112.  
  113. 00407: $this->persistObject($queuedObject);
  114.  
  115. 00408: }
  116. 00409:
  117.  
  118.  
  119. 7 Tx_Extbase_Persistence_Backend::persistObject(Tx_BlogExample_Domain_Model_Blog)
  120.  
  121.  
  122. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Backend.php:
  123.  
  124. 00342: }
  125. 00343: foreach ($this->aggregateRootObjects as $object) {
  126.  
  127. 00344: $this->persistObject($object);
  128.  
  129. 00345: }
  130. 00346: }
  131.  
  132.  
  133. 6 Tx_Extbase_Persistence_Backend::persistObjects()
  134.  
  135.  
  136. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Backend.php:
  137.  
  138. 00326: */
  139. 00327: public function commit() {
  140.  
  141. 00328: $this->persistObjects();
  142.  
  143. 00329: $this->processDeletedObjects();
  144. 00330: }
  145.  
  146.  
  147. 5 Tx_Extbase_Persistence_Backend::commit()
  148.  
  149.  
  150. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Manager.php:
  151.  
  152. 00177: $this->backend->setAggregateRootObjects($aggregateRootObjects);
  153. 00178: $this->backend->setDeletedObjects($removedObjects);
  154.  
  155. 00179: $this->backend->commit();
  156.  
  157. 00180:
  158. 00181: // this needs to unregister more than just those, as at least some of
  159.  
  160.  
  161. 4 Tx_Extbase_Persistence_Manager::persistAll()
  162.  
  163.  
  164. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Dispatcher.php:
  165.  
  166. 00139: $flashMessages = t3lib_div::makeInstance('Tx_Extbase_MVC_Controller_FlashMessages'); // singleton
  167. 00140: $flashMessages->persist();
  168.  
  169. 00141: $persistenceManager->persistAll();
  170.  
  171. 00142: $this->timeTrackPull();
  172. 00143:
  173.  
  174.  
  175. 3 Tx_Extbase_Dispatcher::dispatch("", array)
  176.  
  177.  
  178. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Dispatcher.php:
  179.  
  180. 00518: // and thus we are already within typo3/ because we call typo3/mod.php
  181. 00519: $GLOBALS['BACK_PATH'] = '';
  182.  
  183. 00520: return $this->dispatch('', $extbaseConfiguration);
  184.  
  185. 00521: }
  186. 00522:
  187.  
  188.  
  189. 2 Tx_Extbase_Dispatcher::transfer("web_BlogExampleTxBlogexampleM1", "Blog", "index")
  190.  
  191.  
  192. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Dispatcher.php:
  193.  
  194. 00339:
  195. 00340: // As for SCbase modules, output of the controller/action pair should be echoed
  196.  
  197. 00341: echo $this->transfer($module, $controllerAction['controllerName'], $controllerAction['actionName']);
  198.  
  199. 00342: return TRUE;
  200. 00343: } else {
  201.  
  202.  
  203. 1 Tx_Extbase_Dispatcher::callModule("web_BlogExampleTxBlogexampleM1")
  204.  
  205.  
  206. ~/Projects/My/t3trunk/typo3/mod.php:
  207.  
  208. 00055: foreach ($TBE_MODULES['_dispatcher'] as $dispatcherClassName) {
  209. 00056: $dispatcher = t3lib_div::makeInstance($dispatcherClassName);
  210.  
  211. 00057: if ($dispatcher->callModule($temp_M) === TRUE) {
  212.  
  213. 00058: $isDispatched = TRUE;
  214. 00059: break;
Advertisement
Add Comment
Please, Sign In to add comment