# |
Apr 2nd 2019, 09:38 |
challgren |
https://github.com/cakephp/migrations/pull/387 |
# |
Apr 2nd 2019, 09:37 |
dereuromark |
see open pr :) |
# |
Apr 2nd 2019, 09:36 |
challgren |
@willem I noticed this too and I believe its a Migrations bug that has yet to be reported |
# |
Apr 2nd 2019, 09:23 |
willem |
this is in the migrations help `-x, --dry-run Dump queries to standard output instead of executing it` but running migrate with -x shows: `Error: Unknown short option 'x'` |
# |
Apr 2nd 2019, 08:47 |
neon1024 |
snake-venom: I’d suggest writing your own api authentication adapter |
# |
Apr 2nd 2019, 08:46 |
roel |
Hello everyone, Currently I am using the Translate Behavior to save translations for my entities. Whenever I save an entity which has no translations (yet), it will save that record with a `NULL` value in my "default" table and it will set the actual value in the translationsTable. I would like the value to be stored in the "default" table and only the translations in the translations table. Thanks in advance. |
# |
Apr 2nd 2019, 08:40 |
snake-venom |
initialize() |
# |
Apr 2nd 2019, 08:40 |
snake-venom |
or in initiate() ? |
# |
Apr 2nd 2019, 08:40 |
snake-venom |
I want to verify API key in a controller, should i call method in BeforeFilter ? |
# |
Apr 2nd 2019, 08:36 |
challgren |
I have like 38 uses in my app |
# |
Apr 2nd 2019, 08:36 |
neon1024 |
Yeah, the prefix option got updated |
# |
Apr 2nd 2019, 08:29 |
hkosmidi |
@admad thanks! |
# |
Apr 2nd 2019, 08:27 |
anupgkale |
@admad thank you worked like a charm |
# |
Apr 2nd 2019, 08:26 |
admad |
@hkosmidi just make sure your root folder has this htaccess file https://github.com/cakephp/app/blob/master/.htaccess |
# |
Apr 2nd 2019, 08:26 |
challgren |
Damm my site has ‘prefix’ => null, guess I’ll have to update |
# |
Apr 2nd 2019, 08:26 |
anupgkale |
I tried to do null |
# |
Apr 2nd 2019, 08:26 |
challgren |
Ohh ok Ill have to update then |
# |
Apr 2nd 2019, 08:26 |
anupgkale |
will try false |
# |
Apr 2nd 2019, 08:25 |
admad |
'prefix' => false actullay |
# |
Apr 2nd 2019, 08:25 |
challgren |
In your array [‘prefix’ => null] |
# |
Apr 2nd 2019, 08:25 |
anupgkale |
I am stumpped |
# |
Apr 2nd 2019, 08:25 |
anupgkale |
I am just wondering how can i logout redirect from "/admin" prefix to "/" |
# |
Apr 2nd 2019, 08:24 |
challgren |
@om.axisweb please ask in the channel, not PM |
# |
Apr 2nd 2019, 08:24 |
hkosmidi |
I understand this, but plesk and as I can see cPanel have problem with this. Have you solved this somehow else? For example like @challgren says? |
# |
Apr 2nd 2019, 08:24 |
admad |
@om.axisweb don't PM me, ask in the channel |
# |
Apr 2nd 2019, 08:23 |
anupgkale |
Morning guys |
# |
Apr 2nd 2019, 08:23 |
admad |
@hkosmidi in production "webroot" should be your webserver's document root |
# |
Apr 2nd 2019, 08:21 |
challgren |
@hkosmidi I don’t know specifically someone else may |
# |
Apr 2nd 2019, 08:17 |
hkosmidi |
my question is, how can I make my site work nicely even when pointing to root folder, not webroot |
# |
Apr 2nd 2019, 08:17 |
om.axisweb |
cakephp 3.7 savemany check if result already exists then update else add new it possible ? |
# |
Apr 2nd 2019, 08:15 |
challgren |
Say for example your apache config goes bad and doesn’t process PHP files. Someone could gain access to your config/app.php and have access to your Salt’s and encryption keys. Plus any additional API keys you’ve specified |
# |
Apr 2nd 2019, 08:11 |
challgren |
https://book.cakephp.org/3.0/en/intro/cakephp-folder-structure.html |
# |
Apr 2nd 2019, 08:10 |
challgren |
nah move all that to the home dir |
# |
Apr 2nd 2019, 08:10 |
hkosmidi |
but inside public_html I have the full project structure |
# |
Apr 2nd 2019, 08:03 |
challgren |
I use cPanel/WHM and thats my solution delete the public_html folder and make webroot symbolic link to public_html |
# |
Apr 2nd 2019, 08:03 |
challgren |
What about deleting the root folder and then doing a symbolic link? |
# |
Apr 2nd 2019, 08:02 |
hkosmidi |
If I change the path to webroot, it appears correctly, but I don;t want to do this. because each time something changes in the domain, plesk reproduces the vhost files and changes the root folder |
# |
Apr 2nd 2019, 08:01 |
hkosmidi |
hi, I have a cakephp 3.7 website, and I moved it to a testing site. I use plesk for the subdomain, and plesk has a certain template for php+apache, whuich points to the root folder not webroot/. So may site doesn't load the css+images |
# |
Apr 2nd 2019, 07:56 |
challgren |
Morning! |
# |
Apr 2nd 2019, 07:56 |
neon1024 |
Morning all :wave: |
# |
Apr 2nd 2019, 04:32 |
admad |
@petteyg359 https://github.com/usemuffin/webservice |