• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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