Hello everyone,
We are unable to log in to our long-used OsTicket. No matter which user we try to log in with, the site throws an error.
Here is the PHP54_Error log;
PHP Fatal error: Call to a member function bind() on a non-object in phar://C:/inetpub/wwwroot/destek.audio.com.tr/include/plugins/auth-ldap.phar/authentication.php on line 220
I reached the following topics but I couldn't understand what it does, can you help?
https://forum.osticket.com/d/85366-ldap-auth-not-working-error-call-to-a-memeber-function-bind-on-a-non-object-in-phar/9
OsTicket LDAP Problem
If you are truly using PHP54 then you are running an old and unsupported version of osTicket. If that’s the case, it sounds like you need to upgrade to a supported version of osTicket, upgrade the plugin, upgrade PHP, and retest. Otherwise you will need to check the server logs and AD logs for any related errors.
Cheers.
First of all Thanks for your reply
I cannot upgrade because I cannot log in to the interface. Can I upgrade without logging in?
No, you need to be able to login as an Administrator to be able to upgrade osTicket.
Cheers.
- Best Answerset by erdemyerlitas
You can go to the database, go to the _staff table, set your Agent account’s backend
value to NULL
, ensure you have a local password set - there should be a value in the passwd
column (if none set you can set one manually to a bcrypt hashed password with 8 round entropy - there are free tools online that can generate them), go to the _plugin table, set isactive
to 0
for the LDAP plugin, and you should be able to login with a local password.
Cheers.