Skip to content
This repository has been archived by the owner on Jul 18, 2018. It is now read-only.

Blank page with LDAP backend enabled (PHP7 / OwnCloud 9.0.2 RC1) #32

Open
Deelight-fr opened this issue May 4, 2016 · 0 comments
Open

Comments

@Deelight-fr
Copy link
Contributor

Hi,

This bug strangely appeared after a PHP 5 to 7 upgrade.

{"reqId":"UuCjsQubgCCE0QEP0Fgn","remoteAddr":"xxx.xxx.xxx.xx","app":"cas","message":"Search CAS user 'mylogin' in LDAP","level":0,"time":"2016-05-04T13:36:06+00:00","method":"GET","url":"\/?app=user_cas","user":"--"}
{"reqId":"UuCjsQubgCCE0QEP0Fgn","remoteAddr":"xxx.xxx.xxx.xxx","app":"PHP","message":"TypeError: Argument 7 passed to OCA\\user_ldap\\lib\\user\\Manager::__construct() must implement interface OCP\\IUserManager, none given, called in \/var\/www\/owncloud\/apps\/user_cas\/lib\/ldap_backend_adapter.php on line 60 at \/var\/www\/owncloud\/apps\/user_ldap\/lib\/user\/manager.php#87","level":3,"time":"2016-05-04T13:36:06+00:00","method":"GET","url":"\/?app=user_cas","user":"--"}

It seems that the line to blame is in user_cas/lib/ldap_backend_adapter.ph

It seems that the line to blame is in 
                        $this->usermanager = new \OCA\user_ldap\lib\user\Manager(
                                \OC::$server->getConfig(),
                                new \OCA\user_ldap\lib\FilesystemHelper(),
                                new \OCA\user_ldap\lib\LogWrapper(),
                                \OC::$server->getAvatarManager(),
                                new \OCP\Image(),
                                $dbc
                        );
leoniswebDAVe added a commit that referenced this issue Aug 21, 2016
Fix blank page with LDAP backend enabled (PHP7 / OwnCloud 9.0.2 RC1) #32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant