I use p0wny-shell for executing LUYA command line tool lik luya import & . . . in Shared Hosting.
Received error: Uncaught yii\base\InvalidConfigException: Unable to determine the entry script file path. in /home/x/public_html/vendor/yiisoft/yii2/web/Request.php
[20-Sep-2018 23:00:56 UTC] PHP Fatal error: Uncaught yii\base\InvalidConfigException: Unable to determine the entry script file path. in /home/x/public_html/vendor/yiisoft/yii2/web/Request.php:850
Stack trace:
#0 /home/x/public_html/vendor/yiisoft/yii2/web/Request.php(801): yii\web\Request->getScriptFile()
#1 /home/x/public_html/vendor/yiisoft/yii2/web/Request.php(773): yii\web\Request->getScriptUrl()
#2 /home/x/public_html/configs/env-local.php(17): yii\web\Request->getBaseUrl()
#3 /home/x/public_html/configs/env.php(8): require('/home/x/...')
#4 /home/x/public_html/vendor/luyadev/luya-core/base/Boot.php(136): require('/home/x/...')
#5 /home/x/public_html/vendor/luyadev/luya-core/base/Boot.php(175): luya\base\Boot->getConfigArray()
#6 /home/x/public_html/vendor/luyadev/luya-core/bin/luya(35): luya\base\Boot->applicationConsole()
#7 {main}
thrown in /home/x/public_html/vendor/yiisoft/yii2/web/Request.php on line 850
I think it related to LUYA
don’t know, i only edit this line: $boot->configFile = __DIR__.'/../../../../configs/env.php'; because the default config file path was not found.
I set the scriptUrl and scriptFile but was not effective.
However, the same method works on local machine nicely! but on shared hosting the issue exits!!!