# |
Jan 17th 2019, 15:27 |
jhall |
and singular |
# |
Jan 17th 2019, 15:27 |
jhall |
ah yep you're right |
# |
Jan 17th 2019, 15:26 |
rrd564 |
however it starts with capital C |
# |
Jan 17th 2019, 15:26 |
jhall |
oh sweet thanks |
# |
Jan 17th 2019, 15:26 |
rrd564 |
@jhall just create it and that is all |
# |
Jan 17th 2019, 15:26 |
jhall |
I noticed my application does not contain a src/commands directory. Can I simply create it myself or is there some sorta backing I need to do to set that up? |
# |
Jan 17th 2019, 15:16 |
david |
thank you so much @admad, it works fine |
# |
Jan 17th 2019, 15:09 |
admad |
Create `I18nTable` and set connection in that too |
# |
Jan 17th 2019, 15:03 |
david |
that table doesn't exists in my current database. Is no way to specify CakePHP to find that table in the new database? |
# |
Jan 17th 2019, 15:00 |
david |
I am using two different database connections in a project, with two different databases. In my model I setup a defaultConnectionName to access a different DB than the current one. The new database has i18n, but my current code is looking for the "i18n" in my current database, instead of the new one setted up in "defaultConnectionName" |
# |
Jan 17th 2019, 13:48 |
Martin` |
really? did not see that, I will check that in my Application :) |
# |
Jan 17th 2019, 13:47 |
lubos |
Found it, we should use Application addPlugin instead |
# |
Jan 17th 2019, 13:41 |
lubos |
`Plugin::load('DebugKit', ['bootstrap' => true, 'routes' => true]);` causes deprecated error with 3.7, can't see in the migration guide what to do about this. It says `Plugin::bootstrap()`. Any ideas? |
# |
Jan 17th 2019, 11:34 |
asdfghj |
thanks!! |
# |
Jan 17th 2019, 11:34 |
asdfghj |
ok so the type in the buildschema is not very important for modeless forms |
# |
Jan 17th 2019, 11:33 |
asdfghj |
yes sure neon1024 |
# |
Jan 17th 2019, 11:32 |
neon1024 |
@ashish_onmobile https://book.cakephp.org/3.0/en/installation.html#permissions |
# |
Jan 17th 2019, 11:32 |
neon1024 |
@asdfghj It’s probably more to do with the FormHelper being able to detect the type of form input perhaps? |
# |
Jan 17th 2019, 11:31 |
asdfghj |
i mean...i must set a type |
# |
Jan 17th 2019, 11:31 |
asdfghj |
so i thought it was mandatory no? |
# |
Jan 17th 2019, 11:31 |
neon1024 |
Don’t beg. It’s unbecoming |
# |
Jan 17th 2019, 11:31 |
asdfghj |
neon1024 i do not care about it but in the modeless doc i see there is that method |
# |
Jan 17th 2019, 11:28 |
ashish_onmobile |
Please help |
# |
Jan 17th 2019, 11:28 |
ashish_onmobile |
I dont know how to fix. |
# |
Jan 17th 2019, 11:27 |
ashish_onmobile |
because tmp folder get access via apache and via shell too |
# |
Jan 17th 2019, 11:27 |
ashish_onmobile |
any feedback for this |
# |
Jan 17th 2019, 11:27 |
ashish_onmobile |
i tried to use this one |
# |
Jan 17th 2019, 11:26 |
ashish_onmobile |
sudo chown -R ubuntu:www-data tmp chmod -R 775 tmp |
# |
Jan 17th 2019, 11:26 |
neon1024 |
Use chmod and chown |
# |
Jan 17th 2019, 11:26 |
neon1024 |
Your cron is probably running as a different user |
# |
Jan 17th 2019, 11:26 |
ashish_onmobile |
how to set the proper permissoin |
# |
Jan 17th 2019, 11:26 |
neon1024 |
It’s just file system permissions |
# |
Jan 17th 2019, 11:26 |
ashish_onmobile |
when i run cron job in the |
# |
Jan 17th 2019, 11:25 |
ashish_onmobile |
some time i see this issue |
# |
Jan 17th 2019, 11:25 |
ashish_onmobile |
SplFileInfo::openFile(/var/www/html/tmp/cache/models/myapp_cake_model_default_users): failed to open stream: Permission denied in [/var/www/html/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 396] |
# |
Jan 17th 2019, 11:25 |
neon1024 |
I’ve never done a modelless form so probably the worst person to talk about it :P |
# |
Jan 17th 2019, 11:25 |
ashish_onmobile |
Need some help |
# |
Jan 17th 2019, 11:25 |
ashish_onmobile |
Hi Friends |
# |
Jan 17th 2019, 11:25 |
neon1024 |
So why do you even care about the schema? |
# |
Jan 17th 2019, 11:24 |
asdfghj |
model |
# |
Jan 17th 2019, 11:24 |
asdfghj |
neon1024 marshalled? it has no modle |