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

Raw html-output of error-message instead of rendered html #11172

Closed
phip1611 opened this issue Jan 10, 2017 · 4 comments · Fixed by #12020
Closed

Raw html-output of error-message instead of rendered html #11172

phip1611 opened this issue Jan 10, 2017 · 4 comments · Fixed by #12020
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@phip1611
Copy link

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>

unbenannt

@mattab mattab added this to the 3.0.2 milestone Feb 18, 2017
@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Feb 18, 2017
@mattab mattab removed this from the 3.0.2 milestone Feb 19, 2017
@mattab
Copy link
Member

mattab commented Feb 20, 2017

Hi @phip1611

Do you know how to reproduce this issue?

@mattab mattab added this to the Priority Backlog (Help wanted) milestone Feb 20, 2017
@mattab mattab added the Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. label Feb 20, 2017
@phip1611
Copy link
Author

Disable write access to plugins directory should reproduce it.

@mattab
Copy link
Member

mattab commented Feb 22, 2017

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

@sgiehl
Copy link
Member

sgiehl commented Sep 10, 2017

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

@sgiehl sgiehl removed the Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. label Sep 10, 2017
@sgiehl sgiehl self-assigned this Sep 10, 2017
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants