Log message #3942503

# At Username Text
# Oct 5th 2016, 08:15 jay Is it possible to load plugins from vendor instead of plugins dir?
# Oct 5th 2016, 08:12 lsfc1914 Hello. In Cake 2 how can I save data in Component?
# Oct 5th 2016, 07:35 birdy247 Morning all
# Oct 5th 2016, 07:18 NeoThermic|Work Great... there's no way to call File::open() and have it return false if the file doesn't exist; it always creates the file ¬_¬
# Oct 5th 2016, 07:15 cosmin_cimpoi ?
# Oct 5th 2016, 07:15 cosmin_cimpoi but I have a really simple api. Anything in particular you re looking for
# Oct 5th 2016, 07:14 cosmin_cimpoi acosonic: the cake book has some good outlines. I just went w/ basic auth and .json extension
# Oct 5th 2016, 06:24 acosonic morning
# Oct 5th 2016, 06:21 unorthodox Morning all
# Oct 5th 2016, 05:18 acosonic Hi all, so any ideas for cakephp REST API best practices?
# Oct 5th 2016, 03:48 voycey seems like something that should be included
# Oct 5th 2016, 03:47 voycey ive sorted it using scopes
# Oct 5th 2016, 03:47 voycey not a specific log
# 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 :,(