# |
Apr 19th 2017, 12:28 |
Junior |
i had $this->belongsTo('Users', [ instead of $this->belongsTo('AuthAcl.Users', [ |
# |
Apr 19th 2017, 12:28 |
Junior |
fixed that one |
# |
Apr 19th 2017, 12:27 |
inoas |
does it live in a plugin? |
# |
Apr 19th 2017, 12:27 |
inoas |
heh |
# |
Apr 19th 2017, 12:26 |
Junior |
fmm |
# |
Apr 19th 2017, 12:26 |
Junior |
i even get Missing or miss-referenced table class for database table users (auto-tables). |
# |
Apr 19th 2017, 12:26 |
Junior |
nicve |
# |
Apr 19th 2017, 12:25 |
inoas |
hm cant find that myself ;) |
# |
Apr 19th 2017, 12:24 |
inoas |
somewhere it sets footprints as the default table |
# |
Apr 19th 2017, 12:24 |
inoas |
I'd look at the source of fooprint |
# |
Apr 19th 2017, 12:24 |
inoas |
https://github.com/cakephp/cakephp/issues/3795 |
# |
Apr 19th 2017, 12:23 |
Junior |
meaning that i have followed the readme |
# |
Apr 19th 2017, 12:23 |
Junior |
i have no ideea at this point what i have done now |
# |
Apr 19th 2017, 12:23 |
inoas |
you gotta fix that bigfoot running around! |
# |
Apr 19th 2017, 12:22 |
inoas |
LOL |
# |
Apr 19th 2017, 12:22 |
Junior |
:) |
# |
Apr 19th 2017, 12:22 |
Junior |
inoas now i get: Missing or miss-referenced table class for database table footprints (auto-tables). |
# |
Apr 19th 2017, 12:21 |
inoas |
when hand crafting things and having typos |
# |
Apr 19th 2017, 12:21 |
inoas |
I think just today I saw that exception maybe 4 times ;p |
# |
Apr 19th 2017, 12:19 |
inoas |
but then creating the file is a 30sec job |
# |
Apr 19th 2017, 12:19 |
inoas |
aside bake-time I have only seen one case where I found them to be okay - simplistic M:N joins |
# |
Apr 19th 2017, 12:19 |
inoas |
auto-tables = hell |
# |
Apr 19th 2017, 12:18 |
Junior |
that makes sense, let me see |
# |
Apr 19th 2017, 12:18 |
inoas |
add debug('hi') on top of addBehavior() |
# |
Apr 19th 2017, 12:18 |
inoas |
easier: |
# |
Apr 19th 2017, 12:18 |
inoas |
to make sure that AuthComponent/Muffin actually loads your correct php table file ;p |
# |
Apr 19th 2017, 12:18 |
Junior |
inoas, why should i do that? you lost me a little :) |
# |
Apr 19th 2017, 12:16 |
hmic |
i hate legal shit, but it has bit my ass way to often :O |
# |
Apr 19th 2017, 12:16 |
inoas |
that's what I got in my bootstrap.php |
# |
Apr 19th 2017, 12:16 |
inoas |
https://gist.github.com/inoas/759a443fc6520b34e8507ae74125909f |
# |
Apr 19th 2017, 12:15 |
Junior |
inoas what table? |
# |
Apr 19th 2017, 12:15 |
inoas |
Junior sure that that table exists |
# |
Apr 19th 2017, 12:14 |
hmic |
make it private or delete the gist later on, just not to get bitten when selling the company for a fortune in the years to come :D |
# |
Apr 19th 2017, 12:14 |
inoas |
https://www.instagram.com/p/BF3uXymCXTE/ LOL |
# |
Apr 19th 2017, 12:14 |
inoas |
Select all images with a gas station. |
# |
Apr 19th 2017, 12:14 |
Junior |
so inside the $this->_currentUserInstance i have values but i do not know why but data is not saved, i have put the columsn to be saved "always" |
# |
Apr 19th 2017, 12:14 |
inoas |
junior it only sucks because of the google captcha |
# |
Apr 19th 2017, 12:13 |
inoas |
I was just lazy man! |
# |
Apr 19th 2017, 12:13 |
hmic |
just my 5ct :d |
# |
Apr 19th 2017, 12:13 |
inoas |
yeah |
# |
Apr 19th 2017, 12:13 |
hmic |
so better remove ownership (and) licence before pasting |