PrepagoChile Posted August 5 Share Posted August 5 [PrestaShopDatabaseException] INSERT command denied to user 'o4474508'@'infong1022.perfora.net' for table 'r8wf_guest'<br /><br /><pre>INSERT INTO `r8wf_guest` (`id_operating_system`, `id_web_browser`, `id_customer`, `javascript`, `screen_resolution_x`, `screen_resolution_y`, `screen_color`, `sun_java`, `adobe_flash`, `adobe_director`, `apple_quicktime`, `real_player`, `windows_media`, `accept_language`, `mobile_theme`) VALUES ('6', '11', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'es', '0')</pre> 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 740 - classes/db/Db.php] - [1 Arguments] DbCore->q - [line 476 - classes/db/Db.php] - [2 Arguments] DbCore->insert - [line 551 - classes/ObjectModel.php] - [3 Arguments] ObjectModelCore->add - [line 508 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 239 - classes/Guest.php] GuestCore::setNewGuest - [line 83 - modules/statsdata/statsdata.php] - [1 Arguments] statsdata->getScriptPlugins - [line 74 - modules/statsdata/statsdata.php] - [1 Arguments] statsdata->hookDisplayBeforeBodyClosingTag - [line 966 - classes/Hook.php] - [1 Arguments] HookCore::coreCallHook - [line 351 - classes/Hook.php] - [3 Arguments] HookCore::callHookOn - [line 903 - classes/Hook.php] - [3 Arguments] HookCore::exec - [line 165 - config/smarty.config.inc.php] - [3 Arguments] smartyHook - [line 83 - classes/Smarty/SmartyLazyRegister.php] - [2 Arguments] SmartyLazyRegister->__call - [line 386 - var/cache/dev/smarty/compile/layouts_layout_full_width_tpl/b3/43/7f/b3437f01dec95ac2a1ca7e2c0f17b64ec04b5774_2.file.layout-both-columns.tpl.php] - [2 Arguments] Block_75239470466affa326ce354_04670394->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 132 - var/cache/dev/smarty/compile/layouts_layout_full_width_tpl/b3/43/7f/b3437f01dec95ac2a1ca7e2c0f17b64ec04b5774_2.file.layout-both-columns.tpl.php] - [3 Arguments] content_66affa326cf137_34842832 - [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 385 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] Smarty_Internal_Template->_subTemplateRender - [line 125 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [10 Arguments] Smarty_Internal_Runtime_Inheritance->endChild - [line 42 - var/cache/dev/smarty/compile/layouts_layout_full_width_tpl/ac/b0/30/acb0308da4c2fb6b13cb462c3c937d5aa3e84db5_2.file.layout-full-width.tpl.php] - [2 Arguments] content_66affa326922f2_43637086 - [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 385 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] Smarty_Internal_Template->_subTemplateRender - [line 125 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [10 Arguments] Smarty_Internal_Runtime_Inheritance->endChild - [line 33 - var/cache/dev/smarty/compile/layouts_layout_full_width_tpl/78/17/ee/7817eeb0da3aed2d19550b22e660f147c0b081ca_2.file.page.tpl.php] - [2 Arguments] content_66affd6b3b6911_46567099 - [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 385 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php] Smarty_Internal_Template->_subTemplateRender - [line 125 - vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php] - [10 Arguments] Smarty_Internal_Runtime_Inheritance->endChild - [line 33 - var/cache/dev/smarty/compile/layouts_layout_full_width_tpl/bf/5e/68/bf5e689421b87eb72eed1cce93dd5344ccee29e6_2.file.index.tpl.php] - [2 Arguments] content_66affd6b35da39_10530934 - [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 40 - classes/Smarty/SmartyDev.php] - [7 Arguments] SmartyDev->fetch - [line 682 - classes/controller/FrontController.php] - [3 Arguments] FrontControllerCore->smartyOutputContent - [line 666 - classes/controller/FrontController.php] - [1 Arguments] FrontControllerCore->display - [line 301 - classes/controller/Controller.php] ControllerCore->run - [line 511 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Este es el error que me aparece, ya no se que hacer. Si alguien me puede ayudar se le agradece Link to comment Share on other sites More sharing options...
Eutanasio Posted August 8 Share Posted August 8 Parece que el usuario no tiene permisos para interactuar con la base de datos. Antes que nada, asegúrate de que el usuario en cuestión es legítimo, luego ve a PhpMyadmin (o lo que uses para gestionar tu BD) y dale permisos, puedes hacerlo manualmente o ejecutando un comande como este: GRANT INSERT ON `nombre_de_tu_base_de_datos`.`r8wf_guest` TO 'o4474508'@'infong1022.perfora.net'; FLUSH PRIVILEGES; Asegúrate de cambiar el nombre de la base de datos por el que tú tengas! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now