# |
Jul 4th 2017, 19:57 |
Laureano |
admad Would love to -- but it's outside my permissions. Don't have access to do it. I'm just patching an external tool. |
# |
Jul 4th 2017, 19:55 |
admad |
mysql is silly for allowing it |
# |
Jul 4th 2017, 19:55 |
admad |
storing '0000-00-00 00:00:00' is just wrong, set the field to null instead |
# |
Jul 4th 2017, 19:54 |
jeremyharris |
depends on what version of mysql, if I remember right 0-dates like that don’t store in 5.7, you want a proper null field |
# |
Jul 4th 2017, 19:52 |
Laureano |
I would like to bulk reset a field but every approach I tried raised an exception |
# |
Jul 4th 2017, 19:52 |
Laureano |
What would be the correct way to store '0000-00-00 00:00:00' on a datetime field (MySQL) while using $model->updateAll() on CakePHP 3? |
# |
Jul 4th 2017, 18:02 |
awi |
So i haven't moved a single file yet. |
# |
Jul 4th 2017, 18:00 |
awi |
I think so... I am currently making my exif stuff |
# |
Jul 4th 2017, 17:59 |
WyriHaximus |
awi: did you manage to get it working |
# |
Jul 4th 2017, 17:16 |
vix |
Unable to use pagination with Raw Query $results = $connection->execute('SELECT * FROM articles')->fetchAll('assoc'); |
# |
Jul 4th 2017, 16:54 |
jarard01 |
thanks neon1024 |
# |
Jul 4th 2017, 16:53 |
neon1024 |
@jarard01 You need to use the table class when calling table classes from the controller, so it should be `$this->Properties->rhs()` |
# |
Jul 4th 2017, 16:33 |
jarard01 |
my view says: Call to undefined method App\Controller\PropertiesController::rhs() |
# |
Jul 4th 2017, 16:33 |
jarard01 |
in my Properties controller I call $this->rhs(); |
# |
Jul 4th 2017, 16:32 |
jarard01 |
i have a method in my PropertiesTable.php called 'rhs' |
# |
Jul 4th 2017, 15:50 |
awi |
thx |
# |
Jul 4th 2017, 15:49 |
WyriHaximus |
gotte run for now |
# |
Jul 4th 2017, 15:44 |
WyriHaximus |
It requires a webdav client to be used with as per this example: https://flysystem.thephpleague.com/adapter/webdav/ |
# |
Jul 4th 2017, 15:43 |
awi |
just where can i find the vars for webdav? |
# |
Jul 4th 2017, 15:42 |
WyriHaximus |
Np, anyway I can help? :) |
# |
Jul 4th 2017, 15:41 |
jeremyharris |
summoned from the great beyond |
# |
Jul 4th 2017, 15:41 |
awi |
didnt see you where there |
# |
Jul 4th 2017, 15:41 |
neon1024 |
Lol, great service! |
# |
Jul 4th 2017, 15:41 |
WyriHaximus |
=D |
# |
Jul 4th 2017, 15:41 |
awi |
Oh... |
# |
Jul 4th 2017, 15:41 |
WyriHaximus |
Sup? |
# |
Jul 4th 2017, 15:41 |
awi |
any experiences? |
# |
Jul 4th 2017, 15:41 |
awi |
https://github.com/WyriHaximus/FlyPie |
# |
Jul 4th 2017, 15:40 |
awi |
Anyone ever worked with FlyPie? |
# |
Jul 4th 2017, 15:40 |
awi |
hi |
# |
Jul 4th 2017, 15:27 |
birdy247 |
I had hydrate set to false |
# |
Jul 4th 2017, 15:26 |
birdy247 |
I am being stupid |
# |
Jul 4th 2017, 15:25 |
birdy247 |
epxression is not allowed as default value |
# |
Jul 4th 2017, 15:24 |
birdy247 |
doesnt* |
# |
Jul 4th 2017, 15:24 |
birdy247 |
but that does work |
# |
Jul 4th 2017, 15:24 |
birdy247 |
Yea, I wanted to crate from format |
# |
Jul 4th 2017, 15:24 |
neon1024 |
Otherwise every time you run your test your Time::now() will be different |
# |
Jul 4th 2017, 15:24 |
neon1024 |
Fixtures should have fixed data |
# |
Jul 4th 2017, 15:24 |
birdy247 |
but doesnt like that :P |
# |
Jul 4th 2017, 15:24 |
birdy247 |
I tried 'closing_date' => Time::now(), |
# |
Jul 4th 2017, 15:23 |
birdy247 |
Can I make this a Time object? |