Jump to content

Error 500: Link to database cannot be established: SQLSTATE[HY000] [1045] Access denied for user


Recommended Posts

Hallo,

leider erscheint bei mir aktuell folgende Fehlermeldung: Link to database cannot be established: SQLSTATE[HY000] [1045] Access denied for user .

Ich habe kurz vorher einen Blick in meine Datenbank geworfen und die Daten exportiert. Aber ansonsten habe ich eigentlich nichts verstellt. Da mir meine Google-Suche bisher auch nur bedingt helfen konnte, wäre ich für jede Hilfe sehr dankbar.

Vielen Dank,
Moritz

 

fehlermeldung.JPG

Link to comment
Share on other sites

jetzt habe ich das Passwort in parameters.php geändert, erhalte aber folgende Fehlermeldung:

 

(1/1) ContextErrorException

Notice: Undefined index: page_name

in 0c523b92310f90e271a8193f39c57d1ee775f50b_2.file.footer.tpl.php line 25
at content_5d0a3a2231fcd7_71412874(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, null, null, 0)in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch('/home/rrvripbh/partyretter.de/modules/whatsapp/views/templates/front/footer.tpl', null, null, null, false, true, false)in SmartyDev.php line 40
at SmartyDev->fetch('/home/rrvripbh/partyretter.de/modules/whatsapp/views/templates/front/footer.tpl')in whatsapp.php line 171
at whatsapp->whatsapp(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in whatsapp.php line 178
at whatsapp->hookDisplayFooter(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Hook.php line 966
at HookCore::coreCallHook(object(whatsapp), 'hookdisplayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' =>object(Cart), 'altern' => 2))in Hook.php line 351
at HookCore::callHookOn(object(whatsapp), 'displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Hook.php line 903
at HookCore::exec('displayFooter', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2), null)in smarty.config.inc.php line 165
at smartyHook(array('h' => 'displayFooter'), object(SmartyDevTemplate))in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayFooter'), object(SmartyDevTemplate)))in 099cfdd50e173e9ef16c6a6a66100b9dbf54a3ef_2.file.footer.tpl.php line 92
at Block_11591405145d0a3a2228ea22_94592820->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_11591405145d0a3a2228ea22_94592820), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_11591405145d0a3a2228ea22_94592820))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_11591405145d0a3a2228ea22_94592820', 'hook_footer')in 099cfdd50e173e9ef16c6a6a66100b9dbf54a3ef_2.file.footer.tpl.php line 39
at content_5d0a3a222912e8_80621210(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('file:_partials/footer.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 0, false)in 6800255e291dd12b931c4ac738073032ab93cc05_2.file.layout-both-columns.tpl.php line 333
at Block_7750022395d0a3a221c5c31_37067623->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_7750022395d0a3a221c5c31_37067623), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_7750022395d0a3a221c5c31_37067623))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_7750022395d0a3a221c5c31_37067623', 'footer')in 6800255e291dd12b931c4ac738073032ab93cc05_2.file.layout-both-columns.tpl.php line 102
at content_5d0a3a221c7791_46714614(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in c879e09e85b32010b044cfa7028bbf4bb6c87499_2.file.layout-full-width.tpl.php line 42
at content_5d0a3a221b7cc4_91933538(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('layouts/layout-full-width.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')in 63f1c01a45f872cced3e6c75f79cd9450a2289ec_2.file.page.tpl.php line 33
at content_5d0a3a221b0a26_85382905(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render()in smarty_internal_template.php line 385
at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')in ab1c7ac49043c1eb419a771f2ea1caf4b7470965_2.file.404.tpl.php line 39
at content_5d0a5c3b747f47_27207904(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 216
at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, 'layouts/layout-full-width.tpl', null, 0)in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch('errors/404.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)in SmartyDev.php line 40
at SmartyDev->fetch('errors/404.tpl', null, 'layouts/layout-full-width.tpl')in FrontController.php line 682
at FrontControllerCore->smartyOutputContent('errors/404.tpl')in FrontController.php line 666
at FrontControllerCore->display()in Controller.php line 301
at ControllerCore->run()in Dispatcher.php line 511
at DispatcherCore->dispatch()in index.php line 28
Link to comment
Share on other sites

@manueljt

Scheint mir nicht ähnlich zu sein. In deinem Fall ist wohl der Shop nicht kompatibel  mit PHP 7 (vermutlich) .

No se parece a mí. En su caso, la tienda probablemente no sea compatible con PHP 7 (probablemente).

@mscholtheis

Nur damit du verstehst, was du da gerade machst. Das Passwort ist in der Datenbank verschlüsselt abgelegt und kann und sollte auch nicht geändert werden, ebensowenig wie der Benutzername. 

Dagegen dienen diese Zugangsdaten in der Parameters.php (bis einschl. Prestashop 1.6 /config/settings.inc.php) dazu, dass dein Prestashop die Datenbank nutzen kann. Die müssen also dem Stand bei Anlage der Datenbank exakt entsprechen.

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...