dorgflow icon indicating copy to clipboard operation
dorgflow copied to clipboard

Wrong path to autoload.php

Open superromeo opened this issue 7 years ago • 4 comments

Error:

$ dorgflow PHP Warning: require_once(/var/www/drupal_8/vendor/joachim-n/dorgflow/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/drupal_8/vendor/joachim-n/dorgflow/dorgflow on line 6

I think we should replace: require_once __DIR__ . '/vendor/autoload.php'; with: require_once __DIR__ . '/../../autoload.php';

superromeo avatar Feb 04 '19 06:02 superromeo

Well it's correct if you're running the script as a standalone, symlinked into your bash $PATH, which is what I do...

I gather that people are now using this package within a Drupal project, so I'll take a PR that checks for both.

joachim-n avatar Feb 04 '19 13:02 joachim-n

Same thing. I use it like this: ` cd /var/www/drupal_8/rg/patches/drupal/2985199

git clone --branch 8.8.x https://git.drupal.org/project/drupal.git cd drupal

dorgflow https://www.drupal.org/project/drupal/issues/2985199 `

superromeo avatar Aug 16 '19 11:08 superromeo

I gather that people are now using this package within a Drupal project, so I'll take a PR that checks for both.

Could you do it, please?

superromeo avatar Oct 17 '19 14:10 superromeo

Same problem yet.

superromeo avatar Dec 07 '20 06:12 superromeo