Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Cannot delete audit data
Cannot delete audit data [message #7749] Tue, 05 July 2022 18:17 Go to previous message
divico is currently offline  divico
Messages: 16
Registered: August 2008
Junior Member
Greetings,
Potentially this issue exists for some time in my environment. For whatever reasons I cannot delete the audit data. Not a general problem of running batch jobs, I have a few which I use regularly. Also no issues anywhere else in the framework. The issue occurs in versions 2.19 as well as 2.22.
Stack trace (taken from version 2.19) says:
1: array =
file: string = /var/www/html/radicore/includes/include.session.inc
line: integer = 985
function: string = trigger_error
args: array =
0: string = unserialize(): Error at offset 0 of 50214 bytes
1: integer = 256
2: array =
file: string = /var/www/html/radicore/includes/std.delete3.inc
line: integer = 22
function: string = initSession
args: array =
3: array =
file: string = /var/www/html/radicore/audit/audit_ssn(batch)delete.php
line: integer = 19
args: array =
0: string = /var/www/html/radicore/includes/std.delete3.inc
function: string = require

This is the corresponding code block from include.session.inc:

// session could not be created, so find out why
$dbobject = RDCsingleton::getInstance('php_session');
$string = $dbobject->read(session_id());
$_SESSION = unserialize(trim($string), array());
if (!is_array($_SESSION)) {
trigger_error($GLOBALS['php_errormsg'], E_USER_ERROR);
} // if

Any instant idea, why this one is failing?

Kind regards, Divico
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Frequent file juggling woes
Next Topic: PHP 8 - ListViewPrintAfter()
Goto Forum:
  


Current Time: Fri Nov 22 05:16:04 EST 2024

Total time taken to generate the page: 0.01175 seconds