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

[eluser]iDVB[/eluser]
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:
Code:
#!/usr/bin/env php

I figured it might be trying to point to my php (MAMP) install so I tried changing it to:
Code:
#!/Applications/MAMP/bin/php5/bin/php

No luck.

Any ideas?
#2

[eluser]iDVB[/eluser]
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