ONLYOFFICE / DocumentServer

ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
https://www.onlyoffice.com
GNU Affero General Public License v3.0
4.86k stars 1.09k forks source link

ReferenceError: dd is not defined #2748

Closed cord44 closed 3 weeks ago

cord44 commented 5 months ago

This issue is unique.

Operating System of DocumentServer

Docker

Version information

7.2

Expected Behavior

Completely load the document to edit, yesterday when I tested this it worked.

Actual Behavior

I have opened the onlyoffice editor from my app and I have had the next problem:

sdk-all.js:9 Uncaught 
ReferenceError: dd is not defined
    at sdk-all.js:9:63
    at sdk-all.js:13852:84
sdk-all-min.js:1032 Uncaught 
TypeError: Cannot read properties of undefined (reading 'ia')
    at b.ia (sdk-all-min.js:1032:466)
    at b.Me (sdk-all-min.js:1032:343)
    at e.bBd (sdk-all-min.js:1211:455)
    at h.bBd (sdk-all-min.js:1551:451)
    at HTMLScriptElement.<anonymous> (sdk-all-min.js:1156:441)
sdk-all-min.js:1396 Uncaught 
TypeError: Cannot read properties of null (reading 'Ub')
    at h.cod (sdk-all-min.js:1396:356)
    at h.n (sdk-all-min.js:1361:390)
    at h.Krd (sdk-all-min.js:1398:400)
    at h.Uob (sdk-all-min.js:1520:163)
    at e.u7c (sdk-all-min.js:1211:146)
    at sdk-all-min.js:1175:314
    at nb (sdk-all-min.js:715:343)
    at sdk-all-min.js:716:83
    at K.hb.onreadystatechange (sdk-all-min.js:510:140)
sdk-all-min.js:1542 Uncaught (in promise) 
TypeError: Cannot read properties of null (reading 'Ub')
    at h.xRc (sdk-all-min.js:1542:224)
    at h.Lcd (sdk-all-min.js:1405:124)
    at qm.Tob (sdk-all-min.js:1192:26)
    at e.Eih (sdk-all-min.js:208:30)
    at Dm.Tob (sdk-all-min.js:200:418)
    at f.pYe (sdk-all-min.js:223:429)
    at f.cYe (sdk-all-min.js:227:185)
    at f.rVg (sdk-all-min.js:231:64)
    at f.FVg (sdk-all-min.js:238:462)
    at i.<anonymous> (sdk-all-min.js:238:328)

I had could to see it in the browser console. This only happen for excel and word files, when I try to open an power point file this works fine.

Then, I reinstalled all the server from scrash in docker and I tried to open the word example file and happened the same error.

Captura de pantalla 2024-05-30 a la(s) 12 29 19 p m

Reproduction Steps

Additional information

No response

stepjacky commented 5 months ago

i think you can try to updating onlyoffice to the lasted version to avoiding this issue

cord44 commented 5 months ago

i think you can try to updating onlyoffice to the lasted version to avoiding this issue

Thank you for your support, but I am actually working with the lastest versión of onlyoffice/documentserver

Captura de pantalla 2024-06-03 a la(s) 10 00 30 a m
brainframe-me commented 5 months ago

I have exactly the same @cord44 but then with actual latest version 8.0.1, 3 days ago all worked, and now this breaks with the same error Could it by chance be you were also recently on the commercial edition documentserver-de using the same domain name just before?

I get following error:

[2024-06-03T20:55:13.211] [ERROR] [localhost] [f550f90c-8a5c-44e0-3af4-536a16f2cc202024-05-30T20.01.30.571Z] [hidden object] nodeJS - clientLog: changesError: Error: Uncaught ReferenceError: dd is not defined Script: https://hidden.com/8.0.1-31/sdkjs/word/sdk-all.js Line: 1:61 userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0 platform: Win32 isLoadFullApi: false isDocumentLoadComplete: false DocumentInfo: no logic document performance.memory: {"totalJSHeapSize":146785251,"usedJSHeapSize":126644127,"jsHeapSizeLimit":4294705152} StackTrace: ReferenceError: dd is not defined at https://ds.brainframe.com/8.0.1-31/sdkjs/word/sdk-all.js:1:61 at https://ds.brainframe.com/8.0.1-31/sdkjs/word/sdk-all.js:1022:14197

cord44 commented 5 months ago

Yes, you are correct @brainframe-me , I started to use the onlyoffice/documentserver with -de, then this expire and I changed to documentserver without -de, this worked for some days and then this just return the error when I open the editor.

zou123456 commented 1 month ago

Do you have a solution to this problem?

avdddd1111 commented 1 month ago

Hello @cord44 , @brainframe-me !

Sorry for late reply!

Please update the document server to the latest version. And check if the issue persists.

Since we only support the current latest version, and your issue may already be fixed in it.

I was unable to reproduce the issue, so I need a more detailed description of the scenario.

If the issue persists, please provide a detailed scenario for reproducing the problem.

Rita-Bubnova commented 3 weeks ago

This issue was closed due no response.