View Issue Details

IDProjectCategoryView StatusLast Update
0000532WackoWikiinstallerpublic2019-10-12 10:34
Reporteradministrator Assigned Toadministrator  
PrioritynormalSeverityminorReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version5.5.0 
Target Version5.5.14Fixed in Version5.5.14 
Summary0000532: mod_rewrite for config_defaults gets not detected if apache_get_modules is not available
Descriptionduring a new installation the router may does not load CSS and images until config.php is written, WHY?

-> apache_get_modules is not available

function apache_get_modules is used to detect mod_rewrite, but this is not reliable way, because this works only when PHP is installed as an Apache module. So it doesn't work with fastCGI, FPM or nginx configurations.
Steps To ReproduceNot working:
class/urirouter.php:78: ['vars' => ['_install' => 1, '_uri' => 'setup/css/installer.css', '_method' => 'GET', '_rewrite' => 0, '_tls' => true, '_ip' => '10.10.0.1'], 'changed' => [], '_GET' => [], '_POST' => []]
class/urirouter.php:80: -> ['vars' => ['_install' => 1, '_uri' => '', '_method' => 'GET', '_rewrite' => 0, '_tls' => true, '_ip' => '10.10.0.1', '_line' => 117, 'route' => 'install', 'age' => '30', 'static' => '', '_ok' => 1, 'unlock' => '1'], 'changed' => ['vars' => ['_uri' => '', 'route' => 'install', 'age' => '30', 'static' => '', '_ok' => 1, 'unlock' => '1'], '_GET' => ['page' => NULL]], '_GET' => [], '_POST' => [], 'match' => [''], 'sub' => []]

Working:
class/urirouter.php:78: ['vars' => ['_install' => 0, '_uri' => 'setup/css/installer.css', '_method' => 'GET', '_rewrite' => true, '_tls' => true, '_ip' => '10.10.0.1'], 'changed' => [], '_GET' => [], '_POST' => []]
class/urirouter.php:80: -> ['vars' => ['_install' => 0, '_uri' => 'setup/css/installer.css', '_method' => 'GET', '_rewrite' => true, '_tls' => true, '_ip' => '10.10.0.1', '_line' => 114, 'route' => 'static', 'age' => '30', 'static' => 'setup/css/installer.css', '_ok' => 1, 'unlock' => '1'], 'changed' => ['vars' => ['_uri' => 'setup/css/installer.css', 'route' => 'static', 'age' => '30', 'static' => 'setup/css/installer.css', '_ok' => 1, 'unlock' => '1']], '_GET' => [], '_POST' => [], 'match' => ['setup/css/installer.css', 'css', 'installer.css'], 'sub' => []]

TagsNo tags attached.

Issue History

Date Modified Username Field Change
2019-10-12 10:29 administrator New Issue
2019-10-12 10:29 administrator Status new => assigned
2019-10-12 10:29 administrator Assigned To => administrator
2019-10-12 10:30 administrator Status assigned => resolved
2019-10-12 10:30 administrator Resolution open => fixed
2019-10-12 10:30 administrator Fixed in Version => 5.5.14
2019-10-12 10:30 administrator Note Added: 0001057
2019-10-12 10:34 administrator Description Updated