Git Product home page Git Product logo

Comments (5)

stevebauman avatar stevebauman commented on August 16, 2024

Hi @AlastairDewar,

I've just released LdapRecord-Lumen v2.0 that should resolve your issues that you're experiencing. 🎉

Can you give it a shot and let me know your results?

from ldaprecord-lumen.

AlastairDewar avatar AlastairDewar commented on August 16, 2024

Thanks @stevebauman.

It looks like it's still occurring, but now in newer ./src/Events/Logger.php.

./vendor/directorytree/ldaprecord/src/Events/Logger.php:74
./vendor/directorytree/ldaprecord/src/Events/Logger.php:42
./vendor/directorytree/ldaprecord/src/Container.php:235
./vendor/directorytree/ldaprecord/src/Events/Dispatcher.php:266
./vendor/directorytree/ldaprecord/src/Events/Dispatcher.php:112
./vendor/directorytree/ldaprecord/src/Events/Dispatcher.php:93
./vendor/directorytree/ldaprecord/src/Auth/Guard.php:216
./vendor/directorytree/ldaprecord/src/Auth/Guard.php:101
./vendor/directorytree/ldaprecord/src/Auth/Guard.php:134

I've managed to get around the issue just now by setting the env variable LDAP_LOGGING to false.

This is not an issue for me, as the logging is not something I require and was using just for debugging.

Thanks for your help,
Ally

from ldaprecord-lumen.

stevebauman avatar stevebauman commented on August 16, 2024

Happy to help @AlastairDewar!

That's strange that you're still encountering it though. Would you mind letting me know your Lumen version so I can try and debug this?

It looks like your Lumen application doesn't have the config singleton registered in its container. I'm not sure if that's something that was added in a later version of Lumen or not.

from ldaprecord-lumen.

stevebauman avatar stevebauman commented on August 16, 2024

I've tested this again via the following:

  1. Created a completely fresh Lumen 8.0 instance
  2. Followed the documentation guide step-by-step
  3. Enabled LDAP logging
  4. Attempted querying an LDAP directory

Everything is working fine -- no errors or exceptions. All operations are also being successfully sent to the log file.

Let me know your version and I can help you debug this 😄

from ldaprecord-lumen.

stevebauman avatar stevebauman commented on August 16, 2024

Closing due to inactivity.

from ldaprecord-lumen.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.