Author Topic: roundcube show blank page  (Read 5410 times)

Offline asemen

  • Newbie
  • *
  • Posts: 2
roundcube show blank page
« 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?



Offline asemen

  • Newbie
  • *
  • Posts: 2
Re: roundcube show blank page
« Reply #1 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;

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,845
Re: roundcube show blank page
« Reply #2 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.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦