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

List of Domains is empty #1109

Closed
MarkChr opened this issue Jul 15, 2016 · 5 comments
Closed

List of Domains is empty #1109

MarkChr opened this issue Jul 15, 2016 · 5 comments

Comments

@MarkChr
Copy link

MarkChr commented Jul 15, 2016

I have installed the standard Version (1.10.2.143) of Rainloop on my provider Webspace. Everything works fine, but after i have integrated 4 Email-Domains, i can't see in the admin panel and can't edit them. The List of Domains are empty, but they work! When i look with FTP Client on my webspace all Email-Domains are there and when i login with my user i can see all domains, but can only change the order and change password.

userpanel
adminpanel

Hope you understand me ... :-)

Regards Mark

@jarlave
Copy link

jarlave commented Aug 17, 2016

just want to say that I have the same problem, everything works, but the domains aren't showing up.
Version 1.10.3.151

@MarkChr
Copy link
Author

MarkChr commented Aug 30, 2016

UPDATE: today i've installed a fresh version of Rainloop (1.10.3.151) and when i've added a domain it was not listed or shown.

@vizv
Copy link

vizv commented Sep 19, 2016

Since nobody gives out an useful log for debugging, here is one.

2016/09/19 08:07:16 [error] 15#0: *1028 FastCGI sent in stderr: "PHP message: PHP Notice:  Use of undefined constant GLOB_BRACE - assumed 'GLOB_BRACE' in /rainloop/rainloop/v/1.10.3.151/app/libraries/RainLoop/Providers/Domain/DefaultDomain.php on line 329
PHP message: PHP Warning:  glob() expects parameter 2 to be integer, string given in /rainloop/rainloop/v/1.10.3.151/app/libraries/RainLoop/Providers/Domain/DefaultDomain.php on line 329
PHP message: PHP Warning:  Invalid argument supplied for foreach() in /rainloop/rainloop/v/1.10.3.151/app/libraries/RainLoop/Providers/Domain/DefaultDomain.php on line 331" while reading response header from upstream, client: 10.0.0.5, server: , request: "POST /?/Ajax/&q[]=/0/ HTTP/1.0", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "mail-web", referrer: "https://mail.vizv.com/?admin"

@vizv
Copy link

vizv commented Sep 19, 2016

So checked the code, this problem is caused by some OS doesn't support GLOB_BRACE, refer to zendframework/zend-stdlib#58 (comment), and http://php.net/manual/en/function.glob.php#refsect1-function.glob-notes.

Was introduced in 28a1254, and has already been fixed in 17669b7.

For 1.10.3.151, you can manually patch rainloop/v/1.10.3.151/app/libraries/RainLoop/Providers/Domain/DefaultDomain.php as https://github.com/RainLoop/rainloop-webmail/blob/master/rainloop/v/0.0.0/app/libraries/RainLoop/Providers/Domain/DefaultDomain.php#L329-L330, which should fix the problem.

@MarkChr
Copy link
Author

MarkChr commented Sep 20, 2016

It works for me - Thanks a lot!

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

3 participants