• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Piwik layout problems after Plesk 11.5 to 12.0.18 update

Status
Not open for further replies.

kondrich

New Pleskian
Hi,

after updating Plesk 11.5 to 12.0.18 (Windows) our Piwik Dashboard is not shown correctly any more, since all .less files and several .png files are not retrievable any more (HTTP 404).

Firefox' network analysis shows the following requested address for such files:
http://analytics.ulc-moedling.at/:/.../plugins/Morpheus/stylesheets/ui/_charts.less

However, it should be:
http://analytics.ulc-moedling.at/plugins/Morpheus/stylesheets/ui/_charts.less
If you enter this address in your browser's address bar, the file is correctly displayed.

So, what's the problem after switching to Plesk 12 that there is a part of the physical file name in the URL of some Piwik files (please note that the drive letter c is actually missing in the paths).

Piwik Dashboard looks like this right now (rather unusable):
Piwik Layout Fehler.jpg


Version information:
Piwik 2.3.0 during Plesk update. After realizing this problem, I updated Piwik to 2.4.0-b3 aktualisiert, but it did not solve the problem.
PHP 5.4 under Plesk 11.5, after Plesk 12 update 5.5. I switched the site back to 5.4 for testing purposes, but it did not help either.
Windows Server 2008 R2 and IIS7.5
 
Last edited:
Problem solved!

Problem solved: The reason for this was changed security that came with Plesk 12: Piwik is calling php function realpath() for resolution of file paths. This function requires that the anonymous website user has read rights granted on the folder ABOVE the piwik installation.
However, the new user IWPG_username - introduced with Plesk 12 - did not have read rights granted on the C:\inetpub\vhosts\myroot folder (deprecated IUSR_username was assigned there, but did not have any rights anymore).
I had to manually grant read rights to IWPG_username on this root folder in Windows Explorer security dialogue.

This issue was already discussed here:
http://forum.piwik.org/read.php?2,73949
http://forums.iis.net/t/1153823.aspx

I suppose this may be useful for Plesk team members and other users.

Regards, Klaus
 
Thank you. I have forwarded your solution to responsible person.
 
Status
Not open for further replies.
Back
Top