core icon indicating copy to clipboard operation
core copied to clipboard

irods.php: Broken include_path to php-irods-prods

Open bastla opened this issue 13 years ago • 2 comments

Environment: Debian Jessie OC Version: 5.0.11 Client: any DAV-Client

Connecting to ownCloud fails because there's no include_path for /usr/share/php/irods/prods/src:

PHP Fatal error: require_once(): Failed opening required 'ProdsConfig.inc.php' (include_path='/usr/share/owncloud/lib:/usr/share/owncloud/config:/usr/share/owncloud/3rdparty:/usr/share/owncloud/apps:/usr/share/owncloud/lib:.:/usr/share/php:/usr/share/pear:/usr/share/owncloud:/usr/share/owncloud/apps/search_lucene/3rdparty:irods/prods/src') in /usr/share/owncloud/apps/files_external/lib/irods.php on line 14

cheers

!bastla

bastla avatar Sep 23 '13 13:09 bastla

Hi,

this is probably something which you should report to the debian bugtracker. Only their packages are using the separation into /usr/share/owncloud. In a default OC installation the include path is setup in this file:

https://github.com/owncloud/core/blob/v5.0.11/apps/files_external/lib/irods.php#L11-L12

to the file:

https://github.com/owncloud/core/blob/v5.0.11/apps/files_external/3rdparty/irodsphp/prods/src/ProdsConfig.inc.php

which is correct and within the include path.

ghost avatar Sep 23 '13 13:09 ghost

Yes, this is really Debian-specific (i just commit a fix in the Debian repository, it will be part of the next package), thanks.

Feel free to close this issue, and thanks in advance for reporting further Debian-specific issues in the BTS:

http://www.debian.org/Bugs/Reporting

DavidPrevot avatar Sep 25 '13 13:09 DavidPrevot