# |
Jun 30th 2017, 08:54 |
neon1024 |
You’ve upgraded CakePHP |
# |
Jun 30th 2017, 08:53 |
clementcrown |
however, this error just started showing, it was not on my application yesterday |
# |
Jun 30th 2017, 08:51 |
slackebot |
please set date.timezone to select your timezone. in /hermes/bosnaweb03b/b2441/ipg.wacscoac/portal/lib/Cake/Cache/CacheEngine.php on line 60 |
# |
Jun 30th 2017, 08:51 |
slackebot |
to select your timezone. in /hermes/bosnaweb03b/b2441/ipg.wacscoac/portal/lib/Cake/Cache/CacheEngine.php on line 60 Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' fo |
# |
Jun 30th 2017, 08:51 |
clementcrown |
Morning everyone, please what could cause this error on a cake 2.x application Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set |
# |
Jun 30th 2017, 08:19 |
neon1024 |
Morning everyone |
# |
Jun 30th 2017, 08:08 |
laahudra |
thanks |
# |
Jun 30th 2017, 08:08 |
laahudra |
hmic right |
# |
Jun 30th 2017, 08:06 |
hmic |
make yourself clear whats the difference - just try and see if you are in doubt :p |
# |
Jun 30th 2017, 08:06 |
hmic |
*not* redrect |
# |
Jun 30th 2017, 08:05 |
hmic |
you pipe, redirect, yes i'm sure |
# |
Jun 30th 2017, 08:05 |
laahudra |
or > |
# |
Jun 30th 2017, 08:05 |
laahudra |
| ? |
# |
Jun 30th 2017, 08:05 |
laahudra |
sure ? |
# |
Jun 30th 2017, 08:05 |
hmic |
(if you are in a linux environment, not so much on windows. but all the other things i sad before assume that too :p) |
# |
Jun 30th 2017, 08:05 |
hmic |
even then: phpunit ... | mail my@mail.address will send the output via mail... |
# |
Jun 30th 2017, 08:04 |
hmic |
you will be at the console anyways |
# |
Jun 30th 2017, 08:04 |
hmic |
if you run the tests manually, whats the deap with sending the results via mail?! |
# |
Jun 30th 2017, 08:04 |
hmic |
even a git commit hook can do that, or a cron job... |
# |
Jun 30th 2017, 08:04 |
laahudra |
simple like that |
# |
Jun 30th 2017, 08:03 |
laahudra |
You can now run PHPUnit using: $ vendor/bin/phpunit |
# |
Jun 30th 2017, 08:03 |
laahudra |
no |
# |
Jun 30th 2017, 08:03 |
hmic |
set it up to inform you of the test results |
# |
Jun 30th 2017, 08:03 |
hmic |
you will have some tool running the tests? jenkins? |
# |
Jun 30th 2017, 08:02 |
laahudra |
HEllo m8's! I jave implemented Unit Tests with cake v3.x, all loks good, but I want to send email with test results when they finish, do you have any suggestions? Someon done something similar? |
# |
Jun 30th 2017, 07:47 |
hmic |
moin |
# |
Jun 30th 2017, 04:25 |
aproapedelune |
well, i ll just enjoy the gaps in the table, then :)). ty! and good night! |
# |
Jun 30th 2017, 04:23 |
savant |
Not without resetting the autoincrement |
# |
Jun 30th 2017, 04:23 |
savant |
Nope |
# |
Jun 30th 2017, 04:22 |
aproapedelune |
is there any way to insert in table without any gaps in id? it s auto_increment, but is it possible to add in table at the first free id? |
# |
Jun 30th 2017, 04:13 |
aproapedelune |
thank you! |
# |
Jun 30th 2017, 04:13 |
cpierce |
atta boy! |
# |
Jun 30th 2017, 04:13 |
savant |
It'll get released when I'm good and drunk |
# |
Jun 30th 2017, 04:13 |
cpierce |
enjoy your beers |
# |
Jun 30th 2017, 04:12 |
cpierce |
:P |
# |
Jun 30th 2017, 04:12 |
cpierce |
@savant don't leave me hanging brother! |
# |
Jun 30th 2017, 04:12 |
cpierce |
i'm going to bed |
# |
Jun 30th 2017, 04:12 |
cpierce |
should fix you right up! |
# |
Jun 30th 2017, 04:12 |
cpierce |
`$this->primaryKey('id')'` |
# |
Jun 30th 2017, 04:12 |
savant |
In the initialize and validate stuff |
# |
Jun 30th 2017, 04:12 |
cpierce |
because your schema is id not ID |