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

Home » RADICORE development » Bug Reports » Audit Trail returns no records (Audit Trail Button always returns 0 records when dbprefix configured)
Audit Trail returns no records [message #4133] Sun, 13 April 2014 14:00 Go to next message
kong is currently offline  kong
Messages: 90
Registered: December 2011
Member
Cause of problem: Click audit trail button results in sql query with a base_name criteria that does not take into account the configured dbprefix. Hence, when the system is configured without dbprefix this will not generate any problems, but when a dbprefix is configured the audit trail button won't return any records as the base_name does not match with what is stored in the audit database audit_tbl.

Solution: Change line 251 and line 255 in file include.session.inc from
$database_id = $dbobject->dbname;

to
$database_id = $dbobject->dbname_server;


Re: Audit Trail returns no records [message #4134 is a reply to message #4133] Tue, 15 April 2014 04:00 Go to previous message
AJM is currently offline  AJM
Messages: 2370
Registered: April 2006
Location: Surrey, UK
Senior Member
You are correct. I shall fix this in the next release.

Previous Topic: PostgreSQL error
Next Topic: List User Update Multiple
Goto Forum:
  


Current Time: Tue Nov 26 21:21:08 EST 2024

Total time taken to generate the page: 0.01002 seconds