Unable to upgrade to Mahara 18.10.0 on windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned | ||
18.10 |
Fix Released
|
High
|
Unassigned | ||
19.04 |
Fix Released
|
High
|
Unassigned |
Bug Description
Hi,
I was trying to upgrade my existing 18.04.2 Mahara installation to latest 18.10.0 on my windows environment server. However I am getting "Mahara: Site unavailable
A nonrecoverable error occurred. This probably means you have encountered a bug in the system " error when I visit http://
To debug this further, I had uncommented $cfg->productio
I guess this is happening because of "if (strpos(PHP_OS, 'WIN') !== false && $baseDir !== null)" condition. Instead of this if I replace false with 0 i.e "if (strpos(PHP_OS, 'WIN') !== 0 && $baseDir !== null)" the upgrade works fine.
Can you please confirm is this the known issue ? Or am I missing on something ?
Changed in mahara: | |
status: | New → In Progress |
importance: | Undecided → High |
milestone: | none → 19.04.0 |
Hi James
This does indeed sound like an error in the code.
I will make a patch to fix this
Cheers
Robert