# |
Jun 12th 2018, 06:52 |
nakodatechnosoft |
Hello friends, Is there any pdf plugin for cakephp 3.2 |
# |
Jun 11th 2018, 22:30 |
rubenD |
right, got it. so initial install had the issue. I ran composer update, to no avail. explicitly set version to 3.6.3 and ran composer update which worked, then explicitly set version back to 3.6.5, ran composer update and all still working. just in case anyone else runs in to this. |
# |
Jun 11th 2018, 22:27 |
dereuromark |
otherwise it wouldnt work |
# |
Jun 11th 2018, 22:27 |
dereuromark |
you just got it |
# |
Jun 11th 2018, 22:26 |
rubenD |
sorry, where can I find that patch? |
# |
Jun 11th 2018, 22:25 |
rubenD |
ah, ok! |
# |
Jun 11th 2018, 22:24 |
dereuromark |
until other plugins are upgraded.. :slightly_smiling_face: |
# |
Jun 11th 2018, 22:24 |
dereuromark |
yeah, latest debug kit patch fixes this |
# |
Jun 11th 2018, 22:23 |
dereuromark |
hi, it's the basic install direct from 'composer self-update andand composer create-project --prefer-dist cakephp/app'. i've set version 3.6.3 and ran composer update and everything now works |
# |
Jun 11th 2018, 22:01 |
dereuromark |
See https://github.com/cakephp/debug_kit/issues/631 and the issue there. What plugin is it? |
# |
Jun 11th 2018, 21:49 |
rubenD |
guys, any assistance greatly appreciated. Fresh composer install and getting error of 'Cannot use Cake\Core\Plugin as Plugin because the name is already in use' |
# |
Jun 11th 2018, 21:07 |
itmpls |
anyone have any issues saving on an "alias" self-associated model? for example, $this->SpecialOffers->save($specialOfferEntity, ['associated' => 'ParentSpecialOfferDates']); complains that 'SpecialOfferDates.parent_special_offer_date_id' doesnt exist when clearly it does |
# |
Jun 11th 2018, 21:05 |
rightscoreanalysis |
is it possible/advisable to have my home page rendered with the default.ctp layout? By defauly it uses pages/home/ctp |
# |
Jun 11th 2018, 20:22 |
alexmax |
Yep, that was it |
# |
Jun 11th 2018, 20:18 |
alexmax |
There might not be any indentations to show |
# |
Jun 11th 2018, 20:18 |
alexmax |
Oh holy cow I might be an idiot |
# |
Jun 11th 2018, 20:16 |
alexmax |
``` |
# |
Jun 11th 2018, 20:12 |
alexmax |
What's going on here? |
# |
Jun 11th 2018, 20:11 |
alexmax |
I try and use both, and I get a list of children with no spacer |
# |
Jun 11th 2018, 20:11 |
alexmax |
Got a question. It doesn't appear that `find('children')` and `find('treeList')` play well together |
# |
Jun 11th 2018, 18:29 |
jeremyharris |
should be yeah |
# |
Jun 11th 2018, 18:29 |
itmpls |
would countercache be suitable for a voting setup? iirc, earlier on i implemented something like that but it had drawback, or maybe I ran into the same dirty thing |
# |
Jun 11th 2018, 18:26 |
jeremyharris |
I’m like why u no unnecessary operation cake?! |
# |
Jun 11th 2018, 18:26 |
itmpls |
thanks again :slightly_smiling_face: |
# |
Jun 11th 2018, 18:26 |
itmpls |
damnit. |
# |
Jun 11th 2018, 18:26 |
jeremyharris |
that gets me a lot |
# |
Jun 11th 2018, 18:26 |
admad |
yeah the ORM like 'em dirty |
# |
Jun 11th 2018, 18:25 |
itmpls |
OH it's probably not dirty |
# |
Jun 11th 2018, 18:24 |
jeremyharris |
to make sure they are reached. also check debug kit SQL panel to make sure it’s even saving on the comments table to begin with (e.g. no dirty fields = no save) |
# |
Jun 11th 2018, 18:24 |
jeremyharris |
you can throw debug/stackTrace statements in the behavior’s callbacks |
# |
Jun 11th 2018, 18:18 |
itmpls |
and cleared orm cache etc |
# |
Jun 11th 2018, 18:18 |
itmpls |
is there a way to debug the behavior? pretty sure I set it up right |
# |
Jun 11th 2018, 18:10 |
itmpls |
err - yeah I have the behavior on the right model. gonna see if I missed anything else :slightly_smiling_face: |
# |
Jun 11th 2018, 18:10 |
jeremyharris |
if it doesn’t contain Comments, there’s nothing to update |
# |
Jun 11th 2018, 18:10 |
jeremyharris |
if you update an Article that contains Comment entities, the behavior would fire when the Comments are changed |
# |
Jun 11th 2018, 18:09 |
jeremyharris |
I think it’s the other way around, the behavior is on the CommentsTable so when comments are changed, it updates the appropriate Article.comments_count |
# |
Jun 11th 2018, 17:58 |
itmpls |
it's not "aware" if you update a comment? |
# |
Jun 11th 2018, 17:58 |
itmpls |
for the countercache example in cake's docs with countercache on comments referencing Articles.comments_count, this would only work if/when you updated an Article entity? |
# |
Jun 11th 2018, 17:50 |
developer |
so, thank you for your help, I keep trying to fix that |
# |
Jun 11th 2018, 17:35 |
developer |
ok |
# |
Jun 11th 2018, 17:34 |
developer |
3,6,5 |