Jump to content

Recommended Posts

Bonsoir,

comme beaucoup, tout se passait très bien jusqu'à présent et voilà que je me retrouve confronter à des déconnexions intempestives du BO sous prestashop 1.6.1.17 et 1&1.

Voilà maintenant lorsque je j'essaie d'accéder à mon BO j'obtiens ce message sur page blanche

"Fatal error: Uncaught Error: Class 'Cookie' not found in /homepages/24/d742654074/htdocs/config/config.inc.php:163 Stack trace: #0 /homepages/24/d742654074/htdocs/administration/index.php(36): require() #1 {main} thrown in /homepages/24/d742654074/htdocs/config/config.inc.php on line 163"

et lorsque je tente d'accéder à mon site, j'obtiens ceci :

"Fatal error: Uncaught Error: Class 'Cookie' not found in /homepages/24/d742654074/htdocs/config/config.inc.php:174 Stack trace: #0 /homepages/24/d742654074/htdocs/index.php(27): require() #1 {main} thrown in /homepages/24/d742654074/htdocs/config/config.inc.php on line 174"

 

Merci por toute aide  que vous pourrez m'apporter ... je galère !

Xavier

Link to comment
Share on other sites

Voici les lignes du fichier config.inc.php concerné :

 

if (defined('_PS_ADMIN_DIR_')) {
    $cookie = new Cookie('psAdmin', '', $cookie_lifetime);
} else {
    $force_ssl = Configuration::get('PS_SSL_ENABLED') && Configuration::get('PS_SSL_ENABLED_EVERYWHERE');
    if ($context->shop->getGroup()->share_order) {
        $cookie = new Cookie('ps-sg'.$context->shop->getGroup()->id, '', $cookie_lifetime, $context->shop->getUrlsSharedCart(), false, $force_ssl);
    } else {
        $domains = null;
        if ($context->shop->domain != $context->shop->domain_ssl) {
            $domains = array($context->shop->domain_ssl, $context->shop->domain);
        }

        $cookie = new Cookie('ps-s'.$context->shop->id, '', $cookie_lifetime, $domains, false, $force_ssl);
    }
}

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