# |
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 |
# |
Mar 2nd 2018, 21:07 |
meder |
dereuromark: yeah, i understand that but after a thousand things i was trying to come up with some ideas |
# |
Mar 2nd 2018, 20:16 |
savant |
we setup a dedicated performance testing environment at work |
# |
Mar 2nd 2018, 20:12 |
dereuromark |
there is also tideways, a bit cheaper service, but definitely dont try any custom PHP solutions, those will only hurt performance without really doing a good measuring job. |
# |
Mar 2nd 2018, 20:08 |
admad |
meder: if you want to check performance in production use something like newrelic or blackfire |
# |
Mar 2nd 2018, 19:47 |
dereuromark |
man :slightly_smiling_face: i shouldnt even have to say this |
# |
Mar 2nd 2018, 19:47 |
dereuromark |
doing this on a production server? thats a totally bad idea. use a separate staging server or locally |
# |
Mar 2nd 2018, 19:42 |
meder |
Controller.initialize to afterRender perhaps? |
# |
Mar 2nd 2018, 19:42 |
meder |
is there a recommended hook i can bind to measure cake performance overall? i tried to install xhprof but it's a headache now due to package limitations on the production server. was going to just cake debug performance inside of a controller |
# |
Mar 2nd 2018, 18:32 |
obinoob |
savant it worked like a charm ;) thank you so much |