# |
Sep 14th 2019, 10:30 |
peppejaripappalardo |
i dont think, because i have added a before filter: public function beforeFilter(Event $event) { $this->Authentication->allowUnauthenticated(['login']);} |
# |
Sep 14th 2019, 10:29 |
challgren |
You might not be allowing your redirected page to be accessed by anyone |
# |
Sep 14th 2019, 10:28 |
peppejaripappalardo |
I got a solutions using unauthenticatedRedirect into the Applications.php, but i get an error ERR_TOO_MANY_REDIRECTS |
# |
Sep 14th 2019, 09:31 |
peppejaripappalardo |
i add that in the backend controller i've added a public method initialize that set the layout |
# |
Sep 14th 2019, 09:29 |
peppejaripappalardo |
hi guys, with the new authentication plugin, how i can set a redirect url ? And how i can tell to the plugin to check the authentication in another layout? because at this time in the default i get plugin auth, but in the backend layout it seems that do not exist |
# |
Sep 14th 2019, 08:28 |
alexdd55976 |
Isn’t it .gitkeep already? |
# |
Sep 13th 2019, 20:42 |
challgren |
Nice! |
# |
Sep 13th 2019, 20:00 |
alexis752 |
That did the trick! Thanks! |
# |
Sep 13th 2019, 19:21 |
jh |
for 4.x can we rename all empty to .keep? |
# |
Sep 13th 2019, 18:39 |
challgren |
`Turning this on shows the SSI Error message.` |
# |
Sep 13th 2019, 18:38 |
challgren |
Maybe turn off ProxyErrorOverride |
# |
Sep 13th 2019, 17:14 |
alexis752 |
This is my apache vhost config |
# |
Sep 13th 2019, 16:54 |
challgren |
Weird |
# |
Sep 13th 2019, 16:54 |
sdevore |
@challgren so as an fyi a quick fix for my __debugInfo() issue was to make ` '[hasErrors]' => $this->hasErrors(false),` in `EntityTrait::__debugInfo()` be non recursive (not a final solution) I’m allocating time this weekend to dig deeper. |
# |
Sep 13th 2019, 16:52 |
alexis752 |
the problem is the render of custom error |
# |
Sep 13th 2019, 16:52 |
alexis752 |
Yes, but my problem isn't about the error itself |
# |
Sep 13th 2019, 16:49 |
slackebot |
"Todo para tu vehículo", icon: "ion-android-pin" }, highlight: false, gridLocation: { x: -2054770, y: 29431 } } lo` |
# |
Sep 13th 2019, 16:49 |
challgren |
`Error: [MongoDB\Driver\Exception\BulkWriteException] Can't extract geo keys: { _id: ObjectId('5cc8937534908a4b46542773'), id: "12632774", title: "ESTACION LOS ANDES", address: "CR 2 38 55", phone: "", location: { coordinates: [ -75881.5637, 876.26365 ], type: "Point" }, createdAt: 1568392500, updatedAt: 1568392500, countryId: 5, status: 1, publish: false, cityId: 4699, products: [ 136, 137 ], club: false, merchantType: { id: 151, name: |
# |
Sep 13th 2019, 16:48 |
challgren |
Looks like your issue is related to geo keys |
# |
Sep 13th 2019, 16:41 |
alexis752 |
i edited the hostname |
# |
Sep 13th 2019, 16:40 |
alexis752 |
https://gist.github.com/ruano84/01adc53e5447a86dce7dac38d6859d3e |
# |
Sep 13th 2019, 16:36 |
louis |
Yeap |
# |
Sep 13th 2019, 16:35 |
alexis752 |
the cake logs? |
# |
Sep 13th 2019, 16:35 |
louis |
could you paste it in a gists ? |
# |
Sep 13th 2019, 16:34 |
alexis752 |
the error associated, but nothing related to the custom errors |
# |
Sep 13th 2019, 16:34 |
alexis752 |
In fact the cakephp's `logs/error.log` shows the error |
# |
Sep 13th 2019, 16:34 |
louis |
And in CakePHP logs ? |
# |
Sep 13th 2019, 16:33 |
slackebot |
<alexis752> |
# |
Sep 13th 2019, 16:33 |
alexis752 |
even for the json views |
# |
Sep 13th 2019, 16:33 |
alexis752 |
I have nothing in the apahce logs |
# |
Sep 13th 2019, 16:31 |
louis |
Yeap, especially that i’m using DomPDF (that’s an old projet) and this engine is a bit slow and heavy for the server ^^ |
# |
Sep 13th 2019, 16:30 |
admad |
Check the webserver aka Apache logs |
# |
Sep 13th 2019, 16:30 |
alexis752 |
i'm using apache 2.4 + php-fpm 7 |
# |
Sep 13th 2019, 16:30 |
slackebot |
<alexis752> |
# |
Sep 13th 2019, 16:30 |
alexis752 |
I'm having a bit of trouble with the apache config, the custom errors of Cakephp doesn't work for me |
# |
Sep 13th 2019, 16:29 |
alexis752 |
Hi guys |
# |
Sep 13th 2019, 16:26 |
challgren |
And your not depending on the request to generate everything and deal with potential timeouts |
# |
Sep 13th 2019, 16:25 |
challgren |
That way theres a bit of parallel processing going on |
# |
Sep 13th 2019, 16:25 |
challgren |
I use it to generate my pdfs/zips |
# |
Sep 13th 2019, 16:25 |
louis |
Wow that’s perfect |
# |
Sep 13th 2019, 16:24 |
challgren |
https://sandbox.dereuromark.de/sandbox/queue-examples/scheduling |