# |
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() - ... |
# |
Mar 3rd 2018, 15:17 |
savant |
@dusicacakic ^ |
# |
Mar 3rd 2018, 15:10 |
savant |
if you click on where it says “Warning (512)” it should show it |
# |
Mar 3rd 2018, 15:10 |
savant |
Can you show the stacktrace for that? |
# |
Mar 3rd 2018, 14:52 |
dusicacakic |
Hi.I have error when I try to login-> Warning (512): Invalid salt. Do you have some links to find how to resolve this problem? |
# |
Mar 3rd 2018, 14:16 |
savant |
@sayed what is your end goal there? to remove the file? |
# |
Mar 3rd 2018, 11:48 |
sayed |
So if anyone has some better suggestions, i would love to hear them ! |
# |
Mar 3rd 2018, 11:48 |
sayed |
so basically i am trying to reset the file value of the entity to null. This is not working as expected so i used the `'restoreValueOnFailure' => false,` option as a workaround for now. |
# |
Mar 3rd 2018, 11:47 |
sayed |
The field is expecting a file and i am trying to set it to null on a update action and i can’t delete the entity |
# |
Mar 3rd 2018, 11:45 |
sayed |
Good morning guys, short question, for the `josegonzalez/cakephp-upload` plugin, is there a way to just set the file field to null ? |
# |
Mar 3rd 2018, 09:29 |
Sigfried84 |
Hello! Anyone giving help for money? |
# |
Mar 3rd 2018, 03:51 |
admad |
@generitter Any PR / issue which has stalled and hasn't had any activity in a long time is fair game :( |
# |
Mar 3rd 2018, 02:57 |
generitter |
Happy to finish this pull request if it's not spoken for: https://github.com/cakephp/cakephp/pull/11025. Would like to have this feature in the next release. This would have come in handy a time or two for me. Don't want to poach someone else's work. What's the community protocol here? |
# |
Mar 2nd 2018, 22:21 |
savant |
its quite nice, we use it in prod |
# |
Mar 2nd 2018, 22:21 |
savant |
Yeah I would def look at something like NewRelic |
# |
Mar 2nd 2018, 21:10 |
dereuromark |
well, if it helps you to track it down. you werent too specific on the type/details |
# |
Mar 2nd 2018, 21:08 |
meder |
that would be an endpoint no one would access |
# |
Mar 2nd 2018, 21:08 |
meder |
i kind of disagree with "hurt performance" though. it's a general site issue - so i was thinking of putting up a test controller and just measuring beforefilter/afterfilter |
# |
Mar 2nd 2018, 21:07 |
meder |
and yes, tideways is what i was messing with |
# |
Mar 2nd 2018, 21:07 |
meder |
gotta probably setup a mimic production environment |
# |
Mar 2nd 2018, 21:07 |
meder |
totally not replicatable on local or staging, and the additional complexity of load balancers |