ONLYOFFICE / docker-onlyoffice-nextcloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documents doesn't load

enoch85 opened this issue · comments

I just installed this with the [Nextcloud VM] scripts on a customers server installed like 1 week ago with Nextcloud 15.

Installation went fine and all that, but when opening a document this pops up in the log:

{"reqId":"UWBTXyXgyEhyff2edrR5","level":3,"time":"2019-01-09T18:53:47+01:00","remoteAddr":"85.49.206.84","user":"ncadmin","app":"PHP","method":"GET","url":"\/settings\/admin\/onlyoffice","message":"Undefined index: def at \/var\/www\/nextcloud\/apps\/onlyoffice\/templates\/settings.php#85","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko\/20100101 Firefox\/64.0","version":"15.0.0.10"}

Also when inspecting the element in the browser this pops up:

app.js:13 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.

Also, when pressing "Accept" when it says that the document doesn't load, this pops up:

(anonymous) @ app.js:13
(anonymous) @ app.js:13
app.js:18 Uncaught TypeError: Cannot read property 'canDownload' of undefined
    at V.i.show (app.js:18)
    at V.i.onBtnMenuToggle (app.js:18)
    at M (app.js:8)
    at V.i.<anonymous> (app.js:8)
    at V.i.<anonymous> (app.js:8)
    at c (app.js:11)
    at V.i.trigger (app.js:11)
    at V.i.toggle (app.js:14)
    at V.i.showMenu (app.js:18)
    at V.i.<anonymous> (app.js:50)

Any idea? Is it known, is there a fix for it already?

Please let me know if you need me to fill in some kind of issue template, but basic config:

  • Nextcloud 15.0.0
  • PostgreSQL 10
  • Apache 2
  • OnlyOffice hosted on the same server and proxy reversed in Apache

Thanks!

Undefined index: def at settings.php#85

Fixed ONLYOFFICE/onlyoffice-nextcloud@013b9ff