Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logo with wrong path #2511

Closed
anonymous-matomo-user opened this issue Jun 23, 2011 · 5 comments
Closed

Logo with wrong path #2511

anonymous-matomo-user opened this issue Jun 23, 2011 · 5 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.
Milestone

Comments

@anonymous-matomo-user
Copy link

An uploaded brand logo is not shown. My web root path is set do htdocs/joomla for the domain (train4media.de/piwik is /htdocs/joomla/piwik), but Piwik looks for train4media.de/joomla/piwik/themes/logo-header.png. So please use a relative path.

@sgiehl
Copy link
Member

sgiehl commented Jun 24, 2011

Might be a problem in Piwik::getCurrentScriptName(), as this method is used to display the logo.

Could you please look if PATH_INFO and/or REQUEST_URI is available in $_SERVER on your server and which value they contain within the piwik path?

@robocoder
Copy link
Contributor

Fixed in [4944].

@robocoder
Copy link
Contributor

Marking this as a dupe of #2497.

@anonymous-matomo-user
Copy link
Author

Hi,

_SERVER["REQUEST_URI"] exists, PATH_INFO not.

@robocoder
Copy link
Contributor

Magister: the code in Url.php works correctly; if $_SERVER['PATH_INFO'] is not set, it falls back to $_SERVER['REQUEST_URI'].

You need to update the cached URL. After applying the patches in [and 4946, try re-uploading the logo. Or manually poke your piwik_option table, changing the option_value for the row with option_name = 'piwikUrl'.

@anonymous-matomo-user anonymous-matomo-user added this to the 1.5.1 Piwik 1.5.1 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

3 participants