mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
doctrine CLI doesnt response anything , when it was with option #5537
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @larrydalaw on GitHub (May 17, 2017).
Originally assigned to: @Ocramius on GitHub.
Hello dudes,
thanks in advanced...
if i typed, at vendor/bin, ./doctrine or php doctrine , it shows something about complaining i did not have the config file at the folder.
but if i typed,
php vendor/bin/doctrine orm:convert-mapping xml entities --from-database --forceand
php vendor/bin/doctrine orm:generate-entities entitiesit shows nothing ...
i was actually following this guide to do the reverse engineering
http://blog.erikdev.com/post/35750855756/doctrine-setup-tutorial
my bootstrap.php
my cli_config.php
i believe i have filled in proper info in database.php and .env
@Ocramius commented on GitHub (May 17, 2017):
The file name should be
cli-config.phpand should be in your CWD (current working directory)@sensorario commented on GitHub (May 18, 2017):
@larrydalaw is this line correct?
I mean, ... The "$" is a typo here or a typo also in your
cli-config.phpfile?maybe you have also some trouble in php error handling and the typo is not displayed in your cli.
@larrydalaw commented on GitHub (May 25, 2017):
ops, that's just a copy and paste error... the content should be
@larrydalaw commented on GitHub (May 25, 2017):
cli-config.php is in the same directory of artisan and app etc
@larrydalaw commented on GitHub (May 25, 2017):
i managed to see the error reporting.
@Ocramius commented on GitHub (May 25, 2017):
Closing as invalid as per comment above. Your script is crashing before even getting to doctrine stuff at all.