bpcurse / nextcloud-userexport

PHP script to export and filter lists (users, groups and groupfolders) using different Nextcloud APIs
The Unlicense
11 stars 3 forks source link

No menu options #60

Open konfiv opened 3 years ago

konfiv commented 3 years ago

Hi, after successful connection to server, it does not show the menu options.

    Server
    Users
    Groups
    Groupfolders
    Email
    Statistics
    Logout
    Nextcloud Userexport v1.2.1

   Connected to server: www.example.com/nextcloud/ ✔
   Downloaded: xx users and xx groups in 9.9 seconds
   Timestamp: 2021-06-10T23:03:41+02:00
   You can now access all menu options

What it needs to do? Thanks.

EDIT: the links at www.example.com/nextcloud/index.php for e.g. "Users" were like this: www.example.com/nextcloud/index.php/users.php Than I used manually: www.example.com/nextcloud/users.php (That is working) After logout and new login, the menu options are working as they should. Thanks!

bpcurse commented 3 years ago

Thank you for reporting this issue. To better understand/recreate what is going on, could you please add which Browser/Version/OS you are using and which Version of PHP? The Webserver config could play a role, too.

Edit: After thinking it through, the webserver config is probably the culprit here. I do recommend in general to use a subdomain like export.yourdomain.com (if possible). That should make things easier. As you stated correctly the path should be /users.php without /index.php/ preceding it.