# |
Jul 2nd 2018, 19:19 |
itmpls |
what'd I say! |
# |
Jul 2nd 2018, 19:13 |
josbeir |
Jap is playing good |
# |
Jul 2nd 2018, 19:12 |
saeideng |
Belguim go to home |
# |
Jul 2nd 2018, 19:12 |
admad |
craziest WC ever |
# |
Jul 2nd 2018, 19:12 |
saeideng |
japan :D |
# |
Jul 2nd 2018, 19:10 |
josbeir |
:/ |
# |
Jul 2nd 2018, 19:10 |
admad |
@josbeir WTF |
# |
Jul 2nd 2018, 18:44 |
josbeir |
Indeed |
# |
Jul 2nd 2018, 18:44 |
saeideng |
japan |
# |
Jul 2nd 2018, 18:43 |
josbeir |
Those Japs have built themselves a wall |
# |
Jul 2nd 2018, 18:42 |
josbeir |
Let's hope not |
# |
Jul 2nd 2018, 18:42 |
itmpls |
@josbeir japan!!! |
# |
Jul 2nd 2018, 18:42 |
saeideng |
footbal? |
# |
Jul 2nd 2018, 18:40 |
josbeir |
:flag-be: :flag-be: :flag-be: :flag-be: |
# |
Jul 2nd 2018, 18:35 |
okelet |
thanks, @admad, is it possible to create a findAll(), so when I call find(), without the type, findAll is executed? |
# |
Jul 2nd 2018, 17:58 |
itmpls |
it applies the lambda function even if the host is different than *.blah.com |
# |
Jul 2nd 2018, 17:58 |
itmpls |
also - why is Router::scope('/', ['_host' => '*.blah.com'], function(){} ); not actually matching on the host? |
# |
Jul 2nd 2018, 17:46 |
itmpls |
in my middleware, I parse the subdomain. I want to provide this value so it can be accessible in config/routes.php. can anyone recommend where to store it? trying to provide the dynamic host/route basically |
# |
Jul 2nd 2018, 16:54 |
admad |
@okelet read up about custom find types |
# |
Jul 2nd 2018, 16:27 |
camdenbassett |
https://thepasteb.in/p/AnhrPyoqV74fv |
# |
Jul 2nd 2018, 16:27 |
camdenbassett |
$response = $conn->execute($replace_into_form); |
# |
Jul 2nd 2018, 16:24 |
camdenbassett |
Ok, so I found out how to get the last inserted ID when executing a custom query using the connection object. But does anyone know if this is completely reliable? |
# |
Jul 2nd 2018, 16:21 |
afdm74 |
@josbeir That's the thing, I'm not using thoses classes directly... Some other code is using it. |
# |
Jul 2nd 2018, 16:10 |
okelet |
hi all, quite new to cakephp here, great job! my question, how to do all queries to have default contains? I don't want to repeat the same contains multiple times, every time i do a search... Thanks! |
# |
Jul 2nd 2018, 15:53 |
josbeir |
you should update your code accordingly |
# |
Jul 2nd 2018, 15:53 |
josbeir |
yeah but thats just nice exceptions of classes that changed name/scope |
# |
Jul 2nd 2018, 15:51 |
afdm74 |
@josbeir line 444 just include the Class file. But I was unable to point out the files that needed these classes.... |
# |
Jul 2nd 2018, 15:50 |
afdm74 |
@josbeir The message I 'm getting is this: Use Cake\Mailer\Email instead of Cake\Network\Email\Email. - /home/pbxcircus/app/vendor/composer/ClassLoader.php, line: 444 and this: Use Cake\Http\ServerRequest instead of Cake\Network\Request. |
# |
Jul 2nd 2018, 15:48 |
afdm74 |
@josbeir I don think that it is a bug yet..... (investigating....) I'm talking as a Bug because the code is not my code and it looks like is something that didn't get updated in the update process. |
# |
Jul 2nd 2018, 15:39 |
camdenbassett |
I've been doing a little more research on my question. And I haven't found any answer that seems to work. I could just run a select statement to get the highest id, but that's not completely reliable. Is there any way to access the underlying PDO functions when using a custom query maybe? |
# |
Jul 2nd 2018, 15:29 |
josbeir |
ah cake has one too |
# |
Jul 2nd 2018, 15:29 |
josbeir |
isn't classloader is a composer file ? |
# |
Jul 2nd 2018, 15:28 |
josbeir |
@afdm74 why do you think it is a bug? |
# |
Jul 2nd 2018, 15:19 |
afdm74 |
Other question, just updated from 3.4.10 to 3.6.6 and started getting Deprecated Messages for Bootstrap.php and ClassLoader.php. The Bootstrap file I fixed changing config() to setConfig(). The ClassLoader.php could not find the error source... As this is not my code, where should I search and file a bug report? And If it is a bug... |
# |
Jul 2nd 2018, 15:16 |
camdenbassett |
There's a pastebin of all the approaches I've tried. Any pointers would be appreciated. |
# |
Jul 2nd 2018, 15:15 |
camdenbassett |
https://thepasteb.in/p/Y6hkvRl9rgxf7 |
# |
Jul 2nd 2018, 15:15 |
camdenbassett |
Hello everyone. I'm running a custom mysql "REPLACE INTO" statement via the connection object, and I can't seem to figure out how to get the id of the inserted row. |
# |
Jul 2nd 2018, 15:14 |
afdm74 |
@lorenzo Will try that, thanks! |
# |
Jul 2nd 2018, 15:10 |
rudy1976s |
which are not directly related to cake queries |
# |
Jul 2nd 2018, 15:10 |
rudy1976s |
we have traced logs and performance monitor and there are plenty of queries generated many times |
# |
Jul 2nd 2018, 15:09 |
rudy1976s |
and we need to understad if they depends on some missing PDO setting |