1 (edited by carlosdias98 2016-01-11 21:23:44)

Topic: internal server error - iredadmin

======== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.8.6
- Linux/BSD distribution name and version: FreeBSD 10.2-RELEASE-p2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:

[Mon Jan 11 10:52:48 2016] [error] [client 187.x.15.14]   File "/usr/local/www/iredadmin/libs/iredbase.py", line 163, in render_template
[Mon Jan 11 10:52:48 2016] [error] [client 187.x.15.14]     return jinja_env.get_template(template_name).render(context)
[Mon Jan 11 10:52:48 2016] [error] [client 187.x.15.14]   File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 989, in render
[Mon Jan 11 10:52:48 2016] [error] [client 187.x.15.14]     return self.environment.handle_exception(exc_info, True)
[Mon Jan 11 10:52:48 2016] [error] [client 187.x.15.14]   File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 754, in handle_exception
[Mon Jan 11 10:52:48 2016] [error] [client 187.x.15.14]     reraise(exc_type, exc_value, tb)
[Mon Jan 11 10:52:48 2016] [error] [client 187.x.15.14]   File "/usr/local/www/iredadmin/libs/../templates/default/macros/general.html", line 792, in template
[Mon Jan 11 10:52:48 2016] [error] [client 187.x.15.14]     {% macro display_per_user_wblist(values=[], htmlInputName, label) -%}
[Mon Jan 11 10:52:48 2016] [error] [client 187.x.15.14] TemplateSyntaxError: non-default argument follows default argument
[Mon Jan 11 10:52:48 2016] [error] [client 187.x.15.14]


====


Hello,

I have problem with iredadmin.

It's doens't open. I receive error:   "internal server error"

Best Regards,

Carlos Eduardo Dias

Post's attachments

Error.jpg 31.6 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: internal server error - iredadmin

A known bug, and fixed in the latest iRedAdmin.

If you don't want to upgrade iRedAdmin, please open file /usr/local/www/iredadmin/templates/default/macros/general.html, find below line:

{% macro display_per_user_wblist(values=[], htmlInputName, label) -%}

Remove "=[]" in this line.

That's all.