Hello,
I'm trying to install epesi for few days on many Ubuntu 18.04 servers and I constantly have this issue during installation. PHP 7.2, nginx, Ubuntu 18.04, "session.auto_start = 1" in php.ini
I don't have any ideas how to move from this step.
Any help will be appreciated.
Hide
Type: E_USER_ERROR (256)
Message: mysqli error: [1452: Cannot add or update a child row: a foreign key constraint fails (parts_crm
.history
, CONSTRAINT history_ibfk_1
FOREIGN KEY (session_name
) REFERENCES session
(name
))] in ADODB_Error_Handler(INSERT INTO history (data,page_id,session_name,client_id) VALUES ('x�K�2���\0O�',0,'csrvmkdd2eqe674j5u4ascotok',2), )
File: /home/domains/crm.partsandtyres.com/www/libs/adodb/adodb-errorhandler.inc.php
Line=79
error backtrace:
[PHP core called function]
function called: handle_epesi_error(256, "mysqli error: [1452: Cannot add or update a child row: a foreign key constraint fails (parts_crm
.history
, CONSTRAINT history_ibfk_1
FOREIGN KEY (session_name
) REFERENCES session
(name
))] in ADODB_Error_Handler(INSERT INTO history (data,page_id,session_name,client_id) VALUES ('x�K�2���\0O�',0,'csrvmkdd2eqe674j5u4ascotok',2), )
", "/home/domains/crm.partsandtyres.com/www/libs/adodb/adodb-errorhandler.inc.php", 79, Array ("mysqli", "ADODB_Error_Handler", 1452, "Cannot add or update a child row: a foreign key constraint fails (parts_crm
.history
, CONSTRAINT history_ibfk_1
FOREIGN KEY (session_name
) REFERENCES session
(name
))", "INSERT INTO history (data,page_id,session_name,client_id) VALUES ('x�K�2���\0O�',0,'csrvmkdd2eqe674j5u4ascotok',2)", false, Object (ADODB_mysqli), "mysqli error: [1452: Cannot add or update a child row: a foreign key constraint fails (parts_crm
.history
, CONSTRAINT history_ibfk_1
FOREIGN KEY (session_name
) REFERENCES session
(name
))] in ADODB_Error_Handler(INSERT INTO history (data,page_id,session_name,client_id) VALUES ('x�K�2���\0O�',0,'csrvmkdd2eqe674j5u4ascotok',2), )
"))
File: /home/domains/crm.partsandtyres.com/www/libs/adodb/adodb-errorhandler.inc.php
line 79
function called: trigger_error("mysqli error: [1452: Cannot add or update a child row: a foreign key constraint fails (parts_crm
.history
, CONSTRAINT history_ibfk_1
FOREIGN KEY (session_name
) REFERENCES session
(name
))] in ADODB_Error_Handler(INSERT INTO history (data,page_id,session_name,client_id) VALUES ('x�K�2���\0O�',0,'csrvmkdd2eqe674j5u4ascotok',2), )
", 256)
File: /home/domains/crm.partsandtyres.com/www/libs/adodb/adodb.inc.php
line 299
function called: ADODB_Error_Handler("mysqli", "ADODB_Error_Handler", 1452, "Cannot add or update a child row: a foreign key constraint fails (parts_crm
.history
, CONSTRAINT history_ibfk_1
FOREIGN KEY (session_name
) REFERENCES session
(name
))", "INSERT INTO history (data,page_id,session_name,client_id) VALUES ('x�K�2���\0O�',0,'csrvmkdd2eqe674j5u4ascotok',2)", false, "Object (ADODB_mysqli)")
File: /home/domains/crm.partsandtyres.com/www/libs/adodb/adodb.inc.php
line 1235
function called: ADODB_TransMonitor("mysqli", "ADODB_Error_Handler", 1452, "Cannot add or update a child row: a foreign key constraint fails (parts_crm
.history
, CONSTRAINT history_ibfk_1
FOREIGN KEY (session_name
) REFERENCES session
(name
))", "INSERT INTO history (data,page_id,session_name,client_id) VALUES ('x�K�2���\0O�',0,'csrvmkdd2eqe674j5u4ascotok',2)", false, "\"Object (ADODB_mysqli)\"")
File: /home/domains/crm.partsandtyres.com/www/libs/adodb/adodb.inc.php
line 1199
function called: _Execute("INSERT INTO history (data,page_id,session_name,client_id) VALUES ('x�K�2���\0O�',0,'csrvmkdd2eqe674j5u4ascotok',2)", false)
File: /home/domains/crm.partsandtyres.com/www/libs/adodb/adodb-lib.inc.php
line 211
function called: Execute("INSERT INTO history (data,page_id,session_name,client_id) VALUES ('x�K�2���\0O�',0,'csrvmkdd2eqe674j5u4ascotok',2)")
File: /home/domains/crm.partsandtyres.com/www/libs/adodb/adodb.inc.php
line 1878
function called: _adodb_replace(Object (ADODB_mysqli), "history", Array ("'x�K�2���\0O�'", 0, "'csrvmkdd2eqe674j5u4ascotok'", 2), Array ("session_name", "page_id"), false, false)
File: /home/domains/crm.partsandtyres.com/www/include/database.php
line 213
function called: Replace("history", Array ("'x�K�2���\0O�'", 0, "'csrvmkdd2eqe674j5u4ascotok'", 2), Array ("session_name", "page_id"))
File: /home/domains/crm.partsandtyres.com/www/include/database.php
line 631
function called: call_with_retry("Replace", Array ("history", Array (#4), Array (#2)))
File: /home/domains/crm.partsandtyres.com/www/include/history.php
line 55
function called: Replace("history", Array ("'x�K�2���\0O�'", 0, "'csrvmkdd2eqe674j5u4ascotok'", 2), Array ("session_name", "page_id"))
File: /home/domains/crm.partsandtyres.com/www/include/epesi.php
line 442
function called: set()
File: /home/domains/crm.partsandtyres.com/www/process.php
line 38
function called: process("install_lang=pl", "0")