Jump to content

Panne du site cause inconnue URGENT


Recommended Posts

Bonjour.

 

J'ai eu la surprise de constater que mon site (www.nautee.fr) n'est plus accessible alors que vendredi soir il fonctionnait encore parfaitement.

 

Voici les messages d'erreur.

 

Une table semble manquer sous mysql mais je n'ai pas réussi à trouver son utilité. Le BO fonctionne.

 

Est-ce qu'une restauration de la BDD va résoudre le problème où est-ce plus grave que ça?

[PrestaShopDatabaseException]

Table 'nauteefrvdtnt.ps_smtg_perso' doesn't exist
 

SELECT * FROM ps_smtg_perso WHERE id_lang = 1 AND link = 'http://www.nautee.fr/' LIMIT 1
at line 646 in file classes/db/Db.php

 

641.             WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
642.         }
643.         elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
644.         {
645.             if ($sql)
646.                 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
647.             throw new PrestaShopDatabaseException($this->getMsgError());
648.         }
649.     }
650.
651.     /**
  • DbCore->displayError - [line 340 - classes/db/Db.php] - [1 Arguments]
    335.             if ($this->connect())
    336.                 $this->result = $this->_query($sql);
    337.         }
    338.
    339.         if (_PS_DEBUG_SQL_)
    340.             $this->displayError($sql);
    341.         return $this->result;
    342.     }
    343.
    344.     /**
    345.      * Execute an INSERT query
  • DbCore->query - [line 558 - classes/db/Db.php] - [1 Arguments]
    553.         if ($use_cache && $this->is_cache_enabled && ($result = Cache::getInstance()->get(Tools::encryptIV($sql))) !== false)
    554.         {
    555.             $this->last_cached = true;
    556.             return $result;
    557.         }
    558.         $this->result = $this->query($sql);
    559.         if (!$this->result)
    560.             $result = false;
    561.         else
    562.             $result = $this->nextRow($this->result);
    563.         $this->last_cached = false;
  • DbCore->getRow - [line 662 - modules/seometatagsgenerator/seometatagsgenerator.php] - [1 Arguments]
    657. public function hookHeader() {

    659. $q = "SELECT * FROM ". _DB_PREFIX_ ."smtg_perso "
    660. . "WHERE id_lang = ". pSQL($this->context->language->id) ." "
    661. . "AND link = '". pSQL($actual_link) ."'";
    662. $perso = Db::getInstance()->getRow($q);
    663. if($perso !== FALSE){
    664. if (!empty($perso['meta_title'])){
    665. $this->context->smarty->assign('meta_title', $perso['meta_title']);
    666. }
    667. if (!empty($perso['meta_description'])){
  • SeoMetaTagsGenerator->hookHeader - [line 512 - classes/Hook.php] - [1 Arguments]
    507.
    508.                 // Call hook method
    509.                 if ($hook_callable)
    510.                     $display = $moduleInstance->{'hook'.$hook_name}($hook_args);
    511.                 elseif ($hook_retro_callable)
    512.                     $display = $moduleInstance->{'hook'.$retro_hook_name}($hook_args);
    513.                 // Live edit
    514.                 if (!$array_return && $array['live_edit'] && Tools::isSubmit('live_edit') && Tools::getValue('ad') && Tools::getValue('liveToken') == Tools::getAdminToken('AdminModulesPositions'.(int)Tab::getIdFromClassName('AdminModulesPositions').(int)Tools::getValue('id_employee')))
    515.                 {
    516.                     $live_edit = true;
    517.                     $output .= self::wrapLiveEdit($display, $moduleInstance, $array['id_hook']);
  • HookCore::exec - [line 456 - classes/controller/FrontController.php] - [1 Arguments]
    451.         if (!$this->useMobileTheme())
    452.         {
    453.             // These hooks aren't used for the mobile theme.
    454.             // Needed hooks are called in the tpl files.
    455.             $this->context->smarty->assign(array(
    456.                 'HOOK_HEADER' => Hook::exec('displayHeader'),
    457.                 'HOOK_TOP' => Hook::exec('displayTop'),
    458.                 'HOOK_LEFT_COLUMN' => ($this->display_column_left ? Hook::exec('displayLeftColumn') : ''),
    459.                 'HOOK_RIGHT_COLUMN' => ($this->display_column_right ? Hook::exec('displayRightColumn', array('cart' => $this->context->cart)) : ''),
    460.             ));
    461.         }
  • FrontControllerCore->initContent - [line 37 - controllers/front/IndexController.php]
    32.      * Assign template vars related to page content
    33.      * @see FrontController::initContent()
    34.      */
    35.     public function initContent()
    36.     {
    37.         parent::initContent();
    38.         $this->addJS(_THEME_JS_DIR_.'index.js');
    39.
    40.         $this->context->smarty->assign(array('HOOK_HOME' => Hook::exec('displayHome'),
    41.             'HOOK_HOME_TAB' => Hook::exec('displayHomeTab'),
    42.             'HOOK_HOME_TAB_CONTENT' => Hook::exec('displayHomeTabContent')
  • IndexControllerCore->initContent - [line 180 - classes/controller/Controller.php]
    175.
    176.             if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className)))
    177.                 $this->initHeader();
    178.
    179.             if ($this->viewAccess())
    180.                 $this->initContent();
    181.             else
    182.                 $this->errors[] = Tools::displayError('Access denied.');
    183.
    184.             if (!$this->content_only && ($this->display_footer || (isset($this->className) && $this->className)))
    185.                 $this->initFooter();
  • ControllerCore->run - [line 373 - classes/Dispatcher.php]
    368.             // Execute hook dispatcher
    369.             if (isset($params_hook_action_dispatcher))
    370.                 Hook::exec('actionDispatcher', $params_hook_action_dispatcher);
    371.
    372.             // Running controller
    373.             $controller->run();
    374.         }
    375.         catch (PrestaShopException $e)
    376.         {
    377.             $e->displayMessage();
    378.         }
  • DispatcherCore->dispatch - [line 28 - index.php]
    23. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
    24. * International Registered Trademark & Property of PrestaShop SA
    25. */
    26.
    27. require(dirname(__FILE__).'/config/config.inc.php');
    28. Dispatcher::getInstance()->dispatch();oi
 
 
 
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...