Codegen 0.4.14 not working

thread: 3 messages  |  last: a year ago  |  started: saturday, march 27, 2010, 6:36 am pdt


#1  |  Mattia Bagiella (Switzerland) Switzerland
Saturday, March 27, 2010, 6:36 AM PDT

Hi everybody,

I installed the new qcodo 0.4.14, and since I have a problem to run the codegen with the cli command.

My config is :
Linux Ubuntu 9.10
Xampp 1.7.3a

My error :
$ /var/www/vhosts/www.mysite.com/www/../cli/qcodo codegen
bash: /var/www/vhosts/www.mysite.com/www/../cli/qcodo: /usr/bin/env: php: No such file or directory


I tried to modify the path to the php interpreter
$ /var/www/vhosts/www.mysite.com/www/../cli/qcodo codegen
bash: /var/www/vhosts/www.mysite.com/www/../cli/qcodo: /opt/lamp/bin/php: bad interpreter: No such file or directory

Still not working, the QCODO 0.3.32 with the codegen in the webpage was much workfull :D

Thanks for finding me a issue

#2  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Saturday, March 27, 2010, 7:40 AM PDT

I'd recommend trying to figure out why the command line tool is not working... are you sure you have a valid PHP binary at the path you think it exists at?

It's important to have CLI access to PHP in order to run other important tools like the qcodo-updater tool.

However, if you still want to just use the web-based version, that is now at /assets/php/_core/codegen.php

#3  |  marcosdsanchez (Buenos Aires, Argentina) Argentina
Saturday, March 27, 2010, 2:39 PM PDT

Did you chmoded +x the qcodo script file?

Try ./qcodo after giving the file proper execution permissions.

Tell me if that works for you.

Cheers,

Marcos

Edit: you could also try “/opt/lamp/bin/php qcodo”



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.