Skip to content

Problem with GuzzleHttp #11278

@olegbolden

Description

@olegbolden

Can not open file with Collabora Office (local docker installation)
Collabora online application version is 2.0.13 (richdocuments)

Expected behaviour

Office format file is opened within Nextcloud window

Actual behaviour

In case WOPI server field is blank in the settings of the Collabora online (fresh install of this app) we have
Fatal error: Cannot declare class GuzzleHttp\Handler\CurlFactory, because the name is already in use in /var/www/.../3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 16

In case WOPI server field is filled in:
Fatal error: Cannot declare class GuzzleHttp\Exception\RequestException, because the name is already in use in /var/www/.../3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php on line 0

I suspect that there is no proper connection between nextcloud and Collabora Office in docker container and this causes the last Error.

Operating system:
Linux Debian Jessie

Web server:
Nginx+PHP-FPM

Database:
MySQL

PHP version:
7.1.20

Nextcloud version:
14.0

Updated from an older Nextcloud/ownCloud or fresh install:
Updated from 13.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions