# |
Dec 5th 2017, 10:18 |
rajaslack |
I want to use MySQL locking reads @hmic(IRC) |
# |
Dec 5th 2017, 10:16 |
neon1024 |
@glenntaylor It’s just how the framework works. Presumably, your production box doesn’t have debug set to true, which means that the orm cache is much more robust. As in debug mode it expires every 30 seconds I think |
# |
Dec 5th 2017, 09:58 |
glenntaylor |
Awesome, thanks ono-t. What causes that? |
# |
Dec 5th 2017, 09:51 |
ono-t |
bin/cake orm_cache clear; |
# |
Dec 5th 2017, 09:39 |
glenntaylor |
Hey guys, got a Cake 3 app with a Users / Projects belongsToMany definition… On my local machine it correctly identifies user_id and project_id in the join table but I’ve just moved it to the production environment to find it’s putting project_id in user_id and vice versa, has anybody got any ideas why this might happen? |
# |
Dec 5th 2017, 09:22 |
damian |
I'm using $this->setDataSource('master'); and $this->setDataSource('default'); respectively for swapping between master and default. |
# |
Dec 5th 2017, 09:22 |
slackebot2 |
host/db...this is just something I noticed while testing and can't figure out why this is happening). |
# |
Dec 5th 2017, 09:22 |
damian |
Hi all...I'm using CakePHP 2.x and trying to swap out my db connection for reading and writing. At the moment, I have both default and master db configs pointing to the same db on the same host. However, if I swap to master, save the record, swap back to default and try to read that record, the record is not found even though it exists in the db. Anyone know why this might be? (In reality, the connections will never point to the same |
# |
Dec 5th 2017, 09:20 |
saeideng |
->transactional () |
# |
Dec 5th 2017, 09:02 |
hmic |
if you dont want your operations committed by cake, wrap them in another transaction block and commit/rollback at will |
# |
Dec 5th 2017, 09:02 |
hmic |
auto commit? |
# |
Dec 5th 2017, 09:01 |
rajaslack |
Hi, In CakePHP 3.x, how to disable MySQL auto commit? |
# |
Dec 5th 2017, 09:00 |
ono-t |
Good morning! |
# |
Dec 5th 2017, 08:55 |
neon1024 |
Morning all |
# |
Dec 5th 2017, 08:16 |
birdy247 |
morning |
# |
Dec 5th 2017, 00:52 |
joopm |
where are you from amigo? |
# |
Dec 5th 2017, 00:52 |
joopm |
heey |
# |
Dec 5th 2017, 00:45 |
juancarlos |
hola |
# |
Dec 5th 2017, 00:41 |
juancarlos |
=D |
# |
Dec 5th 2017, 00:41 |
juancarlos |
I need a bit of help with cakephp |
# |
Dec 5th 2017, 00:41 |
juancarlos |
someone willing to help me? |
# |
Dec 5th 2017, 00:41 |
juancarlos |
hello! |
# |
Dec 4th 2017, 23:11 |
joopm |
good evening to all |
# |
Dec 4th 2017, 22:33 |
saeideng |
https://github.com/briannesbitt/Carbon/pull/1044/files |
# |
Dec 4th 2017, 22:32 |
saeideng |
chronos looks no need to symfony/translation |
# |
Dec 4th 2017, 22:08 |
dereuromark |
not bake, but you can easily adjust your model afterwards |
# |
Dec 4th 2017, 22:07 |
bedo |
If anyone knows the answer to my question, I will read it later from the logs. Bye! |
# |
Dec 4th 2017, 21:52 |
bedo |
Hi, is there a way to bake a table with more than 1 foreign key to the same external table? For example a table transaction that needs 2 Users: user_sender_id and user_receiver_id |
# |
Dec 4th 2017, 20:51 |
saeideng |
php 5.6 |
# |
Dec 4th 2017, 20:49 |
inoas |
php 7.1? I cant help you but confirm that I got problems with error handling not showing the regular error handler stack trace |
# |
Dec 4th 2017, 20:34 |
saeideng |
infact first error not handle by cake |
# |
Dec 4th 2017, 20:29 |
saeideng |
after that cake fatal error page |
# |
Dec 4th 2017, 20:29 |
saeideng |
I first see php native error view/template |
# |
Dec 4th 2017, 20:28 |
saeideng |
in the fatal error |
# |
Dec 4th 2017, 20:27 |
saeideng |
hi |
# |
Dec 4th 2017, 20:19 |
inoas |
splitting css, like we (I) used to pre-2000 is back in the game and awesome. |
# |
Dec 4th 2017, 20:18 |
inoas |
another reason to not concat css files with http2 is that while it is a single persistent binary stream that transfers multiple files, the files are cached and requested over that connection by the browser, still, and thus go into the browsers cache as single entities |
# |
Dec 4th 2017, 20:17 |
inoas |
admad and one more thing if you are still awake |
# |
Dec 4th 2017, 20:12 |
inoas |
gnite :) |
# |
Dec 4th 2017, 20:12 |
admad |
anyway enough ranting, gn |
# |
Dec 4th 2017, 20:12 |
inoas |
with http1 it is really hard to do right |