Menu

#531 Unable to install SeedDMS 6.0.18 manually

6.0.17
open
nobody
None
bug
2022-05-02
2022-04-29
system
No

Hi,

I was trying to install SeedDMS 6.0.18 manually with PHP 7.4 and Mysql 5.5 and was unable to do as it gave the following error.

Array
(
[type] => 64
[message] => require_once(): Failed opening required '[[_CoreDir]]/../pear/SeedDMS/Core.php' (include_path=' [[_CoreDir]] /pear/: [[_CoreDir]] /pear/:.:[[PATH]]')
[file] => [[_CoreDir]] /inc/inc.ClassSettings.php
[line] => 1565
)

On further debugging I found that It is failing to get file and hence causing the issue. If we replace the path from "require_once($this->_rootDir.'../pear/SeedDMS/Core.php');" to "require_once($this->_rootDir.'/pear****/SeedDMS/Core.php');" at line number 1565 in /inc/inc.ClassSettings.php file the installation works.

Also there is an another file which uses the same path /inc/inc.Settings.php at line no. 69 needs to be changed from "require_once $settings->_rootDir.'../pear/vendor/autoload.php'; "to "require_once $settings->_rootDir.'/pear**/vendor/autoload.php';"

Please let me know if this is a known bug and the workaround is correct ?

Discussion

  • Uwe Steinmann

    Uwe Steinmann - 2022-04-29

    Just add a trailing slash to rootDir. I could well be, that there are other places requiring the slash

     
  • system

    system - 2022-05-02

    Can this be done in core package ? As this is a bug

     

Log in to post a comment.