I thought I'd test the 2.2.1 release on my test system.
I'm running CentOS 7.2 with the vendor provided PHP 5.4 packages with vendor provided apache 2.4
the database is MariaDB 5.5
I've configured the vexim databsae from scratch using the provided mysql.sql script, which works well as always, I updated it with the correct UID's and password changes.
I've updated variables.php to mirror the setup of the db.
The admin pages loads fine, and the login as siteadmin for the first time fails.
The apache error logs for the domain show the following
Thu Jul 21 09:22:59.083189 2016] [:error] [pid 11602] [client
88.97.208.57:54506] PHP Notice: Undefined index: realname in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 63
[Thu Jul 21 09:22:59.083230 2016] [:error] [pid 11602] [client
88.97.208.57:54506] PHP Notice: Undefined index: localpart in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 65
[Thu Jul 21 09:22:59.083236 2016] [:error] [pid 11602] [client
88.97.208.57:54506] PHP Notice: Undefined variable: _SESSION in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 65
[Thu Jul 21 09:22:59.083241 2016] [:error] [pid 11602] [client
88.97.208.57:54506] PHP Notice: Undefined variable: _SESSION in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 66
[Thu Jul 21 09:22:59.083246 2016] [:error] [pid 11602] [client
88.97.208.57:54506] PHP Notice: Undefined variable: _SESSION in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 67
[Thu Jul 21 09:22:59.083251 2016] [:error] [pid 11602] [client
88.97.208.57:54506] PHP Notice: Undefined index: domain in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 71
[Thu Jul 21 09:22:59.084127 2016] [:error] [pid 11602] [client
88.97.208.57:54506] PHP Notice: Undefined variable: domheaderrow in /srv/www/mailtest.internal/public_html/adm/mail/config/header.php on line 15
[Thu Jul 21 09:22:59.084142 2016] [:error] [pid 11602] [client
88.97.208.57:54506] PHP Notice: Undefined variable: domheaderrow in /srv/www/mailtest.internal/public_html/adm/mail/config/header.php on line 15
[Thu Jul 21 09:22:59.084147 2016] [:error] [pid 11602] [client
88.97.208.57:54506] PHP Notice: Undefined variable: usrheaderrow in /srv/www/mailtest.internal/public_html/adm/mail/config/header.php on line 17
[Thu Jul 21 09:22:59.084150 2016] [:error] [pid 11602] [client
88.97.208.57:54506] PHP Notice: Undefined variable: usrheaderrow in /srv/www/mailtest.internal/public_html/adm/mail/config/header.php on line 17
[Thu Jul 21 09:22:59.084157 2016] [:error] [pid 11602] [client
88.97.208.57:54506] PHP Notice: Undefined index: login in /srv/www/mailtest.internal/public_html/adm/mail/config/header.php on line 86
[Thu Jul 21 09:22:59.084702 2016] [:error] [pid 11602] [client
88.97.208.57:54506] PHP Notice: Undefined index: login in /srv/www/mailtest.internal/public_html/adm/mail/index.php on line 60
[Thu Jul 21 09:23:08.836144 2016] [:error] [pid 11604] [client
88.97.208.57:54510] PHP Notice: Undefined index: realname in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 63, referer:
http://mailtest.internal/adm/mail/[Thu Jul 21 09:23:08.836178 2016] [:error] [pid 11604] [client
88.97.208.57:54510] PHP Notice: Undefined variable: _SESSION in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 65, referer:
http://mailtest.internal/adm/mail/[Thu Jul 21 09:23:08.836185 2016] [:error] [pid 11604] [client
88.97.208.57:54510] PHP Notice: Undefined variable: _SESSION in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 66, referer:
http://mailtest.internal/adm/mail/[Thu Jul 21 09:23:08.836189 2016] [:error] [pid 11604] [client
88.97.208.57:54510] PHP Notice: Undefined variable: _SESSION in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 67, referer:
http://mailtest.internal/adm/mail/[Thu Jul 21 09:23:08.953332 2016] [:error] [pid 11604] [client
88.97.208.57:54510] PHP Notice: Undefined index: realname in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 63, referer:
http://mailtest.internal/adm/mail/[Thu Jul 21 09:23:08.953353 2016] [:error] [pid 11604] [client
88.97.208.57:54510] PHP Notice: Undefined index: localpart in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 65, referer:
http://mailtest.internal/adm/mail/[Thu Jul 21 09:23:08.953358 2016] [:error] [pid 11604] [client
88.97.208.57:54510] PHP Notice: Undefined variable: _SESSION in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 65, referer:
http://mailtest.internal/adm/mail/[Thu Jul 21 09:23:08.953375 2016] [:error] [pid 11604] [client
88.97.208.57:54510] PHP Notice: Undefined variable: _SESSION in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 66, referer:
http://mailtest.internal/adm/mail/[Thu Jul 21 09:23:08.953381 2016] [:error] [pid 11604] [client
88.97.208.57:54510] PHP Notice: Undefined variable: _SESSION in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 67, referer:
http://mailtest.internal/adm/mail/[Thu Jul 21 09:23:08.953386 2016] [:error] [pid 11604] [client
88.97.208.57:54510] PHP Notice: Undefined index: domain in /srv/www/mailtest.internal/public_html/adm/mail/config/variables.php on line 71, referer:
http://mailtest.internal/adm/mail/[Thu Jul 21 09:23:08.954033 2016] [:error] [pid 11604] [client
88.97.208.57:54510] PHP Notice: Undefined variable: domheaderrow in /srv/www/mailtest.internal/public_html/adm/mail/config/header.php on line 15, referer:
http://mailtest.internal/adm/mail/[Thu Jul 21 09:23:08.954046 2016] [:error] [pid 11604] [client
88.97.208.57:54510] PHP Notice: Undefined variable: domheaderrow in /srv/www/mailtest.internal/public_html/adm/mail/config/header.php on line 15, referer:
http://mailtest.internal/adm/mail/[Thu Jul 21 09:23:08.954051 2016] [:error] [pid 11604] [client
88.97.208.57:54510] PHP Notice: Undefined variable: usrheaderrow in /srv/www/mailtest.internal/public_html/adm/mail/config/header.php on line 17, referer:
http://mailtest.internal/adm/mail/[Thu Jul 21 09:23:08.954055 2016] [:error] [pid 11604] [client
88.97.208.57:54510] PHP Notice: Undefined variable: usrheaderrow in /srv/www/mailtest.internal/public_html/adm/mail/config/header.php on line 17, referer:
http://mailtest.internal/adm/mail/My initial thought on this is that the database could not be accessed.
I manually connected to the database using the same information in the variables.php from the same physical host, and that was successful.
I'm not a PHP developer, and i've had a similar problem before on this same setup (although different physical box) when adding domains, which was fixed with a code change.
A pointer in the right direction would be appreciated, looking at all the missing variables, it really suggests to me it's not talking to the database.
thanks.
Matt