Log message #4104590

# At Username Text
# Dec 18th 2017, 17:46 joop and where should locate the costume validation file?
# Dec 18th 2017, 17:45 joop okey ive just tried taht before i ask your help
# Dec 18th 2017, 17:45 hmic there are no choices!
# Dec 18th 2017, 17:45 joop in the model where i want to use : use App\ORM\Rule;
# Dec 18th 2017, 17:44 joop it was Model\Rule
# Dec 18th 2017, 17:43 hmic like the dir your file is in
# Dec 18th 2017, 17:43 hmic App\Model\Rule
# Dec 18th 2017, 17:43 hmic no
# Dec 18th 2017, 17:43 joop okey i set up the namespace in the ValidPoint.php file namespace App\Model\Table;
# Dec 18th 2017, 17:28 joop moment i try tocheck the namespace
# Dec 18th 2017, 17:23 hmic how do you use the validation rules that this provider provides?
# Dec 18th 2017, 17:23 joop thank you for your patient
# Dec 18th 2017, 17:23 joop maybe the namespace is wrong i check it now
# Dec 18th 2017, 17:22 hmic you then use App\Model\Rule\ValidPoint as the second param of setProvider
# Dec 18th 2017, 17:21 hmic joop: you have a file called ValidPoint.php in your src/Model/Rule dir with a namespace of App\Model\Rule and a class of ValidPoint?
# Dec 18th 2017, 17:19 joop what i tried now $validator->setProvider('costum','\Rule\ValidPoint\ValidPoint');
# Dec 18th 2017, 17:15 bravo-kernel ,
# Dec 18th 2017, 17:15 bravo-kernel logout and login always load `.bash_aliases`, through `~/.bashrc`
# Dec 18th 2017, 17:13 bravo-kernel which runs `/cakebox/console/bin/cake`
# Dec 18th 2017, 17:12 bravo-kernel the alias is in `~/.bash_aliases`
# Dec 18th 2017, 17:08 bravo-kernel @birdy247 did you try a --provision, it could be the pointer is broken?
# Dec 18th 2017, 17:07 rafael.junqueira.sant How do I access data from a table which I joined, while iterating?
# Dec 18th 2017, 17:05 aro i am getting build errors in assetCompress - is there a way to debug what file triggers the errror?
# Dec 18th 2017, 17:01 joop okey i try with 'App\Model\Rule\ValidPoint'
# Dec 18th 2017, 16:59 joop now the provider's sec parameter is 'App\Model\Rule'
# Dec 18th 2017, 16:58 hmic this said, the class in your file needs to be called like the file is
# Dec 18th 2017, 16:58 hmic it needs to be the filename/classname including namespace
# Dec 18th 2017, 16:58 hmic whats in your setProvider second param?
# Dec 18th 2017, 16:58 hmic joop: what is your file called, with path relative to src?
# Dec 18th 2017, 16:58 joop i dont understand why this still looking for in the Model\Table
# Dec 18th 2017, 16:57 joop but still Call to undefined function App\Model\Table\ValidPoint()
# Dec 18th 2017, 16:56 joop i try to call like this https://pastebin.com/8m3nh8L9
# Dec 18th 2017, 16:51 joop i dont understand why this still thinks as a table validation rule
# Dec 18th 2017, 16:51 joop i also copied the rule file to src/Model/Rule folder
# Dec 18th 2017, 16:49 joop it is my costume validation rule
# Dec 18th 2017, 16:48 joop well its not a core,just thought it will be easier to link
# Dec 18th 2017, 16:47 neon1024 This is a class namespace, http://php.net/manual/en/language.namespaces.rationale.php
# Dec 18th 2017, 16:47 neon1024 Note here `$validator->setProvider('custom', 'App\Model\Validation');`
# Dec 18th 2017, 16:47 neon1024 When I linked you to the book 4.5 hours ago, I kind of assumed you’d read it
# Dec 18th 2017, 16:46 neon1024 Did you mean to use a namespace, or a file path or what?
# Dec 18th 2017, 16:46 neon1024 What even is that?