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,…
ItzJustinN last edited by ItzJustinN
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:
solved the problem as a work-around
any ideas why this is occurring?
This should be fixed in the latest (master) version.
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.
I can’t tell you the consequence.
But if you’re editing the file, why don’t you copy the fix?
umgfoin last edited by umgfoin
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) named
diff foo.cfg foo.cfg.rpmnewwill show you the relevant changes.
I would still advice a normal upgrade though :)
i made the change and its working fine now.
i look forward to future kopano updates!