# |
Oct 5th 2016, 08:23 |
bernat1 |
) |
# |
Oct 5th 2016, 08:16 |
jay |
my bad. slow morning. |
# |
Oct 5th 2016, 08:16 |
jay |
oh shit, yeah they are |
# |
Oct 5th 2016, 08:16 |
jay |
they're not loaded through plugins? |
# |
Oct 5th 2016, 08:16 |
bernat1 |
jay, it must be possible, see bake or debugkit |
# |
Oct 5th 2016, 08:15 |
bernat1 |
I think there was a Connection::reconnect() method for when the database connection hasn't been used for a while. Is there something similar in cake3 or should I call disconnect and connect? |
# |
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 |
:( |