-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check vendor folder when using kirby-cms-path: false #11
Comments
Could you check if the version on develop fixes this problem for you? Make sure to run the CLI in the same root as your index.php |
For me this doesn’t work, even with the dev version (dev-main 9182f92). I have also tried using the kirby.cli.json but with no luck. |
perhaps related… I have Solved, see update below [1]
in the composer.json. and this directory structure:
If I run the Kirby Cli in the directory where the composer.json is, it works - showing the possible commands. If I change into the "htdocs" directory (where the index.php and .htaccess etc "live"), and run the cli there, I get
I added a kirby.cli.json parallel to the composer.json, with
And then this error happens
if I run the cli from the root directory. changing into htdocs, the same require_once error as above happens. I have a second installation where the composer.json, .htaccess, index.php and the kirby directory all are on the same level -- there the cli works fine. Thanks for the cool new version, aside from the cli hickup described here, it was a very smooth update. [1] Update: I reconsidered my structure. Why am I having the
and modified the
ran |
Had the same issue. With a slightly customized setup and a public docroot inside the main project root, the cli tool only works from within the public docroot, not from the project root. |
When using
composer.json
the cli fails. I am not sure if "kirby-cms-path" sets the path or you can just use
false
so it's moved to vendor.Using kirby.cli.json doesn't seem to help but that is pointing to vendor autoloader so it should not matter where kirby is?
The text was updated successfully, but these errors were encountered: