Logs for #cakephp

Page 8 of 36,130, showing 100 records out of 3,612,917 total, starting on record 701, ending on 800

# At Username Text
# May 16th, 13:20 admad because you haven't submitted a PR to improve it instead of just whining
# May 16th, 13:20 josbeir man why is it still so lame in cake to build up individual radio/checkbox elements, always need to pass the whole dataset to it...
# May 16th, 13:19 admad debugkit shows "auto tables", your Table shouldnt be listed there
# May 16th, 13:19 admad *your
# May 16th, 13:19 admad Arckame: use something like git or pastebin to show code with highlighting. As for you issue first ensure your table class is being loaded
# May 16th, 13:18 Arckame did i missunderstant the "requiredPresense" function ?
# May 16th, 13:17 Arckame Uploaded file: https://uploads.kiwiirc.com/files/d2ed1bbf2637dc9bc341dffe5ad52fcf/pasted.txt
# May 16th, 13:16 niel45 show the whole validationDefault method in your paste please
# May 16th, 13:16 Arckame I have some issues wit Validators, I added 'validationDefault' function tu my TableClass, then added '$validator->requirePresence('field_name')->notBlank('field_name');'.When I create an entity without 'field_name' i dont get any error in entity->getErrors() (cake 3.7.7).Any idea ?
# May 16th, 13:16 Arckame lol, this is not exactly what I expected :)
# May 16th, 13:15 Arckame Uploaded file: https://uploads.kiwiirc.com/files/297975ba9c2730213cc4f9e8dafbd1bf/pasted.txt
# May 16th, 13:11 Arckame hello
# May 16th, 12:55 nils I keep getting Error while sending QUERY packet - I've tried increasing max_allowed_packet to 524288000 but no change. It's hard to figure out where I get this as well since I can only see it in the log. Any idea how to trace this?
# May 16th, 11:53 TheScreamer alot*
# May 16th, 11:53 TheScreamer thx alor
# May 16th, 11:53 TheScreamer it worked !
# May 16th, 11:30 TheScreamer thx
# May 16th, 11:30 TheScreamer i'll try it
# May 16th, 11:30 admad TheScreamer: Tried clearing model cache?
# May 16th, 09:26 TheScreamer https://prnt.sc/npa8y3*
# May 16th, 09:26 TheScreamer addMethod in articlesCOntroller : https://prnt.sc/npa8y8
# May 16th, 09:25 TheScreamer The error : https://prnt.sc/npaa8k
# May 16th, 09:25 TheScreamer https://prnt.sc/npaabi
# May 16th, 09:25 TheScreamer UsersTable : https://prnt.sc/npaag7 ArticlesTable : https://prnt.sc/npaadf dd of the entity
# May 16th, 09:20 TheScreamer Hi Hi ! when i save my data my database one field stay empty either there is a value in it can you help me ? screen are comming
# May 16th, 08:58 dereuromark i am happy to outsource things :slightly_smiling_face:
# May 16th, 08:57 admad @neon1024 all noteworthy changes are noted in the 4.0 migration guide as and when they are done on the manual repo
# May 16th, 08:57 dereuromark most changes are quite final already.
# May 16th, 08:56 admad @dereuromark probably everyone is waiting for you, you are the upgrade master :slightly_smiling_face:
# May 16th, 08:52 neon1024 Unless you have the time to track all the changes in the core
# May 16th, 08:52 neon1024 Probably worth waiting for 4.0.0-RC1
# May 16th, 08:44 dereuromark did anyone start 4.0 rector config yet? https://github.com/rectorphp/rector/tree/master/config/level/cakephp
# May 16th, 08:00 dereuromark neofutur: why do u have 2 empty values? do they mean different things for u?
# May 16th, 07:26 egalles * sorry replay is repeated
# May 16th, 07:26 egalles 'WicPacks.amount_wildcard' => 'DESC', 'WicPacks.amount_replay' => 'DESC', 'WicPacks.amount_pause' => 'DESC', 'WicPacks.amount_replay' => 'DESC'
# May 16th, 07:26 egalles the real query is
# May 16th, 07:25 egalles I have a product and I have some "packs", what I want is to order some packs by its category number of pluses
# May 16th, 07:24 egalles no, it's an example
# May 16th, 07:22 dereuromark but it does not make much sense in your case. or asre those items created with the same timestamp?
# May 16th, 07:21 dereuromark the first
# May 16th, 07:20 egalles ['Articles.created','Articles.modified, ...' => 'DESC' ] ?
# May 16th, 07:19 egalles or
# May 16th, 07:19 egalles ['Articles.created' => 'DESC', 'Articles.modified' => 'DESC'] ?
# May 16th, 07:18 egalles if I want to order some fields which is the best way to order multiple fields:
# May 16th, 07:18 egalles I have a little question about order of a query
# May 16th, 07:18 egalles Good morning
# May 16th, 07:06 neofutur thanks !
# May 16th, 07:03 admad The final query run on db would also be shown in the SQL tab of debugkit
# May 16th, 07:03 admad ->sql() not ->toSql()
# May 16th, 07:02 admad debug($consents) or debug($consents->toSql())
# May 16th, 06:48 neofutur the final sql query
# May 16th, 06:48 neofutur err ow can I check that ?
# May 16th, 06:31 admad did you check the generated SQL?
# May 16th, 06:15 neofutur full query on https://pastebin.com/TMeWK3xt
# May 16th, 06:13 neofutur will return nothing
# May 16th, 06:13 neofutur }
# May 16th, 06:13 neofutur ->contain(['Prospects'], function( Query $qmail )
# May 16th, 06:13 neofutur {
# May 16th, 06:13 neofutur -> where (['Prospects.email IS NOT NULL', 'Prospects.email !=' => ''] );
# May 16th, 06:13 neofutur return $qmail
# May 16th, 06:10 neofutur ok, thanks I ll try that !
# May 16th, 06:09 admad neofutur: ['Prospects.email IS NOT NULL', 'Prospects.email !=' => '']
# May 16th, 06:04 neofutur but i cant find the good syntax :(
# May 16th, 06:03 neofutur soething like -> where (['Prospects.email'] => NOT NULL AND NOT EMPTY );
# May 16th, 05:57 neofutur i need to pass a condition to the contain table , to check that a field is NOT NULL and also nt empty
# May 16th, 05:57 neofutur hi all, I could use some help about https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#passing-conditions-to-contain
# May 15th, 18:30 m.hoffs ok, next step, empty pdf
# May 15th, 18:28 m.hoffs couldnt get my finger behind it
# May 15th, 18:28 m.hoffs digging and debugging
# May 15th, 18:28 m.hoffs 2 days
# May 15th, 18:27 ricksaccous ;)
# May 15th, 18:27 m.hoffs if($this->response->getType() != 'application/pdf'){ $this->viewBuilder()->setClassName('AdminLTE.AdminLTE'); }
# May 15th, 18:27 ricksaccous no problem ;)
# May 15th, 18:26 m.hoffs big thank you!
# May 15th, 18:26 m.hoffs nice nice nice
# May 15th, 18:24 m.hoffs can do that filter on extension
# May 15th, 18:23 m.hoffs enough for me to dig out
# May 15th, 18:23 m.hoffs ok ok
# May 15th, 18:23 ricksaccous that's an example
# May 15th, 18:23 ricksaccous if ($this->getRequest()->getParam('someparam') !== in_array(['pdf', 'json']) { }
# May 15th, 18:22 ricksaccous yeah
# May 15th, 18:22 m.hoffs it is in my appcontroller
# May 15th, 18:22 ricksaccous you can set it based on router params with if statements
# May 15th, 18:22 m.hoffs hmmm
# May 15th, 18:22 ricksaccous not all the time
# May 15th, 18:22 ricksaccous you want to only set that view class conditionally
# May 15th, 18:22 m.hoffs so thats allready a win win
# May 15th, 18:22 ricksaccous yep
# May 15th, 18:22 ricksaccous heh
# May 15th, 18:21 m.hoffs it start serving a pdf
# May 15th, 18:21 m.hoffs when i uncomment this one
# May 15th, 18:21 m.hoffs $this->viewBuilder()->setClassName('AdminLTE.AdminLTE');
# May 15th, 18:21 m.hoffs but u cracked if a bit
# May 15th, 18:21 ricksaccous ok
# May 15th, 18:21 m.hoffs yes
# May 15th, 18:21 ricksaccous it should be according to the plugin docs
# May 15th, 18:21 ricksaccous is your url with '_ext' => 'pdf'?
# May 15th, 18:20 ricksaccous also
# May 15th, 18:19 m.hoffs ok
# May 15th, 18:19 ricksaccous $this->viewBuilder()->setClass or something?