[GH-ISSUE #264] doctrine2-cli.php error #215

Closed
opened 2026-02-26 09:36:49 +03:00 by kerem · 1 comment
Owner

Originally created by @Betalord on GitHub (May 16, 2020).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/264

Hi,
I'm setting up ViMbAdmin and I came to point of running "doctrine2-cli.php" and I'm getting this error:

root@betalord:/home/betalord/sites/vimbadmin# ./bin/doctrine2-cli.php orm:schema-tool:create
PHP Warning:  require_once(/home/betalord/sites/vimbadmin/bin/../vendor/autoload.php): failed to open stream: No such file or directory in /home/betalord/sites/vimbadmin/bin/doctrine2-cli.php on line 42
PHP Fatal error:  require_once(): Failed opening required '/home/betalord/sites/vimbadmin/bin/../vendor/autoload.php' (include_path='.:/usr/share/php') in /home/betalord/sites/vimbadmin/bin/doctrine2-cli.php on line 42

I'm running it from install path, as stated in the tutorial. Any idea why it fails?

Originally created by @Betalord on GitHub (May 16, 2020). Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/264 Hi, I'm setting up ViMbAdmin and I came to point of running "doctrine2-cli.php" and I'm getting this error: ``` root@betalord:/home/betalord/sites/vimbadmin# ./bin/doctrine2-cli.php orm:schema-tool:create PHP Warning: require_once(/home/betalord/sites/vimbadmin/bin/../vendor/autoload.php): failed to open stream: No such file or directory in /home/betalord/sites/vimbadmin/bin/doctrine2-cli.php on line 42 PHP Fatal error: require_once(): Failed opening required '/home/betalord/sites/vimbadmin/bin/../vendor/autoload.php' (include_path='.:/usr/share/php') in /home/betalord/sites/vimbadmin/bin/doctrine2-cli.php on line 42 ``` I'm running it from install path, as stated in the tutorial. Any idea why it fails?
kerem closed this issue 2026-02-26 09:36:49 +03:00
Author
Owner

@Betalord commented on GitHub (May 16, 2020):

Ah, nevermind, I forgot to do "composer install --dev" which installs doctrine2 dependency... sorry about that!

<!-- gh-comment-id:629680973 --> @Betalord commented on GitHub (May 16, 2020): Ah, nevermind, I forgot to do "composer install --dev" which installs doctrine2 dependency... sorry about that!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ViMbAdmin-opensolutions#215
No description provided.