# |
Sep 13th 2009, 17:27 |
NoReGreT |
cake contains all 3: app, cake, and vendors |
# |
Sep 13th 2009, 17:27 |
Ephigenia |
hi guys, someone still there? i need some advice or help with configuring xcache with cakephp |
# |
Sep 13th 2009, 17:27 |
unclezoot |
you need to make sure your %PATH% can find /cake |
# |
Sep 13th 2009, 17:27 |
Ceeram |
cake cake is not a problem whe app and cake are both in a dir called cake, thats what it looks like in his setup |
# |
Sep 13th 2009, 17:26 |
unclezoot |
yeah, why are you in /cake/app ? |
# |
Sep 13th 2009, 17:26 |
dogmatic69 |
oh wait |
# |
Sep 13th 2009, 17:26 |
unclezoot |
and run cake bake and see what happens |
# |
Sep 13th 2009, 17:26 |
dogmatic69 |
C:\xampp\htdocs\cake\cake\ there is your problem |
# |
Sep 13th 2009, 17:26 |
unclezoot |
just cd into your app folder before you bake |
# |
Sep 13th 2009, 17:25 |
NoReGreT |
dogmatic69: so I put C:\xampp\htdocs\cake\app, at the end it gave me "Fatal error: Class 'DATABASE_CONFIG' not found in C:\xampp\htdocs\cake\cake\console\libs\tasks\db_config.php on line 265" |
# |
Sep 13th 2009, 17:25 |
unclezoot |
just use the APP constant |
# |
Sep 13th 2009, 17:25 |
dogmatic69 |
that depends on your setup |
# |
Sep 13th 2009, 17:24 |
NoReGreT |
dogmatic69: "What is the full path for this app including the app directory name?" |
# |
Sep 13th 2009, 17:24 |
dogmatic69 |
you must use -app c:/full/path |
# |
Sep 13th 2009, 17:23 |
unclezoot |
yup |
# |
Sep 13th 2009, 17:23 |
dogmatic69 |
unclezoot: you have a echo? |
# |
Sep 13th 2009, 17:23 |
Ceeram |
cd to the app dir or use cake bake -app pathtoapp |
# |
Sep 13th 2009, 17:23 |
unclezoot |
actually that's a lie, the html is coming out but the js + css arent getting loaded |
# |
Sep 13th 2009, 17:23 |
dogmatic69 |
NoReGreT: ? |
# |
Sep 13th 2009, 17:22 |
NoReGreT |
the app directory is passed to cake bake ? |
# |
Sep 13th 2009, 17:22 |
dogmatic69 |
what is the folder structure? |
# |
Sep 13th 2009, 17:22 |
unclezoot |
no error, that's the problem |
# |
Sep 13th 2009, 17:21 |
dogmatic69 |
what is the error |
# |
Sep 13th 2009, 17:21 |
unclezoot |
my plugin.helpers methods arent working in my layout :\ |
# |
Sep 13th 2009, 17:20 |
Dimatter |
nevermind :) |
# |
Sep 13th 2009, 17:20 |
dogmatic69 |
i think there is a way to do it with find also |
# |
Sep 13th 2009, 17:20 |
unclezoot |
isnt that only relevant for i18n? |
# |
Sep 13th 2009, 17:19 |
Dimatter |
you write a string and then replaces "%" within that string with some variables for example |
# |
Sep 13th 2009, 17:19 |
dogmatic69 |
there is a cake way |
# |
Sep 13th 2009, 17:19 |
unclezoot |
then sprintf($string, $value) |
# |
Sep 13th 2009, 17:19 |
dogmatic69 |
name => $name? |
# |
Sep 13th 2009, 17:19 |
unclezoot |
you put %s in your string |
# |
Sep 13th 2009, 17:19 |
Dimatter |
yeah. |
# |
Sep 13th 2009, 17:19 |
unclezoot |
you talking about strings? |
# |
Sep 13th 2009, 17:18 |
Dimatter |
syntax even |
# |
Sep 13th 2009, 17:18 |
Dimatter |
what was the sytax of the "replace the % with string" thing ? something like "SELECT item_count FROM users WHERE id = '%'", 3 |
# |
Sep 13th 2009, 17:16 |
unclezoot |
if i load a plugin.helper in my app_controller, should it be accessible in my layout? |
# |
Sep 13th 2009, 17:16 |
unclezoot |
hmmm |
# |
Sep 13th 2009, 16:47 |
ionas82 |
first I would recommend just reading Chapter 1 to 3 at least |
# |
Sep 13th 2009, 16:42 |
dogmatic69 |
follow the tut on book first it has everything to get you started |
# |
Sep 13th 2009, 16:42 |
NoReGreT |
thanks |