Guest User

Dmitry

a guest
May 26th, 2010
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.10 KB | None | 0 0
  1. #1247602160: Table 't3trunk.tx_extbase_persistence_objectstorage' doesn't exist
  2.  
  3. Tx_Extbase_Persistence_Storage_Exception_SqlError thrown in file
  4. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Storage/Typo3DbBackend.php in line 958.
  5.  
  6. 38 Tx_Extbase_Persistence_Storage_Typo3DbBackend::checkSqlErrors()
  7.  
  8.  
  9. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Storage/Typo3DbBackend.php:
  10.  
  11. 00226: // debug($sql,-2);
  12. 00227: $result = $this->databaseHandle->sql_query($sql);
  13.  
  14. 00228: $this->checkSqlErrors();
  15.  
  16. 00229: $rows = $this->getRowsFromResult($query->getSource(), $result);
  17. 00230: $rows = $this->doLanguageAndWorkspaceOverlay($query->getSource(), $rows);
  18.  
  19.  
  20. 37 Tx_Extbase_Persistence_Storage_Typo3DbBackend::getObjectDataByQuery(Tx_Extbase_Persistence_Query)
  21.  
  22.  
  23. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Backend.php:
  24.  
  25. 00227: */
  26. 00228: public function getObjectDataByQuery(Tx_Extbase_Persistence_QueryInterface $query) {
  27.  
  28. 00229: return $this->storageBackend->getObjectDataByQuery($query);
  29.  
  30. 00230: }
  31. 00231:
  32.  
  33.  
  34. 36 Tx_Extbase_Persistence_Backend::getObjectDataByQuery(Tx_Extbase_Persistence_Query)
  35.  
  36.  
  37. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Manager.php:
  38.  
  39. 00145: */
  40. 00146: public function getObjectDataByQuery(Tx_Extbase_Persistence_QueryInterface $query) {
  41.  
  42. 00147: return $this->backend->getObjectDataByQuery($query);
  43.  
  44. 00148: }
  45. 00149:
  46.  
  47.  
  48. 35 Tx_Extbase_Persistence_Manager::getObjectDataByQuery(Tx_Extbase_Persistence_Query)
  49.  
  50.  
  51. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Query.php:
  52.  
  53. 00198: */
  54. 00199: public function execute() {
  55.  
  56. 00200: $rows = $this->persistenceManager->getObjectDataByQuery($this);
  57.  
  58. 00201: if ($this->getQuerySettings()->getReturnRawQueryResult() === TRUE) {
  59. 00202: return $rows;
  60.  
  61.  
  62. 34 Tx_Extbase_Persistence_Query::execute()
  63.  
  64.  
  65. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Mapper/DataMapper.php:
  66.  
  67. 00331: if ($fieldValue === '') return array();
  68. 00332: $query = $this->getPreparedQuery($parentObject, $propertyName, $fieldValue);
  69.  
  70. 00333: return $query->execute();
  71.  
  72. 00334: }
  73. 00335:
  74.  
  75.  
  76. 33 Tx_Extbase_Persistence_Mapper_DataMapper::fetchRelatedEager(Tx_BlogExample_Domain_Model_Post, "comments", "2")
  77.  
  78.  
  79. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/Mapper/DataMapper.php:
  80.  
  81. 00314: }
  82. 00315: } else {
  83.  
  84. 00316: $result = $this->fetchRelatedEager($parentObject, $propertyName, $fieldValue);
  85.  
  86. 00317: }
  87. 00318: return $result;
  88.  
  89.  
  90. 32 Tx_Extbase_Persistence_Mapper_DataMapper::fetchRelated(Tx_BlogExample_Domain_Model_Post, "comments", "2", boolean)
  91.  
  92.  
  93. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/LazyObjectStorage.php:
  94.  
  95. 00084: if (!$this->isInitialized) {
  96. 00085: $dataMapper = Tx_Extbase_Dispatcher::getPersistenceManager()->getBackend()->getDataMapper();
  97.  
  98. 00086: $objects = $dataMapper->fetchRelated($this->parentObject, $this->propertyName, $this->fieldValue, FALSE);
  99.  
  100. 00087: $storage = array();
  101. 00088: foreach ($objects as $object) {
  102.  
  103.  
  104. 31 Tx_Extbase_Persistence_LazyObjectStorage::initializeStorage()
  105.  
  106.  
  107. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Persistence/LazyObjectStorage.php:
  108.  
  109. 00107: $numberOfElements = $dataMapper->countRelated($this->parentObject, $this->propertyName, $this->fieldValue);
  110. 00108: } else {
  111.  
  112. 00109: $this->initializeStorage();
  113.  
  114. 00110: $numberOfElements = count($this->storage);
  115. 00111: }
  116.  
  117.  
  118. 30 Tx_Extbase_Persistence_LazyObjectStorage::count()
  119.  
  120. 29 count(Tx_Extbase_Persistence_LazyObjectStorage)
  121.  
  122.  
  123. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/ViewHelperNode.php:
  124.  
  125. 00355: }
  126. 00356: if (is_array($value) || (is_object($value) && $value instanceof Countable)) {
  127.  
  128. 00357: return count($value) > 0;
  129.  
  130. 00358: }
  131. 00359: if (is_object($value)) {
  132.  
  133.  
  134. 28 Tx_Fluid_Core_Parser_SyntaxTree_ViewHelperNode::convertToBoolean(Tx_Extbase_Persistence_LazyObjectStorage)
  135.  
  136.  
  137. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/ViewHelperNode.php:
  138.  
  139. 00282: } else {
  140. 00283: $syntaxTreeNode->setRenderingContext($this->renderingContext);
  141.  
  142. 00284: return $this->convertToBoolean($syntaxTreeNode->evaluate());
  143.  
  144. 00285: }
  145. 00286: }
  146.  
  147.  
  148. 27 Tx_Fluid_Core_Parser_SyntaxTree_ViewHelperNode::evaluateBooleanExpression(Tx_Fluid_Core_Parser_SyntaxTree_RootNode)
  149.  
  150.  
  151. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/ViewHelperNode.php:
  152.  
  153. 00202: protected function convertArgumentValue(Tx_Fluid_Core_Parser_SyntaxTree_AbstractNode $syntaxTreeNode, $type) {
  154. 00203: if ($type === 'boolean') {
  155.  
  156. 00204: return $this->evaluateBooleanExpression($syntaxTreeNode);
  157.  
  158. 00205: }
  159. 00206: return $syntaxTreeNode->evaluate();
  160.  
  161.  
  162. 26 Tx_Fluid_Core_Parser_SyntaxTree_ViewHelperNode::convertArgumentValue(Tx_Fluid_Core_Parser_SyntaxTree_RootNode, "boolean")
  163.  
  164.  
  165. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/ViewHelperNode.php:
  166.  
  167. 00149: $argumentValue = $this->arguments[$argumentName];
  168. 00150: $argumentValue->setRenderingContext($this->renderingContext);
  169.  
  170. 00151: $evaluatedArguments[$argumentName] = $this->convertArgumentValue($argumentValue, $argumentDefinition->getType());
  171.  
  172. 00152: } else {
  173. 00153: $evaluatedArguments[$argumentName] = $argumentDefinition->getDefaultValue();
  174.  
  175.  
  176. 25 Tx_Fluid_Core_Parser_SyntaxTree_ViewHelperNode::evaluate()
  177.  
  178.  
  179. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/AbstractNode.php:
  180.  
  181. 00072: }
  182. 00073: $output = (string)$output;
  183.  
  184. 00074: $subNodeOutput = $subNode->evaluate();
  185.  
  186. 00075: if (is_object($subNodeOutput) && !method_exists($subNodeOutput, '__toString')) {
  187. 00076: throw new Tx_Fluid_Core_Parser_Exception('Cannot cast object of type "' . get_class($subNodeOutput) . '" to string.', 1248356140);
  188.  
  189.  
  190. 24 Tx_Fluid_Core_Parser_SyntaxTree_AbstractNode::evaluateChildNodes()
  191.  
  192.  
  193. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractViewHelper.php:
  194.  
  195. 00207: */
  196. 00208: protected function renderChildren() {
  197.  
  198. 00209: return $this->viewHelperNode->evaluateChildNodes();
  199.  
  200. 00210: }
  201. 00211:
  202.  
  203.  
  204. 23 Tx_Fluid_Core_ViewHelper_AbstractViewHelper::renderChildren()
  205.  
  206.  
  207. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/ViewHelpers/SectionViewHelper.php:
  208.  
  209. 00075: */
  210. 00076: public function render() {
  211.  
  212. 00077: return $this->renderChildren();
  213.  
  214. 00078: }
  215. 00079: }
  216.  
  217.  
  218. 22 Tx_Fluid_ViewHelpers_SectionViewHelper::render()
  219.  
  220. 21 call_user_func_array(array, array)
  221.  
  222.  
  223. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/ViewHelperNode.php:
  224.  
  225. 00176: $this->viewHelper->initialize();
  226. 00177: try {
  227.  
  228. 00178: $output = call_user_func_array(array($this->viewHelper, 'render'), $renderMethodParameters);
  229.  
  230. 00179: } catch (Tx_Fluid_Core_ViewHelper_Exception $exception) {
  231. 00180: // @todo [BW] rethrow exception, log, ignore.. depending on the current context
  232.  
  233.  
  234. 20 Tx_Fluid_Core_Parser_SyntaxTree_ViewHelperNode::evaluate()
  235.  
  236.  
  237. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/View/TemplateView.php:
  238.  
  239. 00264: $renderingContext = $this->buildRenderingContext();
  240. 00265: $section->setRenderingContext($renderingContext);
  241.  
  242. 00266: return $section->evaluate();
  243.  
  244. 00267: }
  245. 00268:
  246.  
  247.  
  248. 19 Tx_Fluid_View_TemplateView::renderSection("content")
  249.  
  250.  
  251. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/ViewHelpers/RenderViewHelper.php:
  252.  
  253. 00046: return $this->viewHelperVariableContainer->getView()->renderPartial($partial, $section, $arguments);
  254. 00047: } elseif ($section !== '') {
  255.  
  256. 00048: return $this->viewHelperVariableContainer->getView()->renderSection($section);
  257.  
  258. 00049: }
  259. 00050: return '';
  260.  
  261.  
  262. 18 Tx_Fluid_ViewHelpers_RenderViewHelper::render("content", "", array)
  263.  
  264. 17 call_user_func_array(array, array)
  265.  
  266.  
  267. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/ViewHelperNode.php:
  268.  
  269. 00176: $this->viewHelper->initialize();
  270. 00177: try {
  271.  
  272. 00178: $output = call_user_func_array(array($this->viewHelper, 'render'), $renderMethodParameters);
  273.  
  274. 00179: } catch (Tx_Fluid_Core_ViewHelper_Exception $exception) {
  275. 00180: // @todo [BW] rethrow exception, log, ignore.. depending on the current context
  276.  
  277.  
  278. 16 Tx_Fluid_Core_Parser_SyntaxTree_ViewHelperNode::evaluate()
  279.  
  280.  
  281. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/AbstractNode.php:
  282.  
  283. 00072: }
  284. 00073: $output = (string)$output;
  285.  
  286. 00074: $subNodeOutput = $subNode->evaluate();
  287.  
  288. 00075: if (is_object($subNodeOutput) && !method_exists($subNodeOutput, '__toString')) {
  289. 00076: throw new Tx_Fluid_Core_Parser_Exception('Cannot cast object of type "' . get_class($subNodeOutput) . '" to string.', 1248356140);
  290.  
  291.  
  292. 15 Tx_Fluid_Core_Parser_SyntaxTree_AbstractNode::evaluateChildNodes()
  293.  
  294.  
  295. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractViewHelper.php:
  296.  
  297. 00207: */
  298. 00208: protected function renderChildren() {
  299.  
  300. 00209: return $this->viewHelperNode->evaluateChildNodes();
  301.  
  302. 00210: }
  303. 00211:
  304.  
  305.  
  306. 14 Tx_Fluid_Core_ViewHelper_AbstractViewHelper::renderChildren()
  307.  
  308.  
  309. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/ViewHelpers/Be/ContainerViewHelper.php:
  310.  
  311. 00108:
  312. 00109: $output = $doc->startPage($pageTitle);
  313.  
  314. 00110: $output .= $this->renderChildren();
  315.  
  316. 00111: $output .= $doc->endPage();
  317. 00112: return $output;
  318.  
  319.  
  320. 13 Tx_Fluid_ViewHelpers_Be_ContainerViewHelper::render("", boolean, boolean, boolean, boolean, "", boolean, boolean, "", boolean, NULL, NULL)
  321.  
  322. 12 call_user_func_array(array, array)
  323.  
  324.  
  325. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/ViewHelperNode.php:
  326.  
  327. 00176: $this->viewHelper->initialize();
  328. 00177: try {
  329.  
  330. 00178: $output = call_user_func_array(array($this->viewHelper, 'render'), $renderMethodParameters);
  331.  
  332. 00179: } catch (Tx_Fluid_Core_ViewHelper_Exception $exception) {
  333. 00180: // @todo [BW] rethrow exception, log, ignore.. depending on the current context
  334.  
  335.  
  336. 11 Tx_Fluid_Core_Parser_SyntaxTree_ViewHelperNode::evaluate()
  337.  
  338.  
  339. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/AbstractNode.php:
  340.  
  341. 00066:
  342. 00067: if ($output === NULL) {
  343.  
  344. 00068: $output = $subNode->evaluate();
  345.  
  346. 00069: } else {
  347. 00070: if (is_object($output) && !method_exists($output, '__toString')) {
  348.  
  349.  
  350. 10 Tx_Fluid_Core_Parser_SyntaxTree_AbstractNode::evaluateChildNodes()
  351.  
  352.  
  353. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/Core/Parser/SyntaxTree/RootNode.php:
  354.  
  355. 00042: throw new RuntimeException('Rendering Context is null in RootNode, but necessary. If this error appears, please report a bug!', 1242669004);
  356. 00043: }
  357.  
  358. 00044: $text = $this->evaluateChildNodes();
  359.  
  360. 00045: return $text;
  361. 00046: }
  362.  
  363.  
  364. 9 Tx_Fluid_Core_Parser_SyntaxTree_RootNode::evaluate()
  365.  
  366.  
  367. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/Core/Parser/ParsingState.php:
  368.  
  369. 00094: public function render(Tx_Fluid_Core_Rendering_RenderingContext $renderingContext) {
  370. 00095: $this->rootNode->setRenderingContext($renderingContext);
  371.  
  372. 00096: return $this->rootNode->evaluate();
  373.  
  374. 00097: }
  375. 00098:
  376.  
  377.  
  378. 8 Tx_Fluid_Core_Parser_ParsingState::render(Tx_Fluid_Core_Rendering_RenderingContext)
  379.  
  380.  
  381. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/View/TemplateView.php:
  382.  
  383. 00279:
  384. 00280: $renderingContext = $this->buildRenderingContext();
  385.  
  386. 00281: return $parsedTemplate->render($renderingContext);
  387.  
  388. 00282: }
  389. 00283:
  390.  
  391.  
  392. 7 Tx_Fluid_View_TemplateView::renderWithLayout("default")
  393.  
  394.  
  395. ~/Projects/My/t3trunk/typo3/sysext/fluid/Classes/View/TemplateView.php:
  396.  
  397. 00213: $variableContainer = $parsedTemplate->getVariableContainer();
  398. 00214: if ($variableContainer !== NULL && $variableContainer->exists('layoutName')) {
  399.  
  400. 00215: return $this->renderWithLayout($variableContainer->get('layoutName'));
  401.  
  402. 00216: }
  403. 00217:
  404.  
  405.  
  406. 6 Tx_Fluid_View_TemplateView::render()
  407.  
  408.  
  409. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/MVC/Controller/ActionController.php:
  410.  
  411. 00238: }
  412. 00239: if ($actionResult === NULL && $this->view instanceof Tx_Extbase_MVC_View_ViewInterface) {
  413.  
  414. 00240: $this->response->appendContent($this->view->render());
  415.  
  416. 00241: } elseif (is_string($actionResult) && strlen($actionResult) > 0) {
  417. 00242: $this->response->appendContent($actionResult);
  418.  
  419.  
  420. 5 Tx_Extbase_MVC_Controller_ActionController::callActionMethod()
  421.  
  422.  
  423. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/MVC/Controller/ActionController.php:
  424.  
  425. 00138: $this->view = $this->resolveView();
  426. 00139: if ($this->view !== NULL) $this->initializeView($this->view);
  427.  
  428. 00140: $this->callActionMethod();
  429.  
  430. 00141: }
  431. 00142:
  432.  
  433.  
  434. 4 Tx_Extbase_MVC_Controller_ActionController::processRequest(Tx_Extbase_MVC_Web_Request, Tx_Extbase_MVC_Web_Response)
  435.  
  436.  
  437. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Dispatcher.php:
  438.  
  439. 00130: $controller = $this->getPreparedController($request);
  440. 00131: try {
  441.  
  442. 00132: $controller->processRequest($request, $response);
  443.  
  444. 00133: } catch (Tx_Extbase_MVC_Exception_StopAction $ignoredException) {
  445. 00134: }
  446.  
  447.  
  448. 3 Tx_Extbase_Dispatcher::dispatch("", array)
  449.  
  450.  
  451. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Dispatcher.php:
  452.  
  453. 00518: // and thus we are already within typo3/ because we call typo3/mod.php
  454. 00519: $GLOBALS['BACK_PATH'] = '';
  455.  
  456. 00520: return $this->dispatch('', $extbaseConfiguration);
  457.  
  458. 00521: }
  459. 00522:
  460.  
  461.  
  462. 2 Tx_Extbase_Dispatcher::transfer("web_BlogExampleTxBlogexampleM1", "Blog", "index")
  463.  
  464.  
  465. ~/Projects/My/t3trunk/typo3/sysext/extbase/Classes/Dispatcher.php:
  466.  
  467. 00339:
  468. 00340: // As for SCbase modules, output of the controller/action pair should be echoed
  469.  
  470. 00341: echo $this->transfer($module, $controllerAction['controllerName'], $controllerAction['actionName']);
  471.  
  472. 00342: return TRUE;
  473. 00343: } else {
  474.  
  475.  
  476. 1 Tx_Extbase_Dispatcher::callModule("web_BlogExampleTxBlogexampleM1")
  477.  
  478.  
  479. ~/Projects/My/t3trunk/typo3/mod.php:
  480.  
  481. 00055: foreach ($TBE_MODULES['_dispatcher'] as $dispatcherClassName) {
  482. 00056: $dispatcher = t3lib_div::makeInstance($dispatcherClassName);
  483.  
  484. 00057: if ($dispatcher->callModule($temp_M) === TRUE) {
  485.  
  486. 00058: $isDispatched = TRUE;
  487. 00059: break;
Advertisement
Add Comment
Please, Sign In to add comment