# |
Sep 22nd 2011, 16:36 |
ScottO_ |
TheWarden: do you have caching turned on? |
# |
Sep 22nd 2011, 16:35 |
scoutmstershke |
If anything I would say this is you http://i37.tinypic.com/2m6a41t.gif |
# |
Sep 22nd 2011, 16:34 |
scoutmstershke |
why are you just a camera guy? |
# |
Sep 22nd 2011, 16:34 |
PhpNut |
? |
# |
Sep 22nd 2011, 16:34 |
TheWarden |
scoutmstershke: good morning. |
# |
Sep 22nd 2011, 16:34 |
scoutmstershke |
!phpnut |
# |
Sep 22nd 2011, 16:34 |
TheWarden |
as to regards to the $useTable, I agree it is not required but I don't like to assume things so I specify even though I'm matching the naming convention. |
# |
Sep 22nd 2011, 16:33 |
scoutmstershke |
good morning all |
# |
Sep 22nd 2011, 16:32 |
ScottO_ |
ok |
# |
Sep 22nd 2011, 16:32 |
TheWarden |
ScottO_: yes |
# |
Sep 22nd 2011, 16:32 |
ScottO_ |
on belongsTo? |
# |
Sep 22nd 2011, 16:32 |
ScottO_ |
TheWarden: which was that answering? |
# |
Sep 22nd 2011, 16:32 |
TheWarden |
) |
# |
Sep 22nd 2011, 16:32 |
TheWarden |
ScottO_: Only if I need to define more properties at least according to the book. |
# |
Sep 22nd 2011, 16:31 |
ScottO_ |
scratch the last concern |
# |
Sep 22nd 2011, 16:31 |
ScottO_ |
oh nm you have a few |
# |
Sep 22nd 2011, 16:31 |
ScottO_ |
and why are you specifying the $useDbConfig? |
# |
Sep 22nd 2011, 16:31 |
ScottO_ |
$belongsTo is supposed to be an array isnt it? |
# |
Sep 22nd 2011, 16:31 |
TheWarden |
here's the view I'm presently in not that it matters what view I'm in as I get he same result... http://bin.cakephp.org/view/1055879171 |
# |
Sep 22nd 2011, 16:30 |
ScottO_ |
TheWarden: #useTable is unnecessary |
# |
Sep 22nd 2011, 16:30 |
ScottO_ |
oh ok |
# |
Sep 22nd 2011, 16:30 |
TheWarden |
ScottO_: I have done so already... http://pastebin.com/wwTBcfn3 |
# |
Sep 22nd 2011, 16:29 |
ScottO_ |
~tell TheWarden about bin |
# |
Sep 22nd 2011, 16:29 |
TheWarden |
ScottO_: as I've stated I don't have such a table, it shouldn't be putting a prefix of web_ yet it does anyways using the wrong data source config in the database.php yet the $useDbConfig is defined. |
# |
Sep 22nd 2011, 16:29 |
ScottO_ |
TheWarden: please bin any actual errors and related code |
# |
Sep 22nd 2011, 16:28 |
ScottO_ |
TheWarden: pay VERY close attention to the cakephp naming conventions |
# |
Sep 22nd 2011, 16:28 |
TheWarden |
ScottO_: start over.. crap I've put a lot into this and your saying to start it all over. Everything is so basic at this point too... only problem comes into play when I try to link a table. |
# |
Sep 22nd 2011, 16:28 |
ScottO_ |
the Class for that table should be WebDongleKeysHardware |
# |
Sep 22nd 2011, 16:27 |
ScottO_ |
sounds like something wrnog was done |
# |
Sep 22nd 2011, 16:27 |
TheWarden |
ScottO_: second I keep getting "Error: Database table web_dongle_keys_hardwares for model DongleKeysHardware was not found.". |
# |
Sep 22nd 2011, 16:27 |
ScottO_ |
TheWarden: start over? |
# |
Sep 22nd 2011, 16:26 |
TheWarden |
ScottO_: Because my model is not loading and the wrong database source is being used. yet it is defined. but other than that I dunno. |
# |
Sep 22nd 2011, 16:25 |
ScottO_ |
P |
# |
Sep 22nd 2011, 16:25 |
ScottO_ |
TheWarden: help me help you |
# |
Sep 22nd 2011, 16:25 |
ScottO_ |
how do you know theres an error? |
# |
Sep 22nd 2011, 16:24 |
TheWarden |
ScottO_: lol one would think that but when you don't see the error that doesn't help solve it. I guess I just walk away for now and try doing something else as I've run out of ideas. |
# |
Sep 22nd 2011, 16:24 |
ScottO_ |
TheWarden: good, then you shouldnt have any problems then |
# |
Sep 22nd 2011, 16:24 |
TooMuchCaffeine |
ScottO_: true. but i'm not sure about explicit type comparison like === |
# |
Sep 22nd 2011, 16:23 |
TheWarden |
ScottO_: so far I have no idea... but most likely myself. Can't see the error. One bonus is I should soon be able to recite the book word for word :). |
# |
Sep 22nd 2011, 16:22 |
ScottO_ |
TooMuchCaffeine: and isnt (bool) 1 unnecessary sicne any integer other than 0 is true? |
# |
Sep 22nd 2011, 16:21 |
ScottO_ |
and what do you mean by "linkuing tables" |