webapp 500 internal server error
-
hello, im not sure if this is the right place but i hope someone can help.
I recently installed kopano on a new RHEL7 vm.
it seems everything is working fine except webapp.
i was able to install zpush and get email synced up to my phone, am able to send/rcv
however when i try to login to webapp, i get a 500 internal server error upon using correct login credentials.
incorrect login credentials presents me with an error and asks me to try again.
i have setup kopano to use ldap plugin for authentication with my ad server.
i cant find anything in the apache/kopano logs as to why this error is occuring, only that a 500 error is being logged.
the obvious stuff i found online like php memory limit, and selinux has already been checked.
im really at a loss why im getting a 500 error,… -
as i found in another post, i made the following change: webapp’s config.php error debugging to “E_ALL”
and the below error has showed itself:
PHP Parse error: syntax error, unexpected '===' (T_IS_IDENTICAL), expecting ',' or ';' in /usr/share/kopano-webapp/server/includes/loader.php on line 8 [Wed Jun 21 21:32:46.466933 2017] [headers:debug] [pid 4516] mod_headers.c(823): AH01502: headers: ap_headers_output_filter()
-
commenting this line out
// private $source = DEBUG_LOADER === LOAD_SOURCE;
in the file:
/usr/share/kopano-webapp/server/includes/loader.phpsolved the problem as a work-around
any ideas why this is occurring?
-
Hi ItzJustinN,
This should be fixed in the latest (master) version.
Related ticket:
https://jira.kopano.io/browse/KW-1599 -
hello, i have a few questions about the update.
first if i update kopano packages will this overwrite my current config files?
also what are the side effects (if any) to commenting this line out?
if there is no consequence, i may wait to update kopano at a later time. -
Hi ItzJustinN,
I can’t tell you the consequence.
But if you’re editing the file, why don’t you copy the fix? -
@ItzJustinN said in webapp 500 internal server error:
if i update kopano packages will this overwrite my current config files?
No, if the yum package-manager applies changes to config-files, modified files will be kept untouched and
updated (default)-configs will be created additionally, (usually) namedfoo.cfg.rpmnew
.
Thusdiff foo.cfg foo.cfg.rpmnew
will show you the relevant changes. -
@marty said in webapp 500 internal server error:
Hi ItzJustinN,
I can’t tell you the consequence.
But if you’re editing the file, why don’t you copy the fix?hello, i am not sure where to find the fixed config. could you advise?
-
I would still advice a normal upgrade though :)
-
i made the change and its working fine now.
i look forward to future kopano updates!