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

Folder menu is not visible from Webgui / no search entries when folders enabled #100

Closed
vmario89 opened this issue Jul 24, 2024 · 6 comments · Fixed by #105
Closed

Folder menu is not visible from Webgui / no search entries when folders enabled #100

vmario89 opened this issue Jul 24, 2024 · 6 comments · Fixed by #105
Assignees

Comments

@vmario89
Copy link
Contributor

Hi,

the route /index.php?route=folder/list can be accessed manually, but is hidden from GUI, even when enabled in piler.conf, manticore.conf and config-site.php

is there any trick to add this as a sub menu button? otherwise i need to use a bookmark to access

additionally there's a bug with folders: when enabled in config-site.php, existing mails are not shown. The search result is ALWAYS empty. as soon as i set $config['ENABLE_FOLDER_RESTRICTIONS'] = 0; it works again

@vmario89
Copy link
Contributor Author

i dont unterstand the concept of folders. When adding a folder as admin user, it works. When logging in as auditor then, the created folder is not visible. When trying to add a new folder a auditor, this fails

creating a new folder als regular user works.

as soons there is one directory existing, the search result view seems to work properly again

@vmario89
Copy link
Contributor Author

the search function cannot search for folders

@vmario89
Copy link
Contributor Author

i will deactivate that function again. It would be useful to hide that menu when folder option is disabled. in default state (disabled), the following is still seen by admin user:

grafik

thats the reason i started to play with the folder feature

@vmario89
Copy link
Contributor Author

vmario89 commented Jul 24, 2024

created folders cannot be deleted again. the gui does not return an error. also piler service has no log output about it. had to remove by sql:

mysql -uroot

DELETE FROM folder;
DELETE FROM folder_message;
DELETE FROM folder_user;

@vmario89
Copy link
Contributor Author

maybe some helpul log line from nginx:
2024/07/24 10:16:37 [error] 46511#46511: *1470 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "folder_id" in /mnt/storagespace/piler/www/model/folder/folder.php on line 214" while reading response header from upstream, client: 192.168.16.201, server: myhost.de, request: "POST /message.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.3-fpm.sock:", host: "myhost.de", referrer: "https://myhost.de/search.php"

@jsuto
Copy link
Owner

jsuto commented Jul 24, 2024

Well, the folder feature is not a well thought out one, and I got different conflicting requests, so I've decided not to work on it any longer. I suggest not to use it.

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

Successfully merging a pull request may close this issue.

2 participants