[OMP 3.1.1.0] installation Error

Getting error while installing OMP 3.1.1.0 Warning: require_once(/{PATH}/lib/pkp/lib/vendor/composer/autoload_real.php): failed to open stream: No such file or directory in /{PATH}/lib/pkp/lib/vendor/autoload.php on line 5

Fatal error: require_once(): Failed opening required ‘/{PATH}/lib/pkp/lib/vendor/composer/autoload_real.php’ (include_path=’.:/{PATH}/classes:/{PATH}/pages:/{PATH}/lib/pkp:/{PATH}/lib/pkp/classes:/{PATH}/lib/pkp/pages:/{PATH}/lib/pkp/lib/adodb:/{PATH}/lib/pkp/lib/phputf8:/{PATH}/lib/pkp/lib/pqp/classes:/{PATH}/lib/pkp/lib/smarty:.:/usr/local/apps/php56/lib/php’) in /{PATH}/lib/pkp/lib/vendor/autoload.php on line 5

Hi @punit,

Try running Composer in the lib/pkp subdirectory; meanwhile I’ll see if there’s something that didn’t get included during the build process.

Regards
Alec Smecher
Public Knowledge Project Team

Hi @punit,

Confirmed, that will fix it – it was an accidental exclusion from the .tar.gz build process. I’ve updated the release package on the download page as well.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Hi!
I am also getting a similar error in OMP 3.1.1 (Downloaded Just now) for a fresh installation

[05-Apr-2018 22:46:44 Etc/GMT] PHP Fatal error: require(): Failed opening required ‘/home/echoiwfk/public_html/omptest/lib/pkp/lib/vendor/composer/…/symfony/polyfill-mbstring/bootstrap.php’ (include_path=’/home/echoiwfk/public_html/omptest/lib/pkp/lib/vendor/phpunit/phpunit-selenium:.:/home/echoiwfk/public_html/omptest/classes:/home/echoiwfk/public_html/omptest/pages:/home/echoiwfk/public_html/omptest/lib/pkp:/home/echoiwfk/public_html/omptest/lib/pkp/classes:/home/echoiwfk/public_html/omptest/lib/pkp/pages:/home/echoiwfk/public_html/omptest/lib/pkp/lib/adodb:/home/echoiwfk/public_html/omptest/lib/pkp/lib/phputf8:/home/echoiwfk/public_html/omptest/lib/pkp/lib/pqp/classes:/home/echoiwfk/public_html/omptest/lib/pkp/lib/smarty:.:/opt/alt/php71/usr/share/pear’) in /home/echoiwfk/public_html/omptest/lib/pkp/lib/vendor/composer/autoload_real.php on line 70

Hi @aabahishti,

Try running Composer as above in the lib/pkp directory to update your dependencies.

Regards,
Alec Smecher
Public Knowledge Project Team

It would be great if you could update dependencies in package so while installation we need not to access command line. We can directly extract package and install. Let us know if it’s possible

Hi!
I don’t know how can I run said composer in cpanel, It seems @asmecher fixed and updated on download page but when I downloaded again now and installed I am getting following error

[06-Apr-2018 10:19:21 Etc/GMT] PHP Fatal error: require(): Failed opening required ‘/home/echoiwfk/public_html/omptest/lib/pkp/lib/vendor/composer/…/kriswallsmith/assetic/src/functions.php’ (include_path=’/home/echoiwfk/public_html/omptest/lib/pkp/lib/vendor/phpunit/phpunit-selenium:.:/home/echoiwfk/public_html/omptest/classes:/home/echoiwfk/public_html/omptest/pages:/home/echoiwfk/public_html/omptest/lib/pkp:/home/echoiwfk/public_html/omptest/lib/pkp/classes:/home/echoiwfk/public_html/omptest/lib/pkp/pages:/home/echoiwfk/public_html/omptest/lib/pkp/lib/adodb:/home/echoiwfk/public_html/omptest/lib/pkp/lib/phputf8:/home/echoiwfk/public_html/omptest/lib/pkp/lib/pqp/classes:/home/echoiwfk/public_html/omptest/lib/pkp/lib/smarty:.:/opt/alt/php71/usr/share/pear’) in /home/echoiwfk/public_html/omptest/lib/pkp/lib/vendor/composer/autoload_real.php on line 70

Hi @aabahishti,

Argh, it looks like I missed one. I’ve updated the package and verified that it installs locally – please try again.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Thanks @asmecher
I installed successfully with this package
Appreciate hard work of entire pkp team

Thanks