View Issue Details

IDProjectCategoryView StatusLast Update
0022144mantisbtinstallationpublic2017-01-09 10:07
Reporteratrol Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status newResolutionopen 
Summary0022144: Check content of configuration files
Description

Bad contents of files like config_inc.php, custom_strings_inc.php and custom_constants.php can lead to curious problems, e.g. 0022141

This is typically caused by

  • wrong encoding (UTF-8 with BOM) or
  • content (e.g. white space before first open PHP tag, white space after not needed closing PHP tag at the end of the file)

In addition to the documentation 0022143 we should add checks at least when running admin/check/index.php, maybe also when running the upgrade scripts.

A simple check that the first byte of the files contains character "<" would cover two of the mentioned cases.

TagsNo tags attached.

Relationships

related to 0022141 closedatrol UI Internet Explorer 11 issue if custom_strings_inc.php is used 
related to 0022143 closeddregad Encoding of custom files not documented 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-01-09 10:07 atrol New Issue
2017-01-09 10:07 atrol Relationship added related to 0022141
2017-01-09 10:07 atrol Relationship added related to 0022143