W momencie, jak próbowałem zalogować się jako ten 2 użytkownik otrzymałem sporą ilość błędów podczas logowania:
Hide
Type: E_USER_ERROR (256)
Message: mysqli error: [1452: Cannot add or update a child row: a foreign key constraint fails (intellogic_9
.contact_recent
, CONSTRAINT contact_recent_ibfk_2
FOREIGN KEY (contact_id
) REFERENCES contact_data_1
(id
))] in EXECUTE("INSERT INTO contact_recent (contact_id, user_id, visited_on) VALUES (-1, 34, '2016-09-28 12:00:01')")
File: /home/xxxxxxxxxxxxxxxx/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 (intellogic_9
.contact_recent
, CONSTRAINT contact_recent_ibfk_2
FOREIGN KEY (contact_id
) REFERENCES contact_data_1
(id
))] in EXECUTE(\"INSERT INTO contact_recent (contact_id, user_id, visited_on) VALUES (-1, 34, '2016-09-28 12:00:01')\") ", "/home/xxxxxxxxxxxxxxxxxx/libs/adodb/adodb-errorhandler.inc.php", 79, Array ("mysqli", "EXECUTE", 1452, "Cannot add or update a child row: a foreign key constraint fails (intellogic_9
.contact_recent
, CONSTRAINT contact_recent_ibfk_2
FOREIGN KEY (contact_id
) REFERENCES contact_data_1
(id
))", "INSERT INTO contact_recent (contact_id, user_id, visited_on) VALUES (-1, 34, '2016-09-28 12:00:01')", false, Object (ADODB_mysqli), "INSERT INTO contact_recent (contact_id, user_id, visited_on) VALUES (-1, 34, '2016-09-28 12:00:01')", false, "mysqli error: [1452: Cannot add or update a child row: a foreign key constraint fails (intellogic_9
.contact_recent
, CONSTRAINT contact_recent_ibfk_2
FOREIGN KEY (contact_id
) REFERENCES contact_data_1
(id
))] in EXECUTE(\"INSERT INTO contact_recent (contact_id, user_id, visited_on) VALUES (-1, 34, '2016-09-28 12:00:01')\") "))