所有網頁 圖片 影片 地圖 新聞 網誌搜尋 Gmail 更多 »
最近造訪的群組 | 說明 | 登入
Google 網上論壇首頁
Baking. First day at cake
目前本群組有太多主題設為優先顯示。要優先顯示這個主題,請將其他主題的這個選項取消。
在處理您的要求時發生錯誤。請再試一次。
標幟
  3 個訊息 - 全部摺疊  -  將全文翻譯為 已翻譯 (查看所有原文)
您要留言的群組是 Usenet 群組。在此群組留言,網際網路上的任何使用者將可以看到您的電郵地址。
您的回覆郵件尚未寄出。
您已成功留言
 
寄件人:
收件人:
副本:
後續追蹤對象:
新增副本 | 新增後續追蹤對象 | 編輯主旨
主旨:
驗證:
為了確認,請輸入您在以下圖片中看到的字元,或輸入您按下存取圖示時所聽到的號碼。 注意聽並輸入您聽到的號碼
 
Taff  
檢視個人資料   翻譯為 已翻譯 (查看原文)
 更多選項 7月4日, 下午3時01分
寄件人: Taff <taff.law...@googlemail.com>
日期: Sat, 4 Jul 2009 00:01:49 -0700 (PDT)
當地時間: 2009年7月4日(星期六) 下午3時01分
主旨: Baking. First day at cake
Hopefully someone can help me. I am trying to follow the acl tutorial,
and due to my lack of experience with CAKE have come to a standstill.
I have no prior knowledge of putty or other things like that, so as
you can imagine, it has been quite a learning curve. I have dabbled in
other frameworks such as CodeIgniter with a reasonible amount of
success.

When I call mycakeapp/cake/console/libs/bake.php I get the following
error.

Fatal error: Class bakeshell:  Cannot inherit from undefined class
shell in /var/www/www.softselect.de/www-data/live/cake/mycakeapp/cake/
console/libs/bake.php

I read that that was because my paths weren't defined correctly, but
where can I define them? I looked in the config files to no avail. I'm
not sure if I should be amending on the the "Current Paths" below, and
would appreciate any help!

Thanks,
Taff

Welcome to CakePHP v1.2.1.8004 Console
---------------------------------------------------------------
Current Paths:
 -app: app
 -working: /path/to/cake/mycakeapp/app
 -root: /path/to/cake/mycakeapp
 -core: /path/to/cake/mycakeapp

Changing Paths:
your working path should be the same as your application path
to change your path use the '-app' param.
Example: -app relative/path/to/myapp or -app /absolute/path/to/myapp

Available Shells:

 CORE/app/vendors/shells:
        - none

 CORE/vendors/shells:
        - none

 CORE/cake/console/libs:
        acl
        api
        bake
        console
        i18n
        schema
        testsuite

To run a command, type 'cake shell_name [args]'
To get help on a specific command, type 'cake shell_name help'
softselect@softselect:~/path/to/cake/mycakeapp/cake/console$
cake bake help
-bash: cake: command not found
softselect@softselect:~/path/to/cake/mycakeapp/cake/console$

Fatal error: Class bakeshell:  Cannot inherit from undefined class
shell in /path/to/cake/mycakeapp/cake/console/libs/bake.php


    回覆作者    轉寄  
您必須先登入才能張貼訊息。
若要張貼訊息,您必須先加入此群組
請在留言之前更新您訂閱設定網頁上的暱稱。
您沒有留言所需的權限。
Gwoo  
檢視個人資料   翻譯為 已翻譯 (查看原文)
 更多選項 7月5日, 上午2時40分
寄件人: Gwoo <gwoo.cake...@gmail.com>
日期: Sat, 4 Jul 2009 11:40:05 -0700 (PDT)
當地時間: 2009年7月5日(星期日) 上午2時40分
主旨: Re: Baking. First day at cake
You are not supposed to call the scripts directly. Please see the
documentation for the proper usage. Also checkout http://cakephp.org/screencasts

    回覆作者    轉寄  
您必須先登入才能張貼訊息。
若要張貼訊息,您必須先加入此群組
請在留言之前更新您訂閱設定網頁上的暱稱。
您沒有留言所需的權限。
Taff  
檢視個人資料   翻譯為 已翻譯 (查看原文)
 更多選項 7月7日, 下午3時29分
寄件人: Taff <taff.law...@googlemail.com>
日期: Tue, 7 Jul 2009 00:29:04 -0700 (PDT)
當地時間: 2009年7月7日(星期二) 下午3時29分
主旨: Re: Baking. First day at cake
Thanks very much for the reply. In essence I was doing it
correctly...ish.

cake bake was telling me it couldn't find the file.
./cake bake however worked very well (as shown in the screencast).

Taff

On 4 Jul., 20:40, Gwoo <gwoo.cake...@gmail.com> wrote:


    回覆作者    轉寄  
您必須先登入才能張貼訊息。
若要張貼訊息,您必須先加入此群組
請在留言之前更新您訂閱設定網頁上的暱稱。
您沒有留言所需的權限。
無其他留言
« 返回討論主題 « 較新的主題     較舊的主題 »

建立群組 - Google 網上論壇 - Google 首頁 - 服務條款 - 隱私權政策
©2009 Google