@phip1611 opened this Issue on January 10th 2017

As you can see in the screenshot instead of rendered HTML it displays raw html.

Maybe this helps you, HTML-ID/Classes of the notification box that is affected:

<div id="notificationContainer">
<div piwik-notification="" notification-id="CorePluginsAdmin_InstallPlugin" context="error" type="persistent" class="ng-scope ng-isolate-scope" style=""><div class="notification system notification-error">
    <!-- ngIf: !noclear --><button type="button" class="close ng-scope" data-dismiss="alert" ng-if="!noclear" ng-click="notification.markNotificationAsRead()">×</button><!-- end ngIf: !noclear -->
    <!-- ngIf: title -->

    <!-- ng-transclude causes directive child elements to be added here -->
    <div ng-transclude=""><span class="ng-scope">&lt;p&gt;&lt;b&gt;Piwik couldn't write to some directories &lt;/b&gt;.&lt;/p&gt;&lt;p&gt;Try to Execute the following commands on your server, to allow Write access on these directories:&lt;/p&gt;&lt;blockquote&gt;&lt;code&gt;chown -R w0104138:w0104138 ****&lt;/code&gt;&lt;br /&gt;&lt;code&gt;chmod -R 0755 ***/plugins&lt;/code&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;p&gt;If this doesn't work, you can try to create the directories with your FTP software, and set the CHMOD to 0755 (or 0777 if 0755 is not enough). To do so with your FTP software, right click on the directories then click permissions.&lt;/p&gt;&lt;p&gt;After applying the modifications, you can &lt;a href='index.php'&gt;refresh the page&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;If you need more help, try &lt;a href='?module=Proxy&amp;action=redirect&amp;url=http://piwik.org'&gt;Piwik.org&lt;/a&gt;.&lt;/p&gt;</span></div>


@mattab commented on February 20th 2017 Owner

Hi @phip1611

Do you know how to reproduce this issue?

@phip1611 commented on February 20th 2017

Disable write access to plugins directory should reproduce it.

@mattab commented on February 22nd 2017 Owner

I tried but was not able to reproduce it. Could you maybe check how to reproduce this one? thanks

@sgiehl commented on September 10th 2017 Member

I was able to reproduce that. Will issue a PR to fix it

This Issue was closed on September 11th 2017
Powered by GitHub Issue Mirror