Welcome Guest, Not a member yet? Register   Sign In
Codeigniter and Doctrine....CLI issues

Anyone have issues getting the Doctrine CLI up and running with CI?

I followed the Doctrine CI bootstrapping instructions and I think I have that all working fine. Its the CLI that is giving me grief.

When I run the ./doctrine file from the console...it just prints its "contents" to the console..it doesn't "execute" it.

I'm not entirly sure what the first line of that file is doing:
#!/usr/bin/env php

I figured it might be trying to point to my php (MAMP) install so I tried changing it to:

No luck.

Any ideas?

Fixed. The guide did not mention / I did not add php tags to each the "doctrine" as well as "doctrine.php" files.

Theme © iAndrew 2016 - Forum software by © MyBB