Logs for #cakephp

Page 3 of 36,390, showing 100 records out of 3,638,989 total, starting on record 201, ending on 300

# At Username Text
# Nov 16th, 08:55 slackebot1 !1.1api
# Nov 16th, 08:55 challgren Damm quiet a bit, I could see why it was being punted for flooding
# Nov 16th, 08:54 challgren Yeah Ive been rooting through the source trying to figure it out
# Nov 16th, 08:54 admad https://irc.cakephp.org/tells
# Nov 16th, 08:53 admad earlier users could register too but lot of crap was getting added to we removed ability to add
# Nov 16th, 08:53 challgren Any way to find those out?
# Nov 16th, 08:53 admad the tells are in db
# Nov 16th, 08:53 admad yes
# Nov 16th, 08:52 admad i had to retire the slapper after i joined core
# Nov 16th, 08:52 challgren So tias must be a tell in the DB
# Nov 16th, 08:52 admad :P
# Nov 16th, 08:52 slackebot1 Command sent from Slack by challgren:
# Nov 16th, 08:52 slackebot1 !slap
# Nov 16th, 08:49 slackebot1 Command sent from Slack by challgren:
# Nov 16th, 08:49 slackebot1 !tias
# Nov 16th, 08:48 challgren Ah np. I was honestly just trying to figure out the commands it had when I learned the crash
# Nov 16th, 08:48 admad thx for the report
# Nov 16th, 08:48 challgren Ah ok cool
# Nov 16th, 08:48 admad yes
# Nov 16th, 08:45 challgren For CakeBot?
# Nov 16th, 08:31 admad @challgren not sure if you were notified back but the issues you had reported are fixed
# Nov 16th, 06:33 vipul can we add socket in CakePhp ?
# Nov 16th, 06:33 vipul Hello Connection
# Nov 16th, 03:42 admad https://github.com/cakephp/cakephp/releases/tag/4.0.0-RC1
# Nov 15th, 21:26 alexmax I was getting a bunch of deprecation notices about use of `Plugin::` methods and I thought _everything_ in that class was going away eventually.
# Nov 15th, 21:26 alexmax *nods* I see.
# Nov 15th, 21:25 ndm No, application hooks into the global collection
# Nov 15th, 21:25 alexmax doesn't that hook into the old deprecated plugin system?
# Nov 15th, 21:25 ndm `\Cake\Core\Plugin::getCollection()`
# Nov 15th, 21:24 ndm `\Cake\Core\Plugin::loaded()`
# Nov 15th, 21:23 ricksaccous oh yeah that makes sense
# Nov 15th, 21:21 alexmax the one that's created in `index.php` and `cake.php`
# Nov 15th, 21:20 alexmax I want to use the one that's already there - presumably the one that is actually aware of what plugins are accessible.
# Nov 15th, 21:20 alexmax isn't that creating a new application instance?
# Nov 15th, 21:11 ricksaccous i'm just guessing but i dunno if that'll work
# Nov 15th, 21:11 ricksaccous $myApplication = new Application(); $myApplication->getPlugins();
# Nov 15th, 21:11 ricksaccous use App\Application;
# Nov 15th, 21:02 alexmax Like, I'm not sure how to get access to `Application` from within a `Shell` or a `Controller`
# Nov 15th, 20:59 alexmax How should I be getting access to `App\Application`? I need to query the list of loaded plugins, and to do that in modern Cake I think need access to the `Application`, which seems a little scarce.
# Nov 15th, 20:14 kiwi_51 thanks a lot....
# Nov 15th, 20:12 ricksaccous good luck
# Nov 15th, 20:12 ricksaccous look into paid hosting solutions or try to self-host (but that's a huge pain)
# Nov 15th, 20:11 ricksaccous like you'd host any website
# Nov 15th, 20:11 ricksaccous you'd have to host the application somewhere
# Nov 15th, 20:08 kiwi_51 I mean, if i want to show on the net my "app" how i can get this issue?
# Nov 15th, 20:07 kiwi_51 to another site that's not been the local host?
# Nov 15th, 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, 20:03 kiwi_51 to everyone
# Nov 15th, 20:03 kiwi_51 hi tio eveyone!!!
# Nov 15th, 16:38 shifat.it is there anyone who is contributing in Github project .. php ??
# Nov 15th, 16:18 jeremy.halin @ndm @pieceof thanks I will look into that
# Nov 15th, 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, 16:17 slackebot1 `AuthComponent::redirectUrl()` (assuming you're using that).
# Nov 15th, 16:14 pieceof dont take me very serius but looks like a feature to me, maybe some security activated?
# Nov 15th, 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, 16:05 slackebot1 to default after login page.
# Nov 15th, 16:01 kaliel @ndm thx
# Nov 15th, 15:48 ndm `vendor/mobiledetect/mobiledetectlib/namespaced/Detection`
# Nov 15th, 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, 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, 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, 13:55 dereuromark Sure, lets try :slightly_smiling_face:
# Nov 15th, 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, 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, 13:44 slackebot1 could move forward here. Thanks for bringing this to my attention :slightly_smiling_face:
# Nov 15th, 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, 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, 10:42 challgren np
# Nov 15th, 10:41 Benjamin3 Thanks a lot!
# Nov 15th, 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, 10:37 challgren @benjamin3 try https://github.com/FriendsOfCake/fixturize
# Nov 15th, 10:36 Benjamin3 ?
# Nov 15th, 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, 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, 10:35 Benjamin3 Load Test fixtures (Schema only) by public $import = ['model' =>TableName'];
# Nov 15th, 10:34 Benjamin3 Hello everyone, i'm using cakephp 3.8 with phpunit. I'm running Tests that
# Nov 15th, 10:32 chris-andre Cache is cleared.
# Nov 15th, 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, 08:27 jotpe thanks @kevin.pfeifer
# Nov 15th, 08:27 admad only one way to find out :slightly_smiling_face:
# Nov 15th, 08:27 kgb.acct.personal Does that guarantee that I won't run into max memory allocated error?
# Nov 15th, 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, 08:21 kevin.pfeifer @jote
# Nov 15th, 08:21 kgb.acct.personal I'll look into it. Thanks :+1:
# Nov 15th, 08:20 kgb.acct.personal That makes sense. Also the thing about CSV streaming
# Nov 15th, 08:19 admad error hydration not marshalling
# Nov 15th, 08:18 admad turn off query buffering and marshalling
# Nov 15th, 08:18 admad depending on how you fetched the data, i might be the resultset eating up the memory, not the generated csv
# Nov 15th, 08:17 kgb.acct.personal Not that large but "max allowed memory" error is triggered when large amount of data is queried for export
# Nov 15th, 08:16 admad exactly how large is "large"?
# Nov 15th, 08:15 admad unbuffered query and stream to csv file
# Nov 15th, 08:14 kgb.acct.personal @admad I mean from table to CSV :cakephp:
# Nov 15th, 08:13 admad @kgb.acct.personal one way is: directly load csv file into temp database table, perform cleanup / alterations required, then copy/move rows to required table
# Nov 15th, 08:12 jotpe Unfortunately my Client wants xlsx output :S
# Nov 15th, 08:11 kgb.acct.personal Speaking of CSVs. What strategy do you use when exporting large amount of data?
# Nov 15th, 08:11 admad wisest choice is to generate CSVs :slightly_smiling_face:
# Nov 15th, 08:07 jotpe or better use PHPExcel directly?
# Nov 15th, 08:07 jotpe and https://github.com/robotusers/cakephp-excel
# Nov 15th, 08:07 jotpe https://github.com/dakota/CakeExcel
# Nov 15th, 08:07 jotpe What's a wise choice to generate Excel Files? Awesome list has 2 Excel Plugins, but both updated 3years ago.