• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.