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

Undefined variable: error at settingscontroller.php#178 #218

Closed
himpierre opened this issue Jan 20, 2020 · 5 comments
Closed

Undefined variable: error at settingscontroller.php#178 #218

himpierre opened this issue Jan 20, 2020 · 5 comments
Labels
bug Something isn't working documentserver_community

Comments

@himpierre
Copy link

Hello Devs.

Just tried the new integrated document_server in nextcloud 18 but to no avail. Installatii went well but when i try to open a doc I get: ONLYOFFICE cannot be reached. Please contact admin.

Log:
{"reqId":"59xHcdAEfkoJWIK5WfA5","level":3,"time":"2020-01-20T12:54:04+00:00","remoteAddr":"xx.xx.xx.x","user":"admin","app":"PHP","method":"PUT","url":"/apps/onlyoffice/ajax/settings/address","message":"Undefined variable: error at /var/www/html/custom_apps/onlyoffice/controller/settingscontroller.php#178","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0","version":"18.0.0.10"}

@LinneyS
Copy link
Member

LinneyS commented Jan 21, 2020

The message in the logs is not critical and does not affect the opening of the file.
The editor does not open due to incorrect settings for the connection address to the Document Server. Check the availability of the address in the browser.

@himpierre
Copy link
Author

Thanks for the answer @LinneyS. Going to the configured connection address redirects me to the files app. So I guess the document_server app ist not installed correctly although it seemed to be.

@himpierre
Copy link
Author

Turns out it is a HSTS Problem.
Screenshot from 2020-01-30 15-24-30

@himpierre
Copy link
Author

Don't know how to deal with it right now. The Nextcloud OnlyOffice Settings Page shows only https://. There is no http:// configured as far as i can see.

@LinneyS LinneyS added bug Something isn't working and removed configuration labels Jul 21, 2020
@LinneyS
Copy link
Member

LinneyS commented Jul 21, 2020

Undefined variable fixed at v4.1.2

with https question create new issue

@LinneyS LinneyS closed this as completed Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentserver_community
Projects
None yet
Development

No branches or pull requests

2 participants