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 previous 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;


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


Current Time: Tue Nov 26 19:25:24 EST 2024

Total time taken to generate the page: 0.04043 seconds