Try the fastest and simplest way to install ONLYOFFICE

Integrate onlyoffice with PHP example.

Issues during installation and related to database

Integrate onlyoffice with PHP example.

Postby napoleon211092 » Thu May 17, 2018 8:27 am

Hi,

I try to use onlyoffice with PHP example API.

I follow this guide https://api.onlyoffice.com/editors/example/php to install.

I succeed install document server in address: http://192.168.131.132, here is image of document server.
a.PNG
document server is runing.
a.PNG (50.18 KiB) Viewed 348 times

Then I download PHP code in same server with document server (different port: port 81).

Then, I change config.php like this:

$GLOBALS['DOC_SERV_CONVERTER_URL'] = "http://192.168.131.132:80/ConvertService.ashx";
$GLOBALS['DOC_SERV_API_URL'] = "http://192.168.131.132:80/web-apps/apps/api/documents/api.js";
$GLOBALS['DOC_SERV_PRELOADER_URL'] = "http://192.168.131.132:80/documentserver/web-apps/apps/api/documents/cache-scripts.html";


It show me the GUI like this.
c.PNG
c.PNG (123.08 KiB) Viewed 348 times

I can upload my doccument to server. But I cant view or edit my office file. This is error like this:
b.PNG
b.PNG (83.64 KiB) Viewed 348 times


Please help me.
Thank you.
napoleon211092
 
Posts: 3
Joined: Thu May 17, 2018 3:13 am

Re: Integrate onlyoffice with PHP example.

Postby Maxim » Mon May 21, 2018 11:05 am

Hello napoleon211092!
i hope it will help you to find the solution.
Maxim
 
Posts: 1746
Joined: Tue Oct 11, 2016 2:34 pm

Re: Integrate onlyoffice with PHP example.

Postby napoleon211092 » Wed May 23, 2018 3:52 am

Thanks Maxim. :D
napoleon211092
 
Posts: 3
Joined: Thu May 17, 2018 3:13 am


Return to Installation issues

Who is online

Users browsing this forum: No registered users and 1 guest