Page MenuHomePhabricator

Default logo config by installer doesn't show the logo
Closed, DuplicatePublic

Description

Fresh install of 1.26, the logo doesn't work... Docroot set as /var/www in apache config, mw in w folder, accessed and installed from this dir

GET http://10.0.100.174/resources/assets/wiki.png 404 (Not Found)

In LocalSettings.php we see

$wgScriptPath = "/w";

## The protocol and server name to use in fully-qualified URLs
$wgServer = "http://10.0.100.174";

#var_dump( $wgResourceBasePath ); die();
## The relative URL path to the logo.  Make sure you change this from the default,
## or else you'll overwrite your logo when you upgrade!
$wgLogo = "$wgResourceBasePath/resources/assets/wiki.png";

$wgResourceBasePath is null at this point, not set in LocalSettings.php. Should the substitution wait till later? (ie not use "", and then str_replace? Or should the installer be settings $wgResourceBasePath?). Not using a w subdir under the docroot would mean that it would work by fluke, rather than design

Event Timeline

Reedy created this task.Nov 1 2015, 12:12 AM
Reedy raised the priority of this task from to Needs Triage.
Reedy updated the task description. (Show Details)
Reedy added a project: MediaWiki-Installer.
Reedy added a subscriber: Reedy.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 1 2015, 12:12 AM
Reedy updated the task description. (Show Details)Nov 1 2015, 12:13 AM
Reedy set Security to None.
Reedy renamed this task from Default logo is broken by installer to Default logo config by installer doesn't show the logo.Nov 1 2015, 12:16 AM

I think this was fixed last week as part of T116374. Are you still seeing it on latest master?