# |
Oct 22nd 2009, 08:35 |
Phally |
cake_newbie: did you setup the proper driver in your database.php |
# |
Oct 22nd 2009, 08:35 |
Phally |
cake_newbie: eh wait, dbo_source, thats nice |
# |
Oct 22nd 2009, 08:35 |
TehTreag |
cake_newbie: Install the libraries you need. Which OS are you on? |
# |
Oct 22nd 2009, 08:34 |
cake_newbie |
Phally: how can i fix it? |
# |
Oct 22nd 2009, 08:33 |
Phally |
cake_newbie: you dont have the proper php extension installed |
# |
Oct 22nd 2009, 08:33 |
ADmad |
liaogz82: i suggest you read the whole chapter on "Views" on manual |
# |
Oct 22nd 2009, 08:33 |
ADmad |
*as needed |
# |
Oct 22nd 2009, 08:32 |
ADmad |
liaogz82: so switch the layout used and needed. |
# |
Oct 22nd 2009, 08:32 |
cake_newbie |
hi all, can any1 explain me this error:Fatal error: Call to undefined function: connect() in /htdocs/cake/libs/model/datasources/dbo_source.php on line 96 |
# |
Oct 22nd 2009, 08:32 |
liaogz82 |
i mean a page solely for advert and i just use a php include command to include the advert page |
# |
Oct 22nd 2009, 08:32 |
Horror |
hello guys, is it possible to gave pagination 2 models? |
# |
Oct 22nd 2009, 08:31 |
liaogz82 |
i dun want to just put it in default layout cos i have a number of layouts |
# |
Oct 22nd 2009, 08:31 |
liaogz82 |
well... i want to have an advert side bar for my website |
# |
Oct 22nd 2009, 08:31 |
liaogz82 |
hi ADmad |
# |
Oct 22nd 2009, 08:26 |
odegard |
Phally, sorry, that sounded VERY cryptic hehe |
# |
Oct 22nd 2009, 08:26 |
odegard |
Phally, yes, it's a hash problem. add doesn't hash on insert. All views are scaffolded, how can I make add in usersController hash password on reg? |
# |
Oct 22nd 2009, 08:25 |
PhpNut |
oh ok |
# |
Oct 22nd 2009, 08:25 |
ajushi |
thanks! |
# |
Oct 22nd 2009, 08:25 |
ajushi |
Phally: ok man, it's awesome :D |
# |
Oct 22nd 2009, 08:24 |
Ceeram |
oh yeah markstory explained that mb_strrpos would be defined by cake, didnt know that |
# |
Oct 22nd 2009, 08:24 |
PhpNut |
Ceeram "Don't understand why PHP functions are tested even" |
# |
Oct 22nd 2009, 08:24 |
Phally |
ajushi: it works a bit different then a normal find so pay attention ;) |
# |
Oct 22nd 2009, 08:24 |
PhpNut |
Ceeram I meant the rest of your ticket question |
# |
Oct 22nd 2009, 08:24 |
ajushi |
find('neighbors') is cool! :D |
# |
Oct 22nd 2009, 08:24 |
PhpNut |
Ceeram you will notice that a few test will not pass and I commented them out |
# |
Oct 22nd 2009, 08:24 |
Ceeram |
it just doesnt take the offset |
# |
Oct 22nd 2009, 08:24 |
Ceeram |
it is compiled |
# |
Oct 22nd 2009, 08:23 |
PhpNut |
patch is fine, the php functions are testing that multibyte works properly if not compiled Ceeram |
# |
Oct 22nd 2009, 08:23 |
Phally |
odegard: well look at the query and check if it matches what is in your database.. if not, and you are sure you typed the same, then they are hashed differently |
# |
Oct 22nd 2009, 08:23 |
ajushi |
Phally: ok i'll check it out, but can't i use the paginator helper or it's not applicable on my situation? |
# |
Oct 22nd 2009, 08:22 |
Lemon_BE |
or have an IDE that can intreped cakephp's structure |
# |
Oct 22nd 2009, 08:22 |
odegard |
Phally, are you thinking it might be a hashing error? Can you teach me how to debug? |
# |
Oct 22nd 2009, 08:22 |
Phally |
ajushi: use find neighbors? |
# |
Oct 22nd 2009, 08:22 |
ADmad |
Lemon_BE: php should have "Did you mean:" like google :) |
# |
Oct 22nd 2009, 08:21 |
Ceeram |
ok |
# |
Oct 22nd 2009, 08:21 |
PhpNut |
Ceeram ok I see what you are saying now |
# |
Oct 22nd 2009, 08:21 |
odegard |
login.ctp? it's via form helper |
# |
Oct 22nd 2009, 08:21 |
Ceeram |
it takes the offset as encoding param |
# |
Oct 22nd 2009, 08:21 |
ajushi |
hi, how do i set pagination on a single view page? i mean when viewing a single entry i want to see previous and next at the bottom |
# |
Oct 22nd 2009, 08:21 |
Ceeram |
5 fails and 5 php errors |
# |
Oct 22nd 2009, 08:21 |
Phally |
odegard: how did you insert your password? |