Page 1 of 1

Update from 2.25.2 to 2.25.6 causes white screen on issue delete

Posted: 13 Mar 2023, 18:09
by mushu

Re: Update from 2.25.2 to 2.25.6 causes white screen on issue delete

Posted: 13 Mar 2023, 21:11
by SL-Gundam
I'm failing to reproduce this on MantisBT 2.26.0-dev and EmailReporting 0.11.0-DEV

Please update to EmailReporting 0.11.0-DEV and see whether it still happens.

Also MantisBT seems to request a minimum of PHP 7.0
https://www.mantisbt.org/docs/master/en ... e.versions
Please update PHP as well.

Re: Update from 2.25.2 to 2.25.6 causes white screen on issue delete

Posted: 13 Mar 2023, 21:15
by mushu
Ugh, what a pain due to the templating code changes. Hope I can track down everything that needs to be updated between versions.

Re: Update from 2.25.2 to 2.25.6 causes white screen on issue delete

Posted: 13 Mar 2023, 21:18
by mushu
Also, just a note that on the Production server, here is the Mantis info so it very well could be an old version of php causing the issue on the DEV server:

Code: Select all

MantisBT Version	2.25.2
Schema Version	211
PHP Version	7.4.14
Database Driver	mysqli
Database Version, Description	5.7.17, 5.7.17-log

Re: Update from 2.25.2 to 2.25.6 causes white screen on issue delete

Posted: 13 Mar 2023, 21:20
by SL-Gundam
Just to be sure i checked the requirements for 2.25.
They are still PHP 5.5.x.
So maybe updating EmailReporting is enough.

Re: Update from 2.25.2 to 2.25.6 causes white screen on issue delete

Posted: 13 Mar 2023, 21:25
by mushu
Will report back after that is done, probably be tomorrow since it's such a pain. Wish they'd build in a templating system and oauth support in the main program.

Re: Update from 2.25.2 to 2.25.6 causes white screen on issue delete

Posted: 13 Mar 2023, 21:27
by SL-Gundam
You can always push the desired changes yourself.
Incomplete changes could also be helpful since other could provide further input or finish the work.

Re: Update from 2.25.2 to 2.25.6 causes white screen on issue delete

Posted: 13 Mar 2023, 21:35
by mushu
Where do I find version 11-beta? Here is all I see on the git site:
emr.jpg
emr.jpg (22.29 KiB) Viewed 60027 times

Re: Update from 2.25.2 to 2.25.6 causes white screen on issue delete

Posted: 13 Mar 2023, 23:11
by mushu
Okay, that might have been the problem. Boy there were a LOT of changes from v10 to v11 in your plugin.

I grabbed all files modified within 3 or 4 years ago and updated my current files, saving the old ones renamed just in case, on the Dev server. Interestingly, the EmailReplyParser directory and contents did not exist in my version?!

Then I uninstalled via menu and reinstalled the EmailReporting plugin in Mantis. Then I created a new test ticket and from within the ticket I deleted it. And it worked perfectly without an error and did not show a white screen but showed the current list of tickets like it should.

There were a lot of files I had to update from the prior version. Now I need to do file compares and copy the code changes to make the templates work in this new version.

Re: Update from 2.25.2 to 2.25.6 causes white screen on issue delete

Posted: 14 Mar 2023, 20:45
by SL-Gundam
EmailReplyParser is new for version 0.11.0