Web interface not working after auto-update
Posted: 09 Nov 2017 17:56
Our server auto-updated a few days ago, despite that feature being turned off (it's not the first time this has happened either).
Now on 3.0.2.5, we can't get into the web interface. When browsing to /status.php we get this:
Any idea where to start troubleshooting?
Now on 3.0.2.5, we can't get into the web interface. When browsing to /status.php we get this:
Code: Select all
// Define MailWatch logo name define('MW_LOGO', 'mailwatch-logo.png'); // Define language (de, en, fr, it, nl, pt_br); // See http://www.lingoes.net/en/translator/langcode.htm define('LANG', 'en'); // Optional: If USER_SELECTABLE_LANG is defined and the value contains more than one language then the user gets a dropdown // in the gui to change the language of his browser. The selectable languages are defined as a comma separated list. //define('USER_SELECTABLE_LANG', 'de,en,fr,it,nl,pt_br'); // Session Handling - conflicts can exist when the your environment makes use of multiple php sessions on the same server // to resolve this, uncomment the following option. See https://github.com/mailwatch/MailWatch/issues/730 for more info // define('SESSION_NAME', 'MailWatch'); // Session Timeout - Sets the global session timeout value, default is 600 sec (10 minutes) if not defined // Range is 0 to 99999 seconds. Setting to 0 will disable session timeout and active session statuses. // This can also be set individually per user in the MailWatch GUI for greater flexibility. //define('SESSION_TIMEOUT', 600); // Greylisting menu item define('SHOW_GREYLIST', true); // Hide Unknown Mail from quarantine reports define('HIDE_UNKNOWN', false); //Quarantine Auto Release //Set true to allow auto release of quarantined items from quarantine report define('AUTO_RELEASE', false); //Give Domain Admins ability to release dangerous content, like viruses define('DOMAINADMIN_CAN_RELEASE_DANGEROUS_CONTENTS', false); define('DOMAINADMIN_CAN_SEE_DANGEROUS_CONTENTS', false); /* Password Reset */ // Give users the ability to reset a forgotten password. define('PWD_RESET', false); // Number of hours link is valid for. define('RESET_LINK_EXPIRE',1); // Set the following 2 variables (and uncomment) if you wish to define // an alternative sender name and address for password resets. // NOTE: Both must be set, otherwise it will use the default settings. // define('PWD_RESET_FROM_NAME', 'Some other name'); // Set if you wish reset email sent from alternative name. // define('PWD_RESET_FROM_ADDRESS', 'support@yourdomain.com'); // Set is you wish reset email sent from alternative address. /* End Password Reset */ // Interval for the traffic chart for admins in minutes (default is 60, max 1440 (24h)) define('STATUSGRAPH_INTERVAL', 60); //Allow domain admins to create/edit/delete other domain admins from the same domain (not recommended, only for backward compatibility) //define('ENABLE_SUPER_DOMAIN_ADMINS',true); //Allow the username of domain admins and normal users to not be in mail format (not recommended, only for backward compatibility) //define('ALLOW_NO_USER_DOMAIN',true); The following conf.php mandatory entries are missing, check and compare your conf.php with conf.php.example.
- ALLOWED_TAGS
- AUDIT
- AUDIT_DAYS_TO_KEEP
- AUTO_RELEASE
- DATE_FORMAT
- DB_DSN
- DB_HOST
- DB_NAME
- DB_PASS
- DB_TYPE
- DB_USER
- DEBUG
etc...