Note that there are some explanatory texts on larger screens.

plurals
  1. POHaving trouble getting cake bake to work
    text
    copied!<p>I've installed the latest version of CakePHP on a Ubuntu 10.10 machine. I was able to run through a beginner tutorial just fine so I think my configuration is close to being correct. I can't get cake bake to completely work though. Below is my session. Things that look like anomolies are in bold. I think I must have one or more small errors in my configuration that are manifesting when running the bake shell. Thanks!</p> <p>ubuntu@myserver.com:~$ cd /var/www/app<br> ubuntu@myserver.com:/var/www/app$ ../cake/console/cake bake -app /var/www/app<br> <strong>Failed loading /usr/lib/php5/20090626.so: /usr/lib/php5/20090626.so: cannot open shared object</strong> </p> <p>file: No such file or directory </p> <p>Welcome to CakePHP v1.3.2 Console </p> <p>App : app<br> Path: /var/www/app </p> <p>Interactive Bake Shell </p> <p>[D]atabase Configuration<br> [M]odel<br> [V]iew<br> [C]ontroller<br> [P]roject<br> [F]ixture<br> [T]est case<br> [Q]uit<br> What would you like to Bake? (D/M/V/C/P/F/T/Q) </p> <blockquote> <p>P<br> What is the full path for this app including the app directory name?<br> Example:/var/www/app/myapp<br> [/var/www/app/myapp] > /var/www/app<br> Bake Project<br> Skel Directory: /usr/share/php/cake/console/templates/skel<br> Will be copied to: /var/www/app </p> </blockquote> <p>Look okay? (y/n/q)<br> [y] > y<br> Do you want verbose output? (y/n)<br> [n] > y </p> <p>Created: app in /var/www/app </p> <p>/usr/share/php/cake/console/templates/skel/app_controller.php copied to </p> <p>/var/www/app/app_controller.php<br> /usr/share/php/cake/console/templates/skel/app_model.php copied to<br> /var/www/app/app_model.php<br> /usr/share/php/cake/console/templates/skel/index.php copied to /var/www/app/index.php<br> /usr/share/php/cake/console/templates/skel/.htaccess copied to /var/www/app/.htaccess<br> /usr/share/php/cake/console/templates/skel/app_helper.php copied to /var/www/app/app_helper.php </p> <p>Creating file /var/www/app/views/pages/home.ctp<br> File <code>/var/www/app/views/pages/home.ctp</code> exists, overwrite? (y/n/q)<br> [n] > y<br> Wrote <code>/var/www/app/views/pages/home.ctp</code><br> Welcome page created<br> Random hash key created for 'Security.salt'<br> Random seed created for 'Security.cipherSeed'<br> <strong>Unable to set CAKE_CORE_INCLUDE_PATH, you should change it in /var/www/app/webroot/index.php<br> Could not set permissions on /var/www/app//tmp<br> chmod -R 0777 /var/www/app//tmp</strong> </p> <p>Interactive Bake Shell </p> <p>[D]atabase Configuration<br> [M]odel<br> [V]iew<br> [C]ontroller<br> [P]roject<br> [F]ixture<br> [T]est case<br> [Q]uit </p> <p>What would you like to Bake? (D/M/V/C/P/F/T/Q) </p> <blockquote> <p>q<br> ubuntu@myserver.com:/var/www/app$ </p> </blockquote>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload