Update from 2.25.2 to 2.25.6 causes white screen on issue delete

This plugin allows you to report an issue in MantisBT by sending an email to a particular mail account

Moderators: Developer, Contributor

Post Reply
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

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

Post 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.
Last edited by SL-Gundam on 13 Mar 2023, 21:16, edited 1 time in total.
mushu
Posts: 349
Joined: 04 Jan 2017, 17:41

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

Post 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.
mushu
Posts: 349
Joined: 04 Jan 2017, 17:41

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

Post 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
Last edited by mushu on 13 Mar 2023, 21:24, edited 1 time in total.
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

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

Post 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.
mushu
Posts: 349
Joined: 04 Jan 2017, 17:41

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

Post 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.
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

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

Post 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.
mushu
Posts: 349
Joined: 04 Jan 2017, 17:41

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

Post 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 60041 times
mushu
Posts: 349
Joined: 04 Jan 2017, 17:41

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

Post 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.
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

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

Post by SL-Gundam »

EmailReplyParser is new for version 0.11.0
Post Reply