afernandezm82 Posted August 10, 2022 Share Posted August 10, 2022 Hello. When I access to backend or frontend, I get this message. class Cookie extends CookieCore { public function _construct($name, $path = '', $expire = null, $shared_urls = null, $standalone = false, $secure = false) { $this->_content = array(); $this->_standalone = $standalone; $this->_expire = is_null($expire) ? time() + 1728000 : (int)$expire; $this->_path = trim(($this->_standalone ? '' : Context::getContext()->shop->physical_uri).$path, '/\\').'/'; if ($this->_path{0} != '/') { $this->_path = '/'.$this->_path; } $this->_path = rawurlencode($this->_path); $this->_path = str_replace('%2F', '/', $this->_path); $this->_path = str_replace('%7E', '~', $this->_path); $this->_domain = $this->getDomain($shared_urls); //remove www from url > example: .domain.com $this->_domain =str_replace('www','', $this->_domain); //Change cookie name "PrestaShop" > "MyCookieName" $this->_name = 'MyCookieName-'.md5(($this->_standalone ? '' : _PS_VERSION).$name.$this->domain); $this->_allow_writing = true; $this->_salt = $this->_standalone ? str_pad('', 8, md5('ps'.FILE)) : _COOKIE_IV; if ($this->standalone) { $this->_cipherTool = new Blowfish(str_pad('', 56, md5('ps'.FILE)), str_pad('', 56, md5('iv'.FILE))); } elseif (!Configuration::get('PS_CIPHER_ALGORITHM') || !defined('_RIJNDAEL_KEY')) { $this->cipherTool = new Blowfish(_COOKIE_KEY, COOKIE_IV); } else { $this->cipherTool = new Rijndael(_RIJNDAEL_KEY, RIJNDAEL_IV); } $this->_secure = (bool)$secure; $this->update(); } } My configuration is: Información del servidor Linux #138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022 x86_64 Versión del software del servidor: Apache/2.4.41 (Ubuntu) Versión PHP: 7.2.34-32+ubuntu20.04.1+deb.sury.org+1 Límite de memoria: 512M Tiempo máx. de ejecución: 30 Tamaño máx. para la subida de archivos: 32M info_outline Información de la base de datos Versión de MySQL: 10.3.34-MariaDB-0ubuntu0.20.04.1 Servidor MySQL: localhost Nombre MySQL: lovep_presta_2022 Usuario MySQL: admindba Prefijo de las tablas: ps_ Motor MySQL: InnoDB Controlador MySQL: DbPDO ¿Could you help me? Link to comment Share on other sites More sharing options...
joseantgv Posted September 20, 2022 Share Posted September 20, 2022 Can you upload a screenshot of the error? 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