# PHP Fatal error: require\_once(): Failed opening required for "./vendor/bin/oe-eshop-\*" scripts executions

**URL:** <https://forum.oxid-esales.com/t/php-fatal-error-require-once-failed-opening-required-for-vendor-bin-oe-eshop-scripts-executions/97918>\
**Category:** English forums\
**Tags:** graphql, modules, api\
**Created:** [June 19, 2021, 4:37pm UTC](https://forum.oxid-esales.com/t/php-fatal-error-require-once-failed-opening-required-for-vendor-bin-oe-eshop-scripts-executions/97918 "2021-06-19T16:37:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![walldemar](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/walldemar/32/261_2.png) [@walldemar](https://forum.oxid-esales.com/u/walldemar)\
**Post date:** [June 19, 2021, 4:37pm UTC](https://forum.oxid-esales.com/t/php-fatal-error-require-once-failed-opening-required-for-vendor-bin-oe-eshop-scripts-executions/97918/1 "2021-06-19T16:37:55Z")

</div>

Hi all, I am trying to install graphql-base and graphql-storefront on new clean oxvm\_base with OXID 6.3 CE.

Shop works ok.

Now I am on this step:  
`./vendor/bin/oe-eshop-doctrine_migration migration:migrate oe_graphql_storefront` .  
I am trying to execute it from inside VM with workdir: `/var/www/oxidapigraphql` .  
and terminal returns me error:  
`./vendor/bin/oe-eshop-doctrine_migration migration:migrate oe_graphql_storefront`  
`PHP Warning: require_once(migrate.php): failed to open stream: No such file or directory in /var/www/oxidapigraphql/vendor/bin/oe-eshop-doctrine_migration(21) : eval()'d code on line 3`  
`PHP Fatal error: require_once(): Failed opening required 'migrate.php' (include_path='.:/usr/share/php') in /var/www/oxidapigraphql/vendor/bin/oe-eshop-doctrine_migration(21) : eval()'d code on line 3`

**Any suggestions?**

P.S  
I have two clues:

1. I noticed, that all `./vendor/bin/oe-eshop-*` scripts throw the same error…
2. I tried to:

- Option 1: copy `www/oxidapigraphql/vendor/oxid-esales/oxideshop-doctrine-migration-wrapper/bin/migrate.php` to `www/oxidapigraphql/vendor/bin/migrate.php` and then script works ok.
- Option 2: when I make small change code in `www/oxidapigraphql/vendor/oxid-esales/oxideshop-doctrine-migration-wrapper/bin/oe-eshop-doctrine_migration` and set `require_once( __DIR__.'/migrate.php');` it also works OK.
- I tried solution from the link but it doesn’t work - [Update: migrate.php not found](https://forum.oxid-esales.com/t/update-migrate-php-not-found/96464)
- More details: Windows 10 with OXVM\_BASE, OXID 6.3 CE, PHP 7.4, MariaDB
- Why it works like that?

---

<div class="post-metadata">

**Author:** ![system](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/system/32/4245_2.png) [@system](https://forum.oxid-esales.com/u/system)\
**Post date:** [June 19, 2022, 4:38pm UTC](https://forum.oxid-esales.com/t/php-fatal-error-require-once-failed-opening-required-for-vendor-bin-oe-eshop-scripts-executions/97918/2 "2022-06-19T16:38:27Z")

</div>

Closed on June 19, 2022, 4:38pm UTC

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
