View Issue Details

IDProjectCategoryView StatusLast Update
0004117Composrcorepublic2020-02-14 00:25
ReporterChris GrahamAssigned ToChris Graham 
Severitytrivial 
Status resolvedResolutionfixed 
Product Version10.0.30 
Fixed in Version10.0.31 
Summary0004117: Do not try to show nice errors during bootstrap
DescriptionIt is possible some kind of unexpected error could occur before bootstrapping finishes. If Composr then tries to render a full error screen it may fail.
An example is keep_mobile=whatever being passed. The static cache checks will look to see if mobile mode is set before serving a cached page. This happens during bootstrap, for performance reasons. However, if keep_mobile is given an invalid parameter, an error is shown, but Composr is not at a point it can render that error, so PHP bombs out.
Handle this using the critical error system instead.
TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open

Activities

admin

2020-02-14 00:25

administrator   ~0006396

Fixed in git commit 0193e1f98 (https://gitlab.com/composr-foundation/composr/commit/0193e1f98 - link will become active once code pushed to GitLab)

A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

hotfix-4117, 2020-02-14 12am.tar (65,024 bytes)

Issue History

Date Modified Username Field Change