irods.php: Broken include_path to php-irods-prods
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
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.
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