# |
Oct 22nd 2009, 09:08 |
cake_newbie |
$this->__construct(); |
# |
Oct 22nd 2009, 09:08 |
cake_newbie |
function DATABASE_CONFIG() { |
# |
Oct 22nd 2009, 09:08 |
cake_newbie |
found a solution :) |
# |
Oct 22nd 2009, 09:01 |
cake_newbie |
__constructor doesnt works |
# |
Oct 22nd 2009, 09:00 |
cake_newbie |
i use __construct |
# |
Oct 22nd 2009, 09:00 |
Phally |
isn't it the other way around? |
# |
Oct 22nd 2009, 08:58 |
jcrawford |
__constructor is what should work |
# |
Oct 22nd 2009, 08:58 |
jcrawford |
cake_newbie do you have __construct or __constructor? |
# |
Oct 22nd 2009, 08:57 |
cake_newbie |
PhpNut: but it does not works |
# |
Oct 22nd 2009, 08:56 |
Horror |
maybe with some hacks to pagination or over-riding it would do |
# |
Oct 22nd 2009, 08:55 |
Horror |
yeah - i'm trying to figure it out |
# |
Oct 22nd 2009, 08:55 |
jcrawford |
Horror still no resolution eh? When you do find out please let me know I don't have the need currently but when I do it would be nice to know how :D |
# |
Oct 22nd 2009, 08:54 |
Horror |
need a little help on combining 2 models into pagination - they have no assoications with each other |
# |
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 |