davitto's avatar

issues with owen/audit and withFacades and witheloquent

Hi, I have implemented owen auditing and everything worded fine. However add the following lines to boostrap\app.php //$app->withFacades(); //$app->withEloquent();

the site crashes. The is no error message and there is nothing in the log. I have followed all the steps.

Please help as really in a pickle

0 likes
3 replies
Snapey's avatar

Those changes to bootstrap\app.php are for Lumen - are you using Lumen?

davitto's avatar

Ok, I am using Laravel. So I guess I dont need to include the lumen part, that was a bit dumb of me. Thank you.

I am still having issue getting audit information. I have followed standard procedure and added to the model use OwenIt\Auditing\Auditable; use OwenIt\Auditing\Contracts\Auditable as AuditableContract;

class Student extends Model implements AuditableContract { //

use Auditable;

but still not getting anything in the audit table. Any help would be greatly appreciated.

davitto's avatar

Figured it out. thanks for your help

Please or to participate in this conversation.