Log message #4132607

# At Username Text
# Apr 16th 2018, 14:27 dereuromark see my blog post
# Apr 16th 2018, 14:24 mikesmoniker Has anyone looked at / tried `rectorphp/rector`? I see a partial config for Cake 3.6 that I may look into expanding.
# Apr 16th 2018, 13:19 xinobi I can see crabstudio > src / ... under vendor also added Plugin::load('Recaptcha'); under bootstrap.php
# Apr 16th 2018, 13:14 xinobi Error: Create the class RecaptchaHelper below in file: src/View/Helper/RecaptchaHelper.php
# Apr 16th 2018, 13:14 xinobi I'm using initializer to $this->loadComponent('Recaptcha.Recaptcha', [ ... ]
# Apr 16th 2018, 13:13 xinobi I'm using https://github.com/agiletechvn/Recaptcha after all instructions I find my self with: Error: RecaptchaHelper could not be found.
# Apr 16th 2018, 12:03 spencdev Good morning!
# Apr 16th 2018, 11:06 neon1024 Afternoon everyone
# Apr 16th 2018, 09:50 edgaras.jan but still check date in validator
# Apr 16th 2018, 09:50 edgaras.jan there is min attribute `<input type="date" name="bday" min="2000-01-02">`, so add today date
# Apr 16th 2018, 09:15 portilloster I´m trying this but it´s not working: echo $this->Form->control('FechaAltaSolicitud',[array('rule' => array('comparison','<', date()), 'message' => 'Dates cannot be in the past.')]);
# Apr 16th 2018, 09:14 portilloster Hi guys, is there a simply way to validate a date from the form that cannot be in the past?
# Apr 16th 2018, 08:45 joopm is that right that,if i use loadModel('ModelName');....and make a query statement for the foregn models the Query interface willl be used to pass elements between models ?
# Apr 16th 2018, 08:44 joopm hello
# Apr 16th 2018, 07:23 djmenkveld I'm using CakePHP 2.x
# Apr 16th 2018, 07:23 djmenkveld Hi all, I'm getting a 'Call to a member function searchCustomer() on null' when I call a function of another controller and that controller function calls a function of a component... Anybody an idea? (if I call the component function directly in my controller it executes)
# Apr 16th 2018, 05:05 prasanna.venkat did anyone know how to use map reduce?
# Apr 16th 2018, 05:04 prasanna.venkat hi
# Apr 15th 2018, 19:09 stalkerxxl I thought that login - for guests for auth.users - logout
# Apr 15th 2018, 19:02 saeideng logout can be a public action
# Apr 15th 2018, 18:54 stalkerxxl File uploaded https://cakesf.slack.com/files/UA5RA3X9V/FA6D9FZUG/image.png / https://slack-files.com/T053DPNCM-FA6D9FZUG-63e3c4caaa
# Apr 15th 2018, 18:53 stalkerxxl The documentation says that you need to allow unauthorized users to add and logout actions $ this-> Auth-> allow (['add', 'logout']); Why does an unauthorized user - action logout? Is this a bug in the documentation or am I misunderstanding something?
# Apr 15th 2018, 18:53 stalkerxxl Hi guys!
# Apr 15th 2018, 17:28 nitesh573 is there anyone
# Apr 15th 2018, 17:28 nitesh573 hi
# Apr 15th 2018, 16:04 nitesh573 i am stuck and looking likes it's deadlock for me
# Apr 15th 2018, 16:04 nitesh573 @spencdev kindly help to find a solution
# Apr 15th 2018, 15:25 nitesh573 that's why i m in trouble
# Apr 15th 2018, 15:25 nitesh573 i did that.. but i am not getting the image in request body
# Apr 15th 2018, 14:33 spencdev The image content should be in the request body itself. I'm just not entirely sure _where_ that is in Cake
# Apr 15th 2018, 14:31 spencdev Well, `Content-ID:` is not the image data itself. That's being set by `$file->contentId()` Your actual file data is being sent with `(string) $data` I've never done it this way, but there are many different ways of doing it.
# Apr 15th 2018, 14:29 graziel check file_get_contents('php://input') in your api server it should have raw data without cake processing
# Apr 15th 2018, 14:26 nitesh573 @spencdev is there any other way to post and receive image using api
# Apr 15th 2018, 14:25 nitesh573 this part in response contains the fileuploaded also image in binary format
# Apr 15th 2018, 14:24 nitesh573 [stream:protected] => Zend\Diactoros\PhpInputStream Object ( [cache:Zend\Diactoros\PhpInputStream:private] => --c3beca06404cc2c3c2f16a83dd43cb91 Content-Disposition: attachment; name="imageFile"; filename="phpm05imk" Content-Type: image/jpeg; charset=binary Content-ID:
# Apr 15th 2018, 14:22 nitesh573 sharing my response on same gist
# Apr 15th 2018, 14:21 spencdev you said that you can see the file contents on the API but can't access it? I'm confused on what you mean by that. Is there an error?
# Apr 15th 2018, 14:21 nitesh573 @spencdev yes. all the platforms are of cakephp3
# Apr 15th 2018, 14:20 nitesh573 yes. we have two servers A and B. on server A code for UI is written and for some initial checks. Server B contain apis also server B. Server A is allowed to send request to server B using httpclient
# Apr 15th 2018, 14:20 spencdev the "code at API server" that is CakePHP as well?
# Apr 15th 2018, 14:17 spencdev Is there a particular reason you're doing it this way?