i followed the online tutorial on integrating doctrine 2 and ZF2. I can insert data into the database, but whenever I run the CLI doctrine, it outputs:
#!/usr/bin/env sh SRC_DIR="`pwd`" cd "`dirname "$0"`" cd "../doctrine/orm/bin" BIN_TARGET="`pwd`/doctrine.php" cd "$SRC_DIR" "$BIN_TARGET" " $@ "
which is the contents of doctrine.php, which I replaced with the codes from the tutorial.
source share