robertocct Posted February 6, 2018 Share Posted February 6, 2018 Buenas a todos, he instalado prestashop con xampp en el ordenador y cuando quiero entrar en al carpeta admin desde el explorador con la direccion: localhost/prestashop/admin, me da el siguiente error: fatal error exception in admindashboardcontroller.php linea 539 compile error: declaration of admindashboardcontrollercore::setmedia() must be compatible with adminControllerCore::setMetia($isnewTheme=false) Alguien puede ayudarme? Link to comment Share on other sites More sharing options...
jamal Posted February 7, 2018 Share Posted February 7, 2018 buenas, Mira si el archivo "/controllers/admin/AdminDashboardController.php" la funcion setMedia() esta bien escrita. debe de ser: public function setMedia($isNewTheme = false) { parent::setMedia($isNewTheme); $this->addJqueryUI('ui.datepicker'); $this->addJS(array( _PS_JS_DIR_.'vendor/d3.v3.min.js', __PS_BASE_URI__.$this->admin_webpath.'/themes/'.$this->bo_theme.'/js/vendor/nv.d3.min.js', _PS_JS_DIR_.'/admin/dashboard.js', )); $this->addCSS(__PS_BASE_URI__.$this->admin_webpath.'/themes/'.$this->bo_theme.'/css/vendor/nv.d3.css'); } Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted February 26, 2018 Share Posted February 26, 2018 No se si lo has solucionado, pero aquí: https://www.prestashop.com/forums/topic/639177-fatalerrorexception-in-admin-page/ se habla tambien de tu problema o al menos eso parece. Suerte 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