Template selection : empty and broken image

I’m running nextcloud 13.0.7 , and the docker image collabora/code available at the time of writing this.
When I create a new Office document, I get this:

Screenshot_2019-01-31%20Files%20-%20Nextcloud

The related HTML code is:

    <span>
    <img src="undefined" alt="">
    <h2>Empty</h2>
    </span>

I don’t significant log entries in PHP or in collabora container’s logs.

Any clue ?

3 Likes

Related

1 Like

I have the same issue with the broken image. Any luck finding a solution?

1 Like

Same problem. New install. The broken image displayed when I edited the templates to update the language from German to English.

1 Like

Same here… on nextcloud 16.0.1 and Collabora Online 3.3.10, I’ve found this, that could be helpful:

occ app:check-code richdocuments
Analysing /usr/share/nextcloud/apps/richdocuments/appinfo/app.php
 1 errors
    line   54: OC_Helper - Static method of private class must not be called
Analysing /usr/share/nextcloud/apps/richdocuments/lib/Controller/DocumentController.php
 1 errors
    line  396: OC_Helper - Static method of private class must not be called
Analysing /usr/share/nextcloud/apps/richdocuments/lib/Controller/WopiController.php
 3 errors
    line  151: OC_User - Static method of private class must not be called
    line  220: OC_User - Static method of private class must not be called
    line  317: != - is discouraged
Analysing /usr/share/nextcloud/apps/richdocuments/lib/Preview/Office.php
 1 errors
    line   99: OC_Image - private class must not be instantiated
Analysing /usr/share/nextcloud/apps/richdocuments/lib/TokenManager.php
 1 errors
    line  167: OC_Util - Static method of private class must not be called
Analysing /usr/share/nextcloud/apps/richdocuments/templates/admin.php
 4 errors
    line   51: != - is discouraged
    line   53: == - is discouraged
    line   64: != - is discouraged
    line   66: == - is discouraged
App is not compliant

any ideas?

Same!

Also I have no clue how to use the “Global templates” section in the admin area of Nextcloud. I have the feeling this could be related. See: