# |
Oct 22nd 2009, 08:54 |
PhpNut |
cake_newbie __constructor in cake should work php 4 or 5 |
# |
Oct 22nd 2009, 08:45 |
cake_newbie |
thanks anyway :) |
# |
Oct 22nd 2009, 08:45 |
markstory |
at least the same major version. |
# |
Oct 22nd 2009, 08:45 |
markstory |
cake_newbie: you are in for a world of pain. |
# |
Oct 22nd 2009, 08:44 |
Phally |
NoReGreT: you need prefix routing |
# |
Oct 22nd 2009, 08:44 |
NoReGreT |
Phally: ah.. I thought i could create _several_ admin routes... |
# |
Oct 22nd 2009, 08:43 |
Phally |
NoReGreT: duh, the second overwrites the first.. |
# |
Oct 22nd 2009, 08:41 |
cake_newbie |
i'm fucked up :) function _construct() works for php5 |
# |
Oct 22nd 2009, 08:40 |
liaogz82 |
that is what i need! thanks |
# |
Oct 22nd 2009, 08:40 |
NoReGreT |
I have configured admin routing as so: http://pastebin.ca/1637217 but i can't seem to go to /admin/users , it's treating admin as a controller and complaning thta it doesn't exist. |
# |
Oct 22nd 2009, 08:39 |
liaogz82 |
oic elements! |
# |
Oct 22nd 2009, 08:38 |
cake_newbie |
localhost PHP Version 5.2.8 |
# |
Oct 22nd 2009, 08:38 |
cake_newbie |
server PHP Version 4.3.9 |
# |
Oct 22nd 2009, 08:37 |
cake_newbie |
ok, it works for me on localhost, but then i upload it to web it shows this error |
# |
Oct 22nd 2009, 08:36 |
cake_newbie |
cake |
# |
Oct 22nd 2009, 08:36 |
TehTreag |
cake_newbie: For php? |
# |
Oct 22nd 2009, 08:35 |
cake_newbie |
1.2.5 |
# |
Oct 22nd 2009, 08:35 |
odegard |
thanks all, seems my problem is solved |
# |
Oct 22nd 2009, 08:35 |
cake_newbie |
Phally: driver is mysql |
# |
Oct 22nd 2009, 08:35 |
TehTreag |
cake_newbie: Which package did you install? |
# |
Oct 22nd 2009, 08:35 |
cake_newbie |
TehTreag: windows |
# |
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 |