Jump to content
mscholtheis

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

Share this post


Link to post
Share on other sites

Sind die korrekten Datenbankzugangsdaten hinterlegt, und kannst Du Dich mit diesen einloggen (z.B. von der Kommandozeile des Servers, auf dem Dein Shop installiert ist)?

Share this post


Link to post
Share on other sites

Ich bin mir gerade unsicher, ob ich aus Versehen mein Passwort geändert habe. Ist das in der Parameter.php Datei verschlüsselt hinterlegt?

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Hola a mi me aparece el error "500"  ContextErrorException con una configuración muy similar a la que has puesto.  

Alguien me puede ayudar ? no se donde tocar. 

Adjunto mi listado de errores.

 

Gracias a todos.

 

estoy un poco mucho perdido...😶

error500-prestashop1.7.5.pdf

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

@Wuschel

Vielen Dank für die Antwort! Ich konnte das Problem mittlerweile beheben. Ich hatte in MySQL die falsche Sprache eingestellt. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More