GithubHelp home page GithubHelp logo

Comments (6)

edwinheij avatar edwinheij commented on June 3, 2024 1

In stead of:
$adldap = new adLDAP($options);
Try:
$adldap = new adLDAP\adLDAP($options);

from adldap.

TerrenceLP avatar TerrenceLP commented on June 3, 2024

Perfecto! Working now. What was I missing and how does your suggestion actually work?

from adldap.

edwinheij avatar edwinheij commented on June 3, 2024

It's all about namespaces. Think this changed in #10 and 'forgot' to update this file. Maybe it's a good idea to submit an update for it. I'll try to somewhere today.
[edit]
https://github.com/bahjaat/adLDAP/commit/f4f36510e9781811d2b7266c35b3bc75ef2eb0a4
[/edit]

from adldap.

TerrenceLP avatar TerrenceLP commented on June 3, 2024

Great spot, I wasn't even thinking about that! No wonder NetBeans wanted to turn it in to a namespace! I'm still new to this project but I do like the features and progress, now i'm getting PHPass tied in.

from adldap.

victorleal avatar victorleal commented on June 3, 2024

The 4.0.4 release does not come with a namespace.

We need the namespace to run adLDAP with Laravel 4. An alternative is to put namespace adLDAP; inside all files and change the Exception class (line 950 of adLDAP.php file) to \Exception

Is not possible make a 4.0.5 release with this minor fix? I saw some people with this same kind of problem.

from adldap.

ItzJustJosh avatar ItzJustJosh commented on June 3, 2024

In stead of:
$adldap = new adLDAP($options);
Try:
$adldap = new adLDAP\adLDAP($options);

Thanks man!
Somehow this correction still hasn't been added to the docs.

from adldap.

Related Issues (20)

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.