Today I found this error.
"There was an error in one of epesi modules. Details are displayed at the bottom of the page, please send this information to system administrator." [OK-button]
Then some debug code:
Type: 256
Message:
File: /home/www/epesi/libs/adodb/adodb-errorhandler.inc.php
Line=77
error backtrace:
[PHP core called function]
function called: handle_epesi_error(256, "mysqlt error: [1452: Cannot add or update a child row: a foreign key constraint fails (`epesi`.`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�U�I�@E��{�N��{\0�R������D��.h������`-�dϢ��gj2����U��F=��d�0Ĩ�6���V<���a&\\"�ѥ4C�)����S�X}+�Ys�4�V$e���>�x#Q�9c�S&��)��X1�\0+H\\"',0,'7aovoqr6ardhaiobgf59u595t7',1), ) ", "/home/www/epesi/libs/adodb/adodb-errorhandler.inc.php", 77, Array ("mysqlt", "ADODB_Error_Handler", 1452, "Cannot add or update a child row: a foreign key constraint fails (`epesi`.`history`, CONSTRAINT `history_ibfk_1` FOREIGN KEY (`session_name`) REFERENCES `session` (`name`))", "INSERT INTO history (data,page_id,session_name,client_id) VALUES ('x�U�I�@E��{�N��{\0�R������D��.h������`-�dϢ��gj2����U��F=��d�0Ĩ�6���V<���a&\\"�ѥ4C�)����S�X}+�Ys�4�V$e���>�x#Q�9c�S&��)��X1�\0+H\\"',0,'7aovoqr6ardhaiobgf59u595t7',1)", false, Object (ADODB_mysqlt), "mysqlt error: [1452: Cannot add or update a child row: a foreign key constraint fails (`epesi`.`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�U�I�@E��{�N��{\0�R������D��.h������`-�dϢ��gj2����U��F=��d�0Ĩ�6���V<���a&\\"�ѥ4C�)����S�X}+�Ys�4�V$e���>�x#Q�9c�S&��)��X1�\0+H\\"',0,'7aovoqr6ardhaiobgf59u595t7',1), ) "))
File: /home/www/epesi/libs/adodb/adodb-errorhandler.inc.php
line 77
function called: trigger_error("mysqlt error: [1452: Cannot add or update a child row: a foreign key constraint fails (`epesi`.`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�U�I�@E��{�N��{\0�R������D��.h������`-�dϢ��gj2����U��F=��d�0Ĩ�6���V<���a&\\"�ѥ4C�)����S�X}+�Ys�4�V$e���>�x#Q�9c�S&��)��X1�\0+H\\"',0,'7aovoqr6ardhaiobgf59u595t7',1), ) ", 256)
File: /home/www/epesi/libs/adodb/adodb.inc.php
line 227
function called: ADODB_Error_Handler("mysqlt", "ADODB_Error_Handler", 1452, "Cannot add or update a child row: a foreign key constraint fails (`epesi`.`history`, CONSTRAINT `history_ibfk_1` FOREIGN KEY (`session_name`) REFERENCES `session` (`name`))", "INSERT INTO history (data,page_id,session_name,client_id) VALUES ('x�U�I�@E��{�N��{\0�R������D��.h������`-�dϢ��gj2����U��F=��d�0Ĩ�6���V<���a&\\"�ѥ4C�)����S�X}+�Ys�4�V$e���>�x#Q�9c�S&��)��X1�\0+H\\"',0,'7aovoqr6ardhaiobgf59u595t7',1)", false, "Object (ADODB_mysqlt)")
File: /home/www/epesi/libs/adodb/adodb.inc.php
line 1043
function called: ADODB_TransMonitor("mysqlt", "EXECUTE", 1452, "Cannot add or update a child row: a foreign key constraint fails (`epesi`.`history`, CONSTRAINT `history_ibfk_1` FOREIGN KEY (`session_name`) REFERENCES `session` (`name`))", "INSERT INTO history (data,page_id,session_name,client_id) VALUES ('x�U�I�@E��{�N��{\0�R������D��.h������`-�dϢ��gj2����U��F=��d�0Ĩ�6���V<���a&\\"�ѥ4C�)����S�X}+�Ys�4�V$e���>�x#Q�9c�S&��)��X1�\0+H\\"',0,'7aovoqr6ardhaiobgf59u595t7',1)", false, "\"Object (ADODB_mysqlt)\"")
File: /home/www/epesi/libs/adodb/adodb.inc.php
line 1018
function called: _Execute("INSERT INTO history (data,page_id,session_name,client_id) VALUES ('x�U�I�@E��{�N��{\0�R������D��.h������`-�dϢ��gj2����U��F=��d�0Ĩ�6���V<���a&\\"�ѥ4C�)����S�X}+�Ys�4�V$e���>�x#Q�9c�S&��)��X1�\0+H\\"',0,'7aovoqr6ardhaiobgf59u595t7',1)", false)
File: /home/www/epesi/libs/adodb/adodb-lib.inc.php
line 212
function called: Execute("INSERT INTO history (data,page_id,session_name,client_id) VALUES ('x�U�I�@E��{�N��{\0�R������D��.h������`-�dϢ��gj2����U��F=��d�0Ĩ�6���V<���a&\\"�ѥ4C�)����S�X}+�Ys�4�V$e���>�x#Q�9c�S&��)��X1�\0+H\\"',0,'7aovoqr6ardhaiobgf59u595t7',1)")
File: /home/www/epesi/libs/adodb/adodb.inc.php
line 1664
function called: _adodb_replace(Object (ADODB_mysqlt), "history", Array ("'x�U�I�@E��{�N��{\0�R������D��.h������`-�dϢ��gj2����U��F=��d�0Ĩ�6���V<���a&\\"�ѥ4C�)����S�X}+�Ys�4�V$e���>�x#Q�9c�S&��)��X1�\0+H\\"'", 0, "'7aovoqr6ardhaiobgf59u595t7'", 1), Array ("session_name", "page_id"), false, false)
[PHP core called function]
function called: Replace("history", Array ("'x�U�I�@E��{�N��{\0�R������D��.h������`-�dϢ��gj2����U��F=��d�0Ĩ�6���V<���a&\\"�ѥ4C�)����S�X}+�Ys�4�V$e���>�x#Q�9c�S&��)��X1�\0+H\\"'", 0, "'7aovoqr6ardhaiobgf59u595t7'", 1), Array ("session_name", "page_id"))
File: /home/www/epesi/include/database.php
line 582
function called: call_user_func_array(Array (Object (ADODB_mysqlt), "Replace"), Array ("history", Array (#4), Array (#2)))
File: /home/www/epesi/include/history.php
line 49
function called: Replace("history", Array ("'x�U�I�@E��{�N��{\0�R������D��.h������`-�dϢ��gj2����U��F=��d�0Ĩ�6���V<���a&\\"�ѥ4C�)����S�X}+�Ys�4�V$e���>�x#Q�9c�S&��)��X1�\0+H\\"'", 0, "'7aovoqr6ardhaiobgf59u595t7'", 1), Array ("session_name", "page_id"))
File: /home/www/epesi/include/epesi.php
line 416
function called: set()
File: /home/www/epesi/process.php
line 32
function called: process("", "0")