KircheNeuenburg / ldapcontacts

View other LDAP users as contacts in Nextcloud and see the personal data they shared
GNU Affero General Public License v3.0
18 stars 12 forks source link

ldapcontacts problem #24

Closed caroberto6 closed 4 years ago

caroberto6 commented 6 years ago

Hi,

the application doesn't work for us with the newest version of app and Nextcloud (I had the same problem with previous versions, too).

When I click on the app icon, I got the following error message:

This page isn’t working nextcloud.giganet.hu is currently unable to handle this request. HTTP ERROR 500

And I can't see any option on the setting page just circling hourglass icons: image

Any guess what the problem is?

Best regards, Robert

alexhor commented 6 years ago

What does your nextcloud log say? What is your setup (web-/ ldapserver / OS)?

caroberto6 commented 6 years ago

log messages:

setup: webserver: apache 2.4.10 ldapserver: samba4 OS: Debian 8

alexhor commented 6 years ago

That looks like your are not using php 7? Sorry, I should put that in the requirements. I am using some new operators, introduced in php 7.

caroberto6 commented 6 years ago

Yes, you got it, we use 5.6.33. Thanks for the help we are going to update it.

Have a nice day!

caroberto6 commented 6 years ago

Hi,

now the settings page works, but I can't get the users. Now the contacts page has the circling hourglass icons.

I deleted all the unnecessary LDAP user attributes and changed the LDAP attributes as I found in our LDAP config. image

We can login into Nextlcou with LDAP, so the system works but I miss some LDAPcontacts settings I guess. Any idea how to continue?

Nextcloud log: Error PHP ldap_search(): Search: Operations error at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#254 2018-02-26T11:10:34+0100
Error PHP Invalid argument supplied for foreach() at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#751 2018-02-26T11:10:34+0100
Error PHP ldap_search(): Search: Operations error at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#254 2018-02-26T11:10:34+0100
Error PHP ldap_search(): Search: Operations error at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#254 2018-02-26T11:10:34+0100
Error PHP ldap_search(): Search: Operations error at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#254 2018-02-26T11:10:34+0100
Error PHP Invalid argument supplied for foreach() at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#674 2018-02-26T11:10:34+0100
Error PHP ldap_search(): Search: Operations error at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#254 2018-02-26T11:10:34+0100
Error PHP Invalid argument supplied for foreach() at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#674 2018-02-26T11:10:34+0100
Error PHP ldap_search(): Search: Operations error at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#254 2018-02-26T11:10:34+0100
Error PHP Invalid argument supplied for foreach() at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#696 2018-02-26T11:10:34+0100
Error PHP ldap_search(): Search: Operations error at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#254 2018-02-26T11:10:34+0100
Error PHP Invalid argument supplied for foreach() at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#674 2018-02-26T11:10:34+0100
Error PHP ldap_search(): Search: Operations error at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#254 2018-02-26T11:10:34+0100
Error PHP Invalid argument supplied for foreach() at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#696 2018-02-26T11:10:34+0100
Error PHP ldap_search(): Search: Operations error at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#254 2018-02-26T11:10:34+0100
Error PHP Invalid argument supplied for foreach() at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#674 2018-02-26T11:10:34+0100
Error PHP ldap_search(): Search: Operations error at /var/www/html/nextcloud/apps/ldapcontacts/lib/Controller/ContactController.php#254 2018-02-26T11:10:34+0100

logs:

alexhor commented 6 years ago

I'll have a look at this at the end of the coming week

caroberto6 commented 6 years ago

Cool, thank you!

caroberto6 commented 6 years ago

Hi Alex,

do you have some idea how to continue with the setting?

thanks in advance, Robert

alexhor commented 4 years ago

The app uses Nextclouds internal ldap search now, so this should be resolved.