# |
Mar 3rd 2018, 20:39 |
dereuromark |
whats the 3.6 way of parsing a simple URL into its array parts? https://github.com/dereuromark/cakephp-test-helper/blob/master/src/Controller/TestHelperController.php#L38 Didnt quite work out other than with the <3.4 way |
# |
Mar 3rd 2018, 20:38 |
obinoob |
yes |
# |
Mar 3rd 2018, 20:35 |
savant |
do you have a UserTeams model? |
# |
Mar 3rd 2018, 20:33 |
obinoob |
savant if take a look at the result of my fiddle you can see that in each line I've joined column |
# |
Mar 3rd 2018, 20:33 |
savant |
Also, you don’t need to add exclamation points or multiple question marks, we already understand its a question :slightly_smiling_face: |
# |
Mar 3rd 2018, 20:32 |
savant |
obinoob: what do you mean by “add joined to each user collection”? |
# |
Mar 3rd 2018, 20:23 |
obinoob |
is it possible to add joined to each user collection ?!? |
# |
Mar 3rd 2018, 20:22 |
obinoob |
need help to pass the sql query to ORM http://sqlfiddle.com/#!9/808330/3 |
# |
Mar 3rd 2018, 19:08 |
alysson-azevedo |
Ok, |
# |
Mar 3rd 2018, 19:04 |
savant |
mind adding that to the docs via a pull request? |
# |
Mar 3rd 2018, 19:04 |
alysson-azevedo |
I see. Thanks. Maybe https://book.cakephp.org/3.0/en/development/configuration.html#environment-variables should be updated |
# |
Mar 3rd 2018, 19:03 |
savant |
yeah: https://github.com/cakephp/app/blob/master/config/bootstrap.php#L47 |
# |
Mar 3rd 2018, 19:02 |
alysson-azevedo |
Do i need to load some plugin to .env work? |
# |
Mar 3rd 2018, 19:02 |
alysson-azevedo |
Hi. I created a .env file and defined my var `export APP_NAME="app_test"`. But on cake console, `env('APP_NAME')` returns null |
# |
Mar 3rd 2018, 18:43 |
hmic |
:D |
# |
Mar 3rd 2018, 18:43 |
hmic |
i'm counting 42 |
# |
Mar 3rd 2018, 18:42 |
hmic |
theres more on irc actually :p |
# |
Mar 3rd 2018, 18:41 |
savant |
there is the slack web client i think many use |
# |
Mar 3rd 2018, 18:41 |
savant |
people join slack when they need help, then leave :slightly_smiling_face: |
# |
Mar 3rd 2018, 18:41 |
dereuromark |
17 users online? only? that aint much |
# |
Mar 3rd 2018, 18:34 |
savant |
You can invite someone to the CakePHP slack via the invite app: http://cakesf.herokuapp.com/ |
# |
Mar 3rd 2018, 17:44 |
dereuromark |
birdy: only with my behavior, otherwise you have data integrity problems. the default cake way here is problematic |
# |
Mar 3rd 2018, 17:05 |
sayed |
@savant Yes, the goal is to remove the file and reset the field storing the file name |
# |
Mar 3rd 2018, 15:33 |
dusicacakic |
@savant Thanks, I try to fix that |
# |
Mar 3rd 2018, 15:32 |
savant |
yeah @dusicacakic you have an invalid `Security.salt` value in your bootstrap.php |
# |
Mar 3rd 2018, 15:31 |
birdy247 |
:+1: |
# |
Mar 3rd 2018, 15:31 |
hmic |
birdy247: if they are optional |
# |
Mar 3rd 2018, 15:31 |
birdy247 |
Does it make sense to make strings defulted to null in the DB? |
# |
Mar 3rd 2018, 15:30 |
slackebot1 |
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167 [main] - APP\webroot\index.php, line 117 |
# |
Mar 3rd 2018, 15:30 |
slackebot1 |
AuthComponent::identify() - CORE\Cake\Controller\Component\AuthComponent.php, line 772 AuthComponent::login() - CORE\Cake\Controller\Component\AuthComponent.php, line 612 UsersController::login() - APP\Controller\UsersController.php, line 21 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 491 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193 |
# |
Mar 3rd 2018, 15:30 |
dusicacakic |
Security::_crypt() - CORE\Cake\Utility\Security.php, line 326 Security::hash() - CORE\Cake\Utility\Security.php, line 115 BlowfishPasswordHasher::check() - CORE\Cake\Controller\Component\Auth\BlowfishPasswordHasher.php, line 45 BaseAuthenticate::_findUser() - CORE\Cake\Controller\Component\Auth\BaseAuthenticate.php, line 138 FormAuthenticate::authenticate() - CORE\Cake\Controller\Component\Auth\FormAuthenticate.php, line 78 |
# |
Mar 3rd 2018, 15:30 |
dusicacakic |
Version 2.10.8 |
# |
Mar 3rd 2018, 15:30 |
savant |
hi |
# |
Mar 3rd 2018, 15:29 |
hmic |
hi savant, btw! |
# |
Mar 3rd 2018, 15:29 |
hmic |
just check what's in your bootstrap.php there should be a Configure::write() with a key like crypt.secret or similar. probably thats invalid |
# |
Mar 3rd 2018, 15:28 |
savant |
and the exact cakephp version you are running? |
# |
Mar 3rd 2018, 15:28 |
savant |
Can you show the whole error message |
# |
Mar 3rd 2018, 15:28 |
dusicacakic |
Yes,the part of error,version 2.x, |
# |
Mar 3rd 2018, 15:28 |
savant |
and what version of cakephp are you running? |
# |
Mar 3rd 2018, 15:27 |
savant |
Is that the exact error you are seeing? |
# |
Mar 3rd 2018, 15:25 |
dusicacakic |
Security::_crypt() - CORE\Cake\Utility\Security.php, line 326 Security::hash() - CORE\Cake\Utility\Security.php, line 115 BlowfishPasswordHasher::check() - CORE\Cake\Controller\Component\Auth\BlowfishPasswordHasher.php, line 45 BaseAuthenticate::_findUser() - ... |