Log message #4209160

# At Username Text
# Oct 16th, 13:53 david is the ->translation() method the provided by the trait?
# Oct 16th, 13:51 david Mmm, I think I have made a mistake reading the docs
# Oct 16th, 13:48 admad just using the trait won't do anything, you have to use the method the trait provides :slightly_smiling_face:
# Oct 16th, 13:48 david the result of that pr() is the same using or not the TranslaitTrair
# Oct 16th, 13:47 david <?php pr($this->Variables->find('translations')->first()); ?>
# Oct 16th, 13:47 david I am using Translate behaviour. Documentation says that "Working with multiple translations can be done by using a special trait in your Entity class" (using TranslateTrait). I have an entity not using TranslateTrait, and I can't find any difference between using and not using it.
# Oct 16th, 13:42 paul_83uk Hi All, I'm using Cake\Http\Cookie to create all cookies for my site but I'm looking to set 'SameSite=Lax' as one of the configuration values (I have a PEN test coming up). This does not appear to be an option within the class. Is there a way around this or do I need to stop using the class for now?
# Oct 16th, 12:19 eax Good to know, thanks @dereuromark! :slightly_smiling_face:
# Oct 16th, 12:17 dereuromark dunno, but for us ulimit -n 65535 worked with larger code base.
# Oct 16th, 12:17 eax @dereuromark Ok, that’s the only solution?
# Oct 16th, 12:17 dereuromark set ulimit higher
# Oct 16th, 12:16 eax Hi folks! Just upgraded from Cake 3.7.6 to 3.8.5, and I am having some issues running my tests. Specifically, I get: failed to open stream: Too many open files in /home/sites/mysite/htdocs/vendor/composer/ClassLoader.php on line 412. This didn’t happen before the upgrade. Any ideas what I could be doing wrong?
# Oct 16th, 11:33 javier.villanueva yes ... im very nerd... last time with csv extension i had the same problem, and I forgot it
# Oct 16th, 11:32 admad hopefully learned an important lesson in debugging :slightly_smiling_face:
# Oct 16th, 11:32 javier.villanueva i forgot exclude this extension for the theme
# Oct 16th, 11:32 javier.villanueva solved... after hours... is the theme
# Oct 16th, 11:31 javier.villanueva ok
# Oct 16th, 10:10 javier.villanueva if someone has been able to install cakePdf in Cakephp 3.8 please notice me :S
# Oct 16th, 08:37 javier.villanueva cakepdf ignore my config.... :( always show a pdf viewer and return An error ocurred loading a pdf file
# Oct 16th, 08:34 admad try using expression instead of key => value in conditions
# Oct 16th, 08:23 scuadra I also tried the third param of where to be true
# Oct 16th, 08:22 scuadra and my where clause ->where($this->conditions, ['id' => 'string'])
# Oct 16th, 08:22 scuadra these are my conditions $conditions["$field LIKE"] = "%$value%";
# Oct 16th, 08:21 scuadra @admad I still get the error "Cannot convert value of type `string` to integer"
# Oct 16th, 08:18 javier.villanueva i set default config with a CakePdf.php file in config
# Oct 16th, 08:17 javier.villanueva ok, config problem solved with cakepdf...
# Oct 16th, 08:17 ra7bi when i check the Request after post i can see Requests => ids => [0=>12, 1=>13]
# Oct 16th, 08:16 ra7bi do patchEntity can handle that ?
# Oct 16th, 08:15 ra7bi i also tried what ndm told me but can not make it work .
# Oct 16th, 08:14 ra7bi I have three tables , ``` Requests ---> BelongToMany ---> Details ``` and i have ``` Reports -----> BelongTo ---> Requests``` i want in Add report form add a Requests Details i tried ``` $this->select('Requests.'.$request->id.'.Details._ids' ) ``` and ``` $this->select('Requests.'.$request->id.'.Details._fieldName' ) ``` but not working
# Oct 16th, 08:10 javier.villanueva Configure::write('CakePdf', [ 'engine' => [ 'className' => 'CakePdf.WkHtmlToPdf', 'binary' => 'C:\\wkhtmltopdf\\bin\\wkhtmltopdf.exe', 'cwd' => 'C:\\wkhtmltopdf\\bin' ], 'margin' => [ 'bottom' => 15, 'left' => 50, 'right' => 30, 'top' => 45 ], 'orientation' => 'landscape', 'download' => true ]);
# Oct 16th, 08:10 javier.villanueva this is my config
# Oct 16th, 08:07 scuadra ah, ok :slightly_smiling_face:
# Oct 16th, 08:07 scuadra how to do it :face_with_rolling_eyes:
# Oct 16th, 08:07 admad 'string'
# Oct 16th, 08:07 scuadra @admad I tried ['id' => 'varchar'] but with no effect
# Oct 16th, 08:06 admad @scuadra override the field using $types argument of where()
# Oct 16th, 08:00 scuadra and I am still getting "Cannot convert value of type `string` to integer" error
# Oct 16th, 07:59 scuadra In cake2 it was OK but now I have issues to make it work
# Oct 16th, 07:59 javier.villanueva I havent.... but configure 404 is getEngine... then seems this missing configuration
# Oct 16th, 07:58 scuadra when I type 12 I want to get all the apps that start with 12 -> 12, 123, 121, 1243.....