philbertphotos / osticket-multildap-auth-plugin

Plugin for OS Ticket that allows for authentication with multiple domains.
GNU General Public License v3.0
28 stars 17 forks source link

Agent control #40

Closed olrak2 closed 3 years ago

olrak2 commented 3 years ago

When going to the agent, user management.

It only load's until this image

An error i get is this : [16-Nov-2020 13:54:41 UTC] PHP Fatal error: Uncaught Error: Using $this when not in object context in C:\inetpub\wwwroot\osTicket\include\plugins\multi-ldap\config.php:21 Stack trace:

0 C:\inetpub\wwwroot\osTicket\include\plugins\multi-ldap\auth.php(809): LdapMultiAuthPluginConfig::translate()

1 C:\inetpub\wwwroot\osTicket\include\staff\staff.inc.php(156): StaffLDAPMultiAuthentication->getName()

2 C:\inetpub\wwwroot\osTicket\scp\staff.php(193): require('C:\inetpub\wwwr...')

3 {main}

thrown in C:\inetpub\wwwroot\osTicket\include\plugins\multi-ldap\config.php on line 21

philbertphotos commented 3 years ago

Ok I will update my local copy from my test server and get back to you on this today.

philbertphotos commented 3 years ago

I just fixed this on my live system. Try now and see if it works for you as I test this in development also.

olrak2 commented 3 years ago

The error is gone now, but now a new error when syncing :

[16-Nov-2020 15:18:21 UTC] PHP Fatal error: Uncaught Error: Class 'LDAPMultiAuthentication' not found in C:\inetpub\wwwroot\osTicket\scp\sync_mldap.php:2 Stack trace:

0 {main}

thrown in C:\inetpub\wwwroot\osTicket\scp\sync_mldap.php on line 2 [16-Nov-2020 15:18:24 UTC] PHP Warning: Creating default object from empty value in C:\inetpub\wwwroot\osTicket\include\plugins\multi-ldap\config.php on line 54

philbertphotos commented 3 years ago

checking trying to duplicate the error.

philbertphotos commented 3 years ago

Try now and see if the change fixes this issue.

olrak2 commented 3 years ago

Agent controle is working now, i close this ticket.

Thx for the work.