Jump to content

Recommended Posts

Hallo zusammen,

mir wird im FO und im BO nur eine leere Seite angezeigt wenn ich meine Seite aufrufe.

Ich habe etwas recherchiert und habe die Funktion des Debug Mode gefunden, jedoch blicke ich bei der Ausgabe nicht durch.

Das wurde mir im FO ausgeworfen:

[PrestaShopDatabaseException]

Table 'db987654321.ps_required_field' doesn't exist


        SELECT id_required_field, object_name, field_name
        FROM ps_required_field
        

at line 769 in file classes/db/Db.php
764.         if ($webservice_call && $errno) {
765.             $dbg = debug_backtrace();
766.             WebserviceRequest::getInstance()->setError(500, '

 ' . $this->getMsgError() . '. From ' . (isset($dbg[3]['class']) ? $dbg[3]['class'] : '') . '->' . $dbg[3]['function'] . '() Query was : ' . $sql, 97);
767.         } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
768.             if ($sql) {
769.                 throw new PrestaShopDatabaseException($this->getMsgError() . '<br /><br /><pre>' . $sql . '</pre>');
770.             }
771. 
772.             throw new PrestaShopDatabaseException($this->getMsgError());
773.         }
774.     }
DbCore->displayError - [line 385 - classes/db/Db.php] - [1 Arguments]
DbCore->query - [line 613 - classes/db/Db.php] - [1 Arguments]
DbCore->executeS - [line 1473 - classes/ObjectModel.php] - [1 Arguments]
ObjectModelCore->getFieldsRequiredDatabase - [line 1505 - classes/ObjectModel.php] - [1 Arguments]
ObjectModelCore->cacheFieldsRequiredDatabase - [line 1436 - classes/ObjectModel.php]
ObjectModelCore->validateFieldsRequiredDatabase - [line 498 - classes/controller/FrontController.php]
FrontControllerCore->assignGeneralPurposeVariables - [line 548 - classes/controller/FrontController.php]
FrontControllerCore->initContent - [line 37 - controllers/front/IndexController.php]
IndexControllerCore->initContent - [line 292 - classes/controller/Controller.php]
ControllerCore->run - [line 515 - classes/Dispatcher.php]
DispatcherCore->dispatch - [line 28 - index.php]

Das wurde mir im BO ausgeworfen:

[PrestaShopDatabaseException]

Table 'db987654321.ps_hook_module_exceptions' doesn't exist
 

SELECT * FROM `ps_hook_module_exceptions` WHERE `id_shop` IN (1)


at line 769 in file classes/db/Db.php

764. if ($webservice_call && $errno) { 765. $dbg = debug_backtrace(); 766. WebserviceRequest::getInstance()->setError(500, '[SQL Error] ' . $this->getMsgError() . '. From ' . (isset($dbg[3]['class']) ? $dbg[3]['class'] : '') . '->' . $dbg[3]['function'] . '() Query was : ' . $sql, 97); 767. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) { 768. if ($sql) { 769. throw new PrestaShopDatabaseException($this->getMsgError() . '<br /><br /><pre>' . $sql . '</pre>'); 770. } 771. 772. throw new PrestaShopDatabaseException($this->getMsgError()); 773. } 774. }

DbCore->displayError - [line 385 - classes/db/Db.php] - [1 Arguments]

DbCore->query - [line 613 - classes/db/Db.php] - [1 Arguments]

DbCore->executeS - [line 2221 - classes/module/Module.php] - [2 Arguments]

ModuleCore::getExceptionsStatic - [line 852 - classes/Hook.php] - [2 Arguments]

HookCore::exec - [line 167 - config/smarty.config.inc.php] - [3 Arguments]

smartyHook - [line 83 - classes/Smarty/SmartyLazyRegister.php] - [2 Arguments]

SmartyLazyRegister->__call - [line 196 - var/cache/dev/smarty/compile/93/6e/4c/936e4cf95f4c85028703fb15490afbaf797d9f7c_0.file.page_header_toolbar.tpl.php] - [2 Arguments]

Block_9685475165ec0849f1023f2_67812549->callBlock - [line 248 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [1 Arguments]

Smarty_Internal_Runtime_Inheritance->callBlock - [line 184 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [2 Arguments]

Smarty_Internal_Runtime_Inheritance->process - [line 156 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [2 Arguments]

Smarty_Internal_Runtime_Inheritance->instanceBlock - [line 49 - var/cache/dev/smarty/compile/93/6e/4c/936e4cf95f4c85028703fb15490afbaf797d9f7c_0.file.page_header_toolbar.tpl.php] - [3 Arguments]

content_5ec0849f11a122_05210370 - [line 123 - vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php] - [1 Arguments]

Smarty_Template_Resource_Base->getRenderedTemplateCode - [line 114 - vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php] - [1 Arguments]

Smarty_Template_Compiled->render - [line 216 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] - [1 Arguments]

Smarty_Internal_Template->render - [line 232 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php] - [2 Arguments]

Smarty_Internal_TemplateBase->_execute - [line 116 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php] - [5 Arguments]

Smarty_Internal_TemplateBase->fetch - [line 1859 - classes/controller/AdminController.php] - [1 Arguments]

AdminControllerCore->display - [line 312 - classes/controller/Controller.php]

ControllerCore->run - [line 515 - classes/Dispatcher.php]

DispatcherCore->dispatch - [line 97 - admin/index.php]

 

Kann mir von euch jemand weiter helfen?

Link to comment
Share on other sites

Das sind Standard-Datenbank-Tabellen die in deiner Datenbank fehlen. Die kann man zwar wiederherstellen da zumindest diese zwei bei einer Standardinstallation erstmal leer sind, aber du solltest herausfinden warum diese fehlen. Hast du etwas wie z.B. ein missglücktes Upgrade durchgeführt?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...