# |
Nov 25th 2017, 20:16 |
saeideng |
how can I pass arg to virtual field ( getter method ) ? |
# |
Nov 25th 2017, 20:16 |
saeideng |
hi |
# |
Nov 25th 2017, 13:36 |
justcharlz |
I need help with .htaccess as my site is showing internal server error 500. Upon checking, the error was caused by invalid redirect on .htaccess. My folder structure is sitefolder>appfolder (appfolder where the .htaccess and the main application files are). Using cake3. Moved all the folders and files in the appfolder to the subdomain root directory of my server and still giving me the Error 500 |
# |
Nov 25th 2017, 12:33 |
dereuromark |
@bigsista: no, but sounds interesting |
# |
Nov 25th 2017, 11:48 |
Bigsista |
is anyone currently online using gulp + browsersnc for development? |
# |
Nov 25th 2017, 11:47 |
Bigsista |
hi all. ltns |
# |
Nov 25th 2017, 10:53 |
soubhik |
hmm ok |
# |
Nov 25th 2017, 10:48 |
saeideng |
and I found this in cake and not in laravel |
# |
Nov 25th 2017, 10:47 |
saeideng |
for me clean and standard code important |
# |
Nov 25th 2017, 10:45 |
soubhik |
@saeideng In what sense its better? I mean what does cake provide that laravel doesnt? |
# |
Nov 25th 2017, 10:44 |
saeideng |
see core codes |
# |
Nov 25th 2017, 10:43 |
saeideng |
Cake is better than laravel IMO |
# |
Nov 25th 2017, 10:41 |
soubhik |
Hi I am new to CakePHP, I was wondering if its better than Laravel? |
# |
Nov 25th 2017, 07:48 |
ksandeep_ |
how to check if login required to access a page, neon1024 replied yesterday but i need this to manage custom Access Control. |
# |
Nov 24th 2017, 23:55 |
slackebot2 |
change mail server (for example local dev we use Mailhog, in staging we use Mailtrap.io) and any other overrides |
# |
Nov 24th 2017, 23:55 |
sdevore |
@andre in these types of cases (other then test because I have the test entry for that, in the bootstrap I load (if it exists) a local.php that just has the db settings in it (right after where the app.php is loaded with `Configure::load('local', 'default');` like shown in https://book.cakephp.org/3.0/en/development/configuration.html#loading-additional-configuration-files (this file is ignored in my version control) I can also use it to |
# |
Nov 24th 2017, 23:50 |
ziemowit |
You mean that? https://book.cakephp.org/3.0/en/views/helpers/number.html#formatting-numbers Because I need it to be global. |
# |
Nov 24th 2017, 23:35 |
saeideng |
use format helper |
# |
Nov 24th 2017, 23:21 |
ziemowit |
How can I globally change number formating without chaniging the locales in Cake3? |
# |
Nov 24th 2017, 22:47 |
saeideng |
but nested form not allowed in HTML |
# |
Nov 24th 2017, 22:46 |
saeideng |
you able to use multi create() in a file |
# |
Nov 24th 2017, 22:45 |
saeideng |
what you mean from "mixing modells"? |
# |
Nov 24th 2017, 22:07 |
joopm |
can i have 2 $this->Form->create in tha same template file |
# |
Nov 24th 2017, 22:03 |
joopm |
i need to mixing modells in the create form |
# |
Nov 24th 2017, 22:02 |
joopm |
today i faced with some new challenges |
# |
Nov 24th 2017, 22:02 |
joopm |
good evening to all the community members |
# |
Nov 24th 2017, 18:11 |
andre |
Is there a better way to manage this? |
# |
Nov 24th 2017, 18:10 |
andre |
but this dont work on migration |
# |
Nov 24th 2017, 18:10 |
andre |
File uploaded https://cakesf.slack.com/files/U857JK89G/F857K7726/-.php / https://slack-files.com/T053DPNCM-F857K7726-d164966abc |
# |
Nov 24th 2017, 18:10 |
slackebot2 |
from what is it today? This could also define debug as false if production or test and true if development. In my app I did this: |
# |
Nov 24th 2017, 18:10 |
andre |
Hey guys is there way to define multiple multiple connection to multiple database, one for development, one for tests and other for production. I have found on stack overflow some tips, to get by url and pass many and different settings, so I've improved it on my app, but I realized that when I try to run migrations that don't work because that has no url to pass, Is there another way to do that? Or do you intend to manage app mode different |
# |
Nov 24th 2017, 17:29 |
alysson-azevedo |
thank you very much |
# |
Nov 24th 2017, 17:29 |
admad |
@alysson-azevedo ^ |
# |
Nov 24th 2017, 17:28 |
admad |
https://github.com/cakephp/app/blob/master/config/app.default.php#L144 |
# |
Nov 24th 2017, 17:21 |
alysson-azevedo |
Hi. How can i prevent an expecific exception (\Cake\Network\Exception\UnauthorizedException) from being logged on error.log ? |
# |
Nov 24th 2017, 16:55 |
inoas |
@WyriHaximus - but have a great weekend nevertheless :) |
# |
Nov 24th 2017, 16:53 |
inoas |
because right now you can even read the database credentials, nothing dumb about that |
# |
Nov 24th 2017, 16:51 |
inoas |
Okay, I don't agree obviously, because if templates should be dumb then the a function like config that reads its context should not be there in the first place and rather everything should be pushed. If you violate that principle then I prefer if things can also fail. Configure::read() is a bad design by default. But no worries :) |
# |
Nov 24th 2017, 16:48 |
inoas |
just if you desire |
# |
Nov 24th 2017, 16:38 |
WyriHaximus |
inoas: honestly I'm unsure about that, will comment specifics in that issue |
# |
Nov 24th 2017, 16:01 |
inoas |
WyriHaximus: merge it and ping me I will copy it add configOrFail() if you desire |