# |
Jun 29th 2017, 07:26 |
slackebot |
~tell manuweg about gist |
# |
Jun 29th 2017, 07:26 |
slackebot |
Command sent from Slack by savant: |
# |
Jun 29th 2017, 07:26 |
savant |
can you gist your table class? |
# |
Jun 29th 2017, 07:25 |
manuweg |
2017-06-29 07:07:02 Error: [Cake\Database\Exception] SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cttpcake.order_items' doesn't exist in /Users/wegmershaus/Dropbox/Websites/public_html/cttpcake/vendor/cakephp/cakephp/src/Database/Schema/Collection.php on line 131 |
# |
Jun 29th 2017, 07:25 |
manuweg |
Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cttpcake.order_items' doesn't exist in [/Users/wegmershaus/Dropbox/Websites/public_html/cttpcake/vendor/cakephp/cakephp/src/Database/Schema/Collection.php, line 131] |
# |
Jun 29th 2017, 07:25 |
manuweg |
error |
# |
Jun 29th 2017, 07:25 |
manuweg |
bin/cake bake template --plugin Shop --theme NiceAdminBakeTheme OrderItems |
# |
Jun 29th 2017, 07:25 |
manuweg |
command |
# |
Jun 29th 2017, 07:25 |
manuweg |
I get an error let me paste it hang on |
# |
Jun 29th 2017, 07:24 |
savant |
they should pick up your table class properly |
# |
Jun 29th 2017, 07:24 |
savant |
just bake the templates as normal |
# |
Jun 29th 2017, 07:24 |
manuweg |
I have baked the models and controllers successfully |
# |
Jun 29th 2017, 07:23 |
manuweg |
I just want to know how to bake templates for a model where the table name has been set because I use a table prefix |
# |
Jun 29th 2017, 07:23 |
manuweg |
cool! |
# |
Jun 29th 2017, 07:23 |
admad |
this is the right place for all questions related to cakephp :slightly_smiling_face: |
# |
Jun 29th 2017, 07:22 |
manuweg |
I am not sure if this is the right place to ask these kind of questions so tell me if I am in the wrong place... |
# |
Jun 29th 2017, 07:21 |
manuweg |
Hi Guys. I am trying to bake cakephp 3.4 plugin templates for a plugin which has a table prefix shop_ |
# |
Jun 29th 2017, 07:07 |
admad |
found it on github |
# |
Jun 29th 2017, 07:04 |
admad |
Sebollson: what issue? |
# |
Jun 29th 2017, 06:36 |
savant |
all good now! |
# |
Jun 29th 2017, 06:36 |
savant |
:( |
# |
Jun 29th 2017, 06:36 |
savant |
also missing the flash message rendering |
# |
Jun 29th 2017, 06:36 |
savant |
turns out they were using the wrong username to login is all |
# |
Jun 29th 2017, 06:32 |
savant |
woops didnt realize i was in the wrong window |
# |
Jun 29th 2017, 06:28 |
savant |
save that file |
# |
Jun 29th 2017, 06:27 |
savant |
the connection froze for me |
# |
Jun 29th 2017, 06:27 |
savant |
what is your computer doing |
# |
Jun 29th 2017, 06:22 |
savant |
go to your logs directory |
# |
Jun 29th 2017, 06:22 |
savant |
okay |
# |
Jun 29th 2017, 06:21 |
savant |
open up the webkit inspector |
# |
Jun 29th 2017, 06:19 |
Sebollson |
i am wondering |
# |
Jun 29th 2017, 06:19 |
Sebollson |
hmm |
# |
Jun 29th 2017, 06:18 |
Sebollson |
right now ill move to beforeSave and lets hope nothing will break ;) |
# |
Jun 29th 2017, 06:18 |
Sebollson |
okay issue is up there lets see what markstory will say |
# |
Jun 29th 2017, 06:14 |
savant |
so not too sure |
# |
Jun 29th 2017, 06:14 |
savant |
i wasnt involved in the ORM creation |
# |
Jun 29th 2017, 06:14 |
Sebollson |
but implementation drove away :) |
# |
Jun 29th 2017, 06:14 |
savant |
yeah maybe |
# |
Jun 29th 2017, 06:14 |
Sebollson |
maybe by design it was that way |
# |
Jun 29th 2017, 06:14 |
Sebollson |
where I am expliclity said that it is commited and i cannot rollback |
# |
Jun 29th 2017, 06:14 |
savant |
yeah |