Log message #4213515

# At Username Text
# Nov 15th 2019, 20:11 ricksaccous like you'd host any website
# Nov 15th 2019, 20:11 ricksaccous you'd have to host the application somewhere
# Nov 15th 2019, 20:08 kiwi_51 I mean, if i want to show on the net my "app" how i can get this issue?
# Nov 15th 2019, 20:07 kiwi_51 to another site that's not been the local host?
# Nov 15th 2019, 20:06 kiwi_51 im new to CakePHP, I have finished 2/3 courses about this framework and i have a question, when you finish the app, there's any way to take the app
# Nov 15th 2019, 20:03 kiwi_51 to everyone
# Nov 15th 2019, 20:03 kiwi_51 hi tio eveyone!!!
# Nov 15th 2019, 16:38 shifat.it is there anyone who is contributing in Github project .. php ??
# Nov 15th 2019, 16:18 jeremy.halin @ndm @pieceof thanks I will look into that
# Nov 15th 2019, 16:17 slackebot1 `AuthComponent::redirectUrl()` (assuming you're using that).
# Nov 15th 2019, 16:17 ndm @jeremy.halin If the redirect URL in the query string is correct, then maybe it's being lost with your login request, or your login code doesn't handle redirection properly. You'll have to debug that a little more, check your browsers network console what requests/redirects exactly happen, check what the request looks like in your login action (is the query string present and corect), and check what exactly happens in
# Nov 15th 2019, 16:14 pieceof dont take me very serius but looks like a feature to me, maybe some security activated?
# Nov 15th 2019, 16:05 slackebot1 to default after login page.
# Nov 15th 2019, 16:05 jeremy.halin Hello, I have a very strange bug that I have already tried to fix without success. The redirection after an expired session is not functional on my application. I know it's hard to have a solution like that, without seeing the code, but has anyone ever had the problem? I'm using Auth component, what happens is that I'm redirected to login, with a query parameter, but when I log in I'm not redirected to previous page, always redirected
# Nov 15th 2019, 16:01 kaliel @ndm thx
# Nov 15th 2019, 15:48 ndm `vendor/mobiledetect/mobiledetectlib/namespaced/Detection`
# Nov 15th 2019, 15:46 kaliel Hi everyone, i can't see where is located the namespace \Detection used in boostrap `$detector = new \Detection\MobileDetect();`, can anyone point me into some direction please ?
# Nov 15th 2019, 15:05 slackebot1 } when I rename the geocoded.php it into to GeocodedBehavior.php file this error is gone But when I export the PDF file in the application it is getting can't read the PDF output fdpf error (output starting at /apps/app/Model/Behavior/GeocodedBehavior.php) please can you help me with this error as I am new to the migration in cakephp
# Nov 15th 2019, 15:05 nayakvradhit When I migrate cakephp version 2.1 to 2.10 there was a file called geocoded.php in the folder app/Model/Behavior and I copied the respective controllers,views and model into the folders into the new version and I connected the database and it is working fine but when I run the new code in cakephp 2.10 I am getting the missing behavior GeocodedBehavior is not found error , create a class called GeocodedBehavior extends ModelBehavior {
# Nov 15th 2019, 13:55 dereuromark Sure, lets try :slightly_smiling_face:
# Nov 15th 2019, 13:51 justin.denick ok thanks @dereuromark! There is a test in there showing how `_config['address_format']` would work and I will add another test to illustrate the adminLevel (%a %A) interpolation and push the PR to ya — let me know if that has a negative impact on your ci usage.
# Nov 15th 2019, 13:44 slackebot1 could move forward here. Thanks for bringing this to my attention :slightly_smiling_face:
# Nov 15th 2019, 13:44 dereuromark @justin.denick I dont see your %a issue etc in there. But isn't the Geo lib underneath the surface doing quite similar things you do here? Can we maybe improve the current code to be more generic/working? Also please see the underlying lib using the external wrapper (and here we are not on the latest version yet), so maybe that also could resolve some of the issue. Feel free to open a ticket or PR on the repo to further discuss how we
# Nov 15th 2019, 13:34 slackebot1 https://gist.github.com/justindenick/cdc737e40ece79d0928439b7c575ff7b While it’s not as sophisticated as cakephp-geo, it does do what I need it to. I could just move on from here, but something doesn’t feel right about how I am using Behaviors.
# Nov 15th 2019, 13:34 justin.denick @dereuromark I ran into a wall with the cakephp-geo plugin. I started to work on it here `https://github.com/justindenick/cakephp-geo/tree/feature/config-address_format` to make it easier to format the address. >This side of the pond likes the street_number to come before the street_name. I just couldn’t get the adminLevels to work. `%a` and `%A` are not being interpolated. :exploding_head: I ended up having to call it and I wrote th
# Nov 15th 2019, 10:42 challgren np
# Nov 15th 2019, 10:41 Benjamin3 Thanks a lot!
# Nov 15th 2019, 10:41 Benjamin3 That's an interesting approach, sadly doesn't work for postgres, but i'll have a look if i can steal some ideas there for an own solution :-)
# Nov 15th 2019, 10:37 challgren @benjamin3 try https://github.com/FriendsOfCake/fixturize
# Nov 15th 2019, 10:36 Benjamin3 ?
# Nov 15th 2019, 10:36 Benjamin3 But: Is there any way to keep the fixtures imported and not throw them away and reimport them after each test=
# Nov 15th 2019, 10:35 Benjamin3 This seems to be a bit slow (not a problem by itself, schema introspection may take a bit of time
# Nov 15th 2019, 10:35 Benjamin3 Load Test fixtures (Schema only) by public $import = ['model' =>TableName'];
# Nov 15th 2019, 10:34 Benjamin3 Hello everyone, i'm using cakephp 3.8 with phpunit. I'm running Tests that
# Nov 15th 2019, 10:32 chris-andre Cache is cleared.
# Nov 15th 2019, 10:30 chris-andre Hi people! I have created a plugin inside `app_root/plugins/Bronnoysund` with AppController and BrregController and view files. On dev server (homestead) I can navigate to `domain.test/bronnoysund/brreg` and it works as expected. On prod. server (CloudLinux 6, apache) I get an error with the same url params: `Controller Brreg is not found`. Is a typical mistake for this error?
# Nov 15th 2019, 08:27 jotpe thanks @kevin.pfeifer
# Nov 15th 2019, 08:27 admad only one way to find out :slightly_smiling_face:
# Nov 15th 2019, 08:27 kgb.acct.personal Does that guarantee that I won't run into max memory allocated error?
# Nov 15th 2019, 08:24 admad @kgb.acct.personal disable results casting too, that will for e.g stop wasting memory converting datetime string to objects
# Nov 15th 2019, 08:21 kevin.pfeifer @jote