# |
Dec 18th 2019, 07:20 |
jotpe |
Good Morning! |
# |
Dec 18th 2019, 06:06 |
brian.french |
Source code is here: https://github.com/302dev/docker |
# |
Dec 18th 2019, 06:06 |
brian.french |
They're located here: https://hub.docker.com/r/302dev/cakephp |
# |
Dec 18th 2019, 06:06 |
brian.french |
If anyone is interested, I created some docker images specific to CakePHP. They |
# |
Dec 17th 2019, 22:08 |
luizcmarin |
OK. I found out. |
# |
Dec 17th 2019, 22:01 |
luizcmarin |
One could take a look at this PR. I have questions about the ways to use with bake https://github.com/cakephp/bake/pull/620/commits/6087934d030b922043e8e1de288701f63d273fa4 |
# |
Dec 17th 2019, 21:23 |
brian.french |
I also verified that packagist is updated. I tried within a Docker image to ensure i wasn't running off of some local cache. |
# |
Dec 17th 2019, 21:18 |
brian.french |
as well as in my WSL |
# |
Dec 17th 2019, 21:17 |
brian.french |
This is in a docker image |
# |
Dec 17th 2019, 21:17 |
brian.french |
So, I'm seeing something interesting when installing cakephp/app. It seems to be installing cakephp/cakephp (4.x-dev 767b164) instead of 4.0.0, |
# |
Dec 17th 2019, 20:35 |
neothermic |
```Tests: 5468, Assertions: 19475, Errors: 259, Failures: 72, Warnings: 1223, Skipped: 237``` |
# |
Dec 17th 2019, 20:32 |
neothermic |
not many problems here governor! :P |
# |
Dec 17th 2019, 20:31 |
neothermic |
three E's |
# |
Dec 17th 2019, 20:31 |
neothermic |
15% so far.. five F's |
# |
Dec 17th 2019, 20:30 |
neothermic |
I suspect most might be down to phpunit, mind |
# |
Dec 17th 2019, 20:30 |
neothermic |
oh my, 7.4 and 2.x tests, all the `W`'s |
# |
Dec 17th 2019, 20:03 |
luizcmarin |
@admad "why are you still using RC2 when 4.0.0 stable is released?" MarkStory gave me this command because I could not update my project. And that happened one day BEFORE the release of 4.0 .... :man-facepalming: |
# |
Dec 17th 2019, 20:01 |
neothermic |
which testsuite runs all the cake2 tests? |
# |
Dec 17th 2019, 20:01 |
neothermic |
hmm |
# |
Dec 17th 2019, 19:58 |
luizcmarin |
@admad |
# |
Dec 17th 2019, 19:58 |
luizcmarin |
--prefer-dist will continue to be used in 4x on the command line? |
# |
Dec 17th 2019, 19:55 |
luizcmarin |
same problem with composer create-project cakephp/app |
# |
Dec 17th 2019, 19:55 |
admad |
those db config lines are app_local.php now btw |
# |
Dec 17th 2019, 19:54 |
admad |
why are you still using RC2 when 4.0.0 stable is released? |
# |
Dec 17th 2019, 19:53 |
luizcmarin |
composer create-project cakephp/app:4.0.0-RC2 |
# |
Dec 17th 2019, 19:52 |
neothermic |
a new project in which version of cake? did you bake the core app? |
# |
Dec 17th 2019, 19:50 |
luizcmarin |
good afternoon everyone. I created a new project and I am surprised that the config / app.php file does not contain DB connection lines 'username' => '', 'password' => '', 'database' => '', Has that been changed? |
# |
Dec 17th 2019, 19:49 |
neothermic |
are you still taking corrections/fixes to 2.x and the 2.x documentation? :P |
# |
Dec 17th 2019, 19:05 |
jotpe |
you're welcome :) |
# |
Dec 17th 2019, 19:04 |
ashesh.social |
yeah, working great. Thanks @jotpe |
# |
Dec 17th 2019, 18:56 |
jotpe |
try changing the user. If you're using apache. `sudo chown -R www-data:www-data tmp` |
# |
Dec 17th 2019, 18:51 |
ashesh.social |
my tmp folder looks like this drwxrwxrwx 6 ubuntu ubuntu 4096 Dec 17 17:34 tmp |
# |
Dec 17th 2019, 18:35 |
jotpe |
Sounds like your temp folder doesn't have the right permissions (drwxr-xrwx) or is the false user (www-data or dependent on your webserver)? |
# |
Dec 17th 2019, 18:27 |
ashesh.social |
getting this error on the webpage after baking the tables |
# |
Dec 17th 2019, 18:27 |
ashesh.social |
Warning (512): SplFileInfo::openFile(/usr/local/gmt/grabmyticket/tmp/cache/models/myapp_cake_model_default_events): failed to open stream: Permission denied [CORE/src/Cache/Engine/FileEngine.php, line 372] |
# |
Dec 17th 2019, 18:22 |
ashesh.social |
i've just setup the new cakephp 4 strawberry |
# |
Dec 17th 2019, 18:17 |
ashesh.social |
Hey all |
# |
Dec 17th 2019, 17:58 |
jotpe |
Ah, it's the same: https://book.cakephp.org/3/en/orm/retrieving-data-and-resultsets.html#eager-loading-associations-via-contain |
# |
Dec 17th 2019, 17:57 |
jotpe |
Seems to work both |
# |
Dec 17th 2019, 17:56 |
dereuromark |
pretty sure the dot syntax is a bit more convenient to type |
# |
Dec 17th 2019, 17:56 |
dereuromark |
did u try it? |