Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install instructions out of date? #8

Open
AlastairGrowcott opened this issue Mar 8, 2019 · 3 comments
Open

Install instructions out of date? #8

AlastairGrowcott opened this issue Mar 8, 2019 · 3 comments

Comments

@AlastairGrowcott
Copy link

I had the Ubuntu packaged version of phpldapadmin which is very broken, and it looked like this was just a drop-in. However the Ubuntu version had files in /etc/phpldapadmin, one of which was an apache.conf file that somehow created a re-direct for the phpldapadmin without using the usual sites-enabled mechanism.

Just copying everything into /usr/share/phpldapadmin (as per the Ubuntu version) doesn't work, so it looks like the INSTALL.md needs updating. Or does this version do things in a very different way?

I tried just copying the directory as /var/www/html/phpldapadmin and creating a symbolic link in "config" to /etc/phpldapadmin/config.php, but then I get an error in my web browser:

Notice: Undefined variable: _SESSION in /var/www/html/phpldapadmin/lib/page.php on line 379

Fatal error: Uncaught Error: Call to a member function getValue() on null in /var/www/html/phpldapadmin/lib/page.php:379 Stack trace: #0 /var/www/html/phpldapadmin/lib/functions.php(640): page->display(Array) #1 /var/www/html/phpldapadmin/htdocs/index.php(107): error('Fatal error: Ca...', 'error', NULL, true) #2 {main} thrown in /var/www/html/phpldapadmin/lib/page.php on line 379

I tried making a copy rather than a symbolic link and just get the same error.

Please can you update the INSTALL.md with precise, fully working instructions.

@jensliebau
Copy link

Maybe the reason for this errors is that you are missing the config file phpldapadmin/config/config.php

@AlastairGrowcott
Copy link
Author

As per my original post:

...creating a symbolic link in "config" to /etc/phpldapadmin/config.php...

@AlastairGrowcott
Copy link
Author

Also:
...I tried making a copy rather than a symbolic link and just get the same error....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants