An error occurred while processing your request “, nginx multilingual shop
location ~ (/lt|/en)/index\.php$ {
try_files $uri $uri/ /index.php?$args;
}
An error occurred while processing your request “, nginx multilingual shop
location ~ (/lt|/en)/index\.php$ {
try_files $uri $uri/ /index.php?$args;
}
mysql> SELECT * FROM `ps_configuration` WHERE name like 'PS_SSL_ENABLED%' ;
+------------------+---------------+---------+---------------------------+-------+---------------------+---------------------+
| id_configuration | id_shop_group | id_shop | name | value | date_add | date_upd |
+------------------+---------------+---------+---------------------------+-------+---------------------+---------------------+
| 29 | NULL | NULL | PS_SSL_ENABLED | 0 | 0000-00-00 00:00:00 | 0000-00-00 00:00:00 |
| 288 | NULL | NULL | PS_SSL_ENABLED_EVERYWHERE | 0 | 2021-01-24 00:52:10 | 2021-01-24 00:52:10 |
+------------------+---------------+---------+---------------------------+-------+---------------------+---------------------+
mysql> update ps_configuration set value=1 where id_configuration=29;
mysql> update ps_configuration set value=1 where id_configuration=288;
wget https://download.prestashop.com/download/releases/prestashop_1.7.7.1.zip
SET GLOBAL sort_buffer_size = 2560000;
vi /etc/mysql/mysql.conf.d/mysqld.cnf
[mysqld]
sort_buffer_size = 2560000;
disable_functions = proc_open,phpinfo,show_source,system,shell_exec,passthru,exec,popen
Login: prestashop
Password: prestashop
UPDATE `ps_employee` SET `passwd` = MD5('<_COOKIE_>password') WHERE `ps_employee`.`id_employee` = 1;
index.php/security/compromised?uri= ERR_TOO_MANY_REDIRECTS prestashop
Check session directory access: 1777 /var/lib/php/session
vi config/defines.inc.php
define('_PS_MODE_DEV_', true);