# |
Jun 28th 2017, 02:11 |
savant |
ComponentRegistry, HelperRegistry, LogEngineRegistry… etc. |
# |
Jun 28th 2017, 02:11 |
xuding |
interesting! |
# |
Jun 28th 2017, 02:11 |
savant |
You can see that in any of the ObjectRegistry classes, like TableRegistry |
# |
Jun 28th 2017, 02:10 |
savant |
If you mean a service locator, which is a common pattern related to DIC, then we already do that |
# |
Jun 28th 2017, 02:10 |
savant |
since you just have thing that contains a reference to everything/can make it out of thin air |
# |
Jun 28th 2017, 02:10 |
savant |
Thats what a DIC usually ends up being used as in an application |
# |
Jun 28th 2017, 02:09 |
savant |
Do you mean `$_GLOBALS`? |
# |
Jun 28th 2017, 02:06 |
xuding |
why didn’t CakePHP choose to go the DIC container route? |
# |
Jun 28th 2017, 02:06 |
savant |
? |
# |
Jun 28th 2017, 02:05 |
xuding |
might be a dumb qns. |
# |
Jun 28th 2017, 00:37 |
savant |
no problem, good luck! |
# |
Jun 28th 2017, 00:37 |
aproapedelune |
thank you! :slightly_smiling_face: |
# |
Jun 28th 2017, 00:34 |
savant |
https://serverfault.com/questions/422507/mysql-incorrect-information-in-file-corrupt-error |
# |
Jun 28th 2017, 00:34 |
savant |
here is a stackoverflow answer regarding steps you can take to recover |
# |
Jun 28th 2017, 00:34 |
savant |
you have a corrupt database |
# |
Jun 28th 2017, 00:31 |
savant |
whats the exact error message? |
# |
Jun 28th 2017, 00:30 |
aproapedelune |
Thank you. I created the project and made the connection with my database. The database has 3 tables, I m trying to follow the acl application tutorial. When I try to bake the tables, I have an error. I write cake bake all table_name but it doesn t work. It returns "Exception: SQLSTATE[HY000] : General error: 1033 Incorrect information in file..... |
# |
Jun 28th 2017, 00:21 |
savant |
you can manually create a controller |
# |
Jun 28th 2017, 00:21 |
aproapedelune |
Ok, thank you. All the Controllers should be generated, or I can manually create one? |
# |
Jun 28th 2017, 00:17 |
savant |
@aproapedelune just ask your question and if someone knows the answer, they will try to help |
# |
Jun 28th 2017, 00:17 |
aproapedelune |
some* |
# |
Jun 28th 2017, 00:16 |
aproapedelune |
Hello! I have s stupid questions, can anybody help me, please? |
# |
Jun 27th 2017, 22:02 |
moose517 |
problem has been i've been living away from home, so i had to develop directly on live cause i couldn't get VPN working XD version control would have saved me from what i just goofed haha. But thanks savant! |
# |
Jun 27th 2017, 22:02 |
moose517 |
pebkac bug LOL |
# |
Jun 27th 2017, 22:02 |
savant |
not a bug in his upgrade :slightly_smiling_face: |
# |
Jun 27th 2017, 22:01 |
savant |
looks like it was just that moose517 overwrote that page |
# |
Jun 27th 2017, 21:57 |
savant |
okay so did you check general php logs and also app logs? |
# |
Jun 27th 2017, 21:57 |
moose517 |
but yeah i checked both logs |
# |
Jun 27th 2017, 21:57 |
moose517 |
i use nginx |
# |
Jun 27th 2017, 21:54 |
savant |
in both php and apache? |
# |
Jun 27th 2017, 21:54 |
moose517 |
only thing in the logs is that toolbar.js is 404'ing |
# |
Jun 27th 2017, 21:48 |
moose517 |
that front page was more or less blank to begin with, but i'm guessing my stupidness was developing what i was doing on that page on live and just overwrote it XD |
# |
Jun 27th 2017, 21:48 |
savant |
if you’re using apache, also check those logs |
# |
Jun 27th 2017, 21:48 |
savant |
check your logs? |
# |
Jun 27th 2017, 21:47 |
moose517 |
nope https://api.moosecraft.us |
# |
Jun 27th 2017, 21:45 |
savant |
is this local? |
# |
Jun 27th 2017, 21:45 |
moose517 |
i really do, but yeah debug mode is on, i manually deleted out the cache files and still blank |
# |
Jun 27th 2017, 21:44 |
savant |
you say lol a lot |
# |
Jun 27th 2017, 21:43 |
savant |
turn on debug mode |
# |
Jun 27th 2017, 21:42 |
moose517 |
LOL i can't even get the debut toolbar to show u |
# |
Jun 27th 2017, 21:38 |
savant |
clear your app cache |