Roundcube Community Forum

SVN Releases => Issues & Bugs => Topic started by: asemen on September 19, 2017, 08:02:07 AM

Title: roundcube show blank page
Post by: asemen on September 19, 2017, 08:02:07 AM
After update to roundcubemail 1.2.5 I do get an blank page.

In apache error log it says

 [php5:error]  PHP Parse error:  syntax error, unexpected '$config' (T_VARIABLE) in /etc/roundcubemail/defaults.inc.php on line 378

Where to look into?
What to check?


Title: Re: roundcube show blank page
Post by: asemen on September 19, 2017, 08:23:02 AM
in /etc/roundcubemail/defaults.inc.php on line 378

there is:

$config['auto_create_user'] = true;

by disable this it continues to the next config

$config['user_aliases'] = false;
Title: Re: roundcube show blank page
Post by: JohnDoh on September 20, 2017, 02:32:12 AM
You should not edit the content of defaults.inc.php because this file should be replaced during any upgrade. You should put your config vars in to config.inc.php. The contents of config.inc.php overrides defaults.inc.php.

PHP says the error is unexpected variable on line 378 so the error is probably in the provious line. Note: I mean the previous line of PHP not the comments.