I did try that.. other things are broken too. Thanks any info will be appreciated though.
Remo > On Sep 16, 2018, at 16:02, Jaime Lerner <[email protected]> wrote: > > I could look at the script at admin.inc.php. You just need to use > preg_replace as the function instead of ereg_replace. Would be a quick fix > there to manually change it until Eric updates everything. The notice in the > index.php shouldn't cause an immediate issue, but the fatal error breaks the > admin.inc.php script. > > From: Remo Mattei <[email protected] <mailto:[email protected]>> > Reply-To: <[email protected] > <mailto:[email protected]>> > Date: Sunday, September 16, 2018 at 6:11 PM > To: <[email protected] > <mailto:[email protected]>> > Subject: [qmailtoaster] Php 7.x issues with qmailtoaster.. > > Hello guys, I do not use the UI much but I just noticed that one of my qmail > is running php 7.x and here is the logs > > [Sun Sep 16 16:08:45.521413 2018] [:error] [pid 30232] [client > 172.10.163.251:49668] PHP Notice: Undefined index: oldpasswd in > /usr/share/toaster/htdocs/admin/index.php on line 79, referer: > https://qmail.rm.ht/mail/vqadmin/toaster.vqadmin > <https://qmail.rm.ht/mail/vqadmin/toaster.vqadmin> > [Sun Sep 16 16:08:45.521479 2018] [:error] [pid 30232] [client > 172.10.163.251:49668] PHP Notice: Undefined index: newpasswd in > /usr/share/toaster/htdocs/admin/index.php on line 79, referer: > https://qmail.rm.ht/mail/vqadmin/toaster.vqadmin > <https://qmail.rm.ht/mail/vqadmin/toaster.vqadmin> > [Sun Sep 16 16:08:45.521501 2018] [:error] [pid 30232] [client > 172.10.163.251:49668] PHP Notice: Undefined index: newpasswd2 in > /usr/share/toaster/htdocs/admin/index.php on line 79, referer: > https://qmail.rm.ht/mail/vqadmin/toaster.vqadmin > <https://qmail.rm.ht/mail/vqadmin/toaster.vqadmin> > [Sun Sep 16 16:08:45.521712 2018] [:error] [pid 30232] [client > 172.10.163.251:49668] PHP Fatal error: Uncaught Error: Call to undefined > function ereg_replace() in /usr/share/toaster/include/admin.inc.php:15\nStack > trace:\n#0 /usr/share/toaster/include/admin.inc.php(39): > read_file('/usr/share/toas...')\n#1 > /usr/share/toaster/include/admin.inc.php(59): verify_old_password(NULL)\n#2 > /usr/share/toaster/include/admin.inc.php(93): change_admin_password(NULL, > NULL, NULL)\n#3 /usr/share/toaster/htdocs/admin/index.php(79): > print_change_passwd(NULL, NULL, NULL)\n#4 {main}\n thrown in > /usr/share/toaster/include/admin.inc.php on line 15, referer: > https://qmail.rm.ht/mail/vqadmin/toaster.vqadmin > <https://qmail.rm.ht/mail/vqadmin/toaster.vqadmin> > > > Anyhow, if anyone has any suggestions maybe I can try that out.. Not sure if > Eric has a plan to update this to php 7.x > > Ciao >
signature.asc
Description: Message signed with OpenPGP
