Log message #3942490

# At Username Text
# Oct 5th 2016, 03:47 voycey that writes to all logs for that level
# Oct 5th 2016, 03:46 Unfaiir voycey, you define a type for your log and a path to where you want it to be there in bootstrap, then you can write to it using CakeLog::write('type', 'message');
# Oct 5th 2016, 03:42 voycey not what I asked but thanks - seems you cant write to a specific file - only use scopes to define
# Oct 5th 2016, 03:42 Unfaiir voycey, take a look at the bottom of app/Config/bootstrap.php where the default error and debug logs are configured. You can add more log configurations there.
# Oct 5th 2016, 03:34 voycey Unfaiir - its for travis-ci
# Oct 5th 2016, 03:34 voycey documentation is really ambiguous on it
# Oct 5th 2016, 03:34 voycey how do I write to a specific log file?
# Oct 5th 2016, 03:28 Unfaiir what is the .travis.yml file for?
# Oct 5th 2016, 02:47 Xeus I got it working, thanks! :)
# Oct 5th 2016, 02:47 Xeus Hash::extract($bot, 'bot_external_scripts.{n}.external_script.name')
# Oct 5th 2016, 02:46 Xeus I figuredout what I was doing wrong
# Oct 5th 2016, 02:46 Xeus derp
# Oct 5th 2016, 02:46 Xeus I tried this and the array was empty: Hash::extract($bot, 'bot_external_scripts.{n}.name')
# Oct 5th 2016, 02:44 Xeus Anyone know how I could accomplish this same task with Hash::extract()? ^
# Oct 5th 2016, 02:44 Xeus https://www.irccloud.com/pastebin/sDgYbwzn/
# Oct 5th 2016, 02:34 djbuss tried to ln -s the intl.ini from noncli to cli and got `Unable to load dynamic library,` not cake error, but anyone had to deal with the same thign ?
# Oct 5th 2016, 02:32 djbuss php -i doesn't
# Oct 5th 2016, 02:32 djbuss phpinfo show intl
# Oct 5th 2016, 02:32 djbuss Iâ??m getting this cakephp/cakephp 3.2.10 requires ext-intl
# Oct 5th 2016, 01:35 royalty D-rex, just the last word
# Oct 5th 2016, 00:27 D-rex how would I reference an id of a table years_makes? do I singularize both or just the last word?
# Oct 5th 2016, 00:27 moose517 :(
# Oct 5th 2016, 00:22 moose517 *twiddles thumbs waiting on npm build*
# Oct 4th 2016, 22:14 ra7bi how i can add condition to this query ``` $Participantsquery = TableRegistry::get('participants'); $Participant = $Participantsquery ->find()->contain(['Distributors', 'Events','Occupations','Payments','Payments.DistributorUsers']) ->where($where) ->order(['participants.created' => 'DESC'])->toList(); ``` i want to add ``` where Payments.DistributorUsers.id = 3 ```
# Oct 4th 2016, 22:13 ra7bi how i can add condition to this query ٫٫٫ $Participantsquery = TableRegistry::get('participants'); $Participant = $Participantsquery ->find()->contain(['Distributors', 'Events','Occupations','Payments','Payments.DistributorUsers']) ->where($where) ->order(['participants.created' => 'DESC'])->toList(); ٫٫٫ i want to add ``` where Payments.DistributorUsers.id = 3 ``
# Oct 4th 2016, 22:12 ra7bi hello
# Oct 4th 2016, 21:58 aqui Hi, anybody know how to use PsySH in order to use breakpoints in a Controller (Auth include) ? I don't find anything on the forum or stackoverflow (i have rtfm i just can't figure it out).
# Oct 4th 2016, 21:25 moose517 geez never realized how out of date my phone OS is :,(
# Oct 4th 2016, 21:24 Unfaiir cool I'll give it a shot, ty
# Oct 4th 2016, 21:21 dereuromark I only know about case 1, not sure about yours, but I would guess so
# Oct 4th 2016, 21:17 Unfaiir in the external vendor folder, I'm setting up "cakephp/cakephp" as a dependency. Can I just load all my dependencies there in the external "/vendor" folder, instead of in the "app/vendor" folder and then still be able to load them using "App::uses('Textile', 'Vendor');"?
# Oct 4th 2016, 21:05 dereuromark and having the app dir as root dir then
# Oct 4th 2016, 21:05 dereuromark I prefer the first
# Oct 4th 2016, 21:05 dereuromark in 2.x you should be using Vendor inside the app, or vendors outside of it
# Oct 4th 2016, 21:04 Unfaiir In 2.x, is the vendors dir used for anything other than composer? Or can I let that be the composer folder?
# Oct 4th 2016, 19:15 rudy1976s no I need to use File and Folder classes
# Oct 4th 2016, 19:14 NickBusey ? in Cake? That sounds like a question for #bash or something.
# Oct 4th 2016, 19:09 rudy1976s Hello I need to recursively copy all content of a directory and its subfolder to another flat directory: I am still confused
# Oct 4th 2016, 18:06 Unfaiir easier migration sounds nice
# Oct 4th 2016, 18:04 Unfaiir is this channel on slack?
# Oct 4th 2016, 18:04 NeoThermic Well, there might be back ported 3.x features to make migration easier.