CodeIgniter Forums
Codeigniter and Doctrine....CLI issues - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Codeigniter and Doctrine....CLI issues (/showthread.php?tid=22257)



Codeigniter and Doctrine....CLI issues - El Forum - 09-02-2009

[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?


Codeigniter and Doctrine....CLI issues - El Forum - 09-02-2009

[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.