Log message #3944089

# At Username Text
# Oct 8th 2016, 21:05 theovert tried like i18nFormat('M dd, yyyy HH:mm',$timezone)
# Oct 8th 2016, 21:05 theovert hi there, someone can advice ? trying to format like May 10, 2016 3:30 output of i18nFormat() fct
# Oct 8th 2016, 20:10 admad or in layout itself before calling getCrumbs()
# Oct 8th 2016, 20:10 admad in any view template or element
# Oct 8th 2016, 19:48 samyak on the same ctp file?
# Oct 8th 2016, 19:48 samyak Now where do I add add $this->Html->addCrumb('Users', '/users');
# Oct 8th 2016, 19:48 samyak Hi guys, I am trying to create breadcrumbs using HTML helper. I added echo $this->Html->getCrumbs(' > ', 'Home'); on my layout file.
# Oct 8th 2016, 18:10 moose517 make sure there wasn't anything breaking in that
# Oct 8th 2016, 18:10 moose517 did you check the upgrade guide first?
# Oct 8th 2016, 16:32 Inocenti Hi guys, I just upgraded my cakephp 3.2 to cakephp 3.3 using composer. Just after the upgrade my project started to display the following error: Controller XXX not found. This occours in all pages/controllers. Has anyone a clue of what is going on?
# Oct 8th 2016, 15:47 Boca @hmic thx
# Oct 8th 2016, 15:44 hmic you should look at what routes it setup to understand whats going on and how you can probably get it done yourself
# Oct 8th 2016, 15:44 hmic you could use rest which would make the correct decision, if its a get request (and content type fits)
# Oct 8th 2016, 15:43 Boca ad not to use categories/view/10/traffic
# Oct 8th 2016, 15:43 Boca public function view($id = null)
# Oct 8th 2016, 15:42 Boca I have link like categories/10/traffic and how can I with this link call categories controller and view function ?
# Oct 8th 2016, 15:28 artisanIndia how would I generate a controller with cakephp 3 ?
# Oct 8th 2016, 15:16 mikatone ndm thank you
# Oct 8th 2016, 15:12 mikatone nice
# Oct 8th 2016, 15:12 mikatone ndm ok so custom rule must return something
# Oct 8th 2016, 15:09 ndm Your _class method_ returns something, but your validation rule _function_ doesn't!
# Oct 8th 2016, 15:07 mikatone ndm one thing is for sure, is not working!
# Oct 8th 2016, 15:06 mikatone ndm I've debugged the function _isActive($value) and it is working fine, and yes the function can be passed without array, I just do not get what part is wrong because function is returning the right value according to parameter
# Oct 8th 2016, 15:04 ndm also the function should most probably not be passed in an array
# Oct 8th 2016, 15:02 ndm @mikatone Your rule currently "returns" null. You need to return the return value of `$this->_isActive($value)`
# Oct 8th 2016, 15:02 mikatone anyone available to help?
# Oct 8th 2016, 15:00 mikatone I'm having a bit of troubles with a custom validation rule not sure what is wrong here https://gist.github.com/anonymous/ae9ed90ebc18a7d6c607bb7756d7e151
# Oct 8th 2016, 14:11 mikatone how can i write a custom validation rule to check database for some value ?
# Oct 8th 2016, 13:23 bravo-kernel thanks, on with it then
# Oct 8th 2016, 13:23 bravo-kernel great, at least I was right about that
# Oct 8th 2016, 13:21 admad that's the only way
# Oct 8th 2016, 13:20 bravo-kernel would it work like including the ErrorController and CustomRoute in the crud plugin and then document how to set up the app?
# Oct 8th 2016, 13:19 bravo-kernel I have been wondering about something similar for the custom route that will probably be needed
# Oct 8th 2016, 13:19 bravo-kernel ok, I see
# Oct 8th 2016, 13:18 admad if ErrorController exists in your app it will be automatically be used
# Oct 8th 2016, 13:18 bravo-kernel :dancer:
# Oct 8th 2016, 13:17 bravo-kernel thanks
# Oct 8th 2016, 13:17 bravo-kernel haha
# Oct 8th 2016, 13:17 bravo-kernel aha, f** me, how obvious
# Oct 8th 2016, 13:17 admad you will have to use a custom error controller
# Oct 8th 2016, 13:17 bravo-kernel useful for making your API respond exactly how you want to but... not for the errors atm hence my question