# |
Nov 14th 2016, 04:57 |
savant |
again, cakephp 2.x doesnt use objects |
# |
Nov 14th 2016, 04:57 |
Leidenfrost |
Yes, from the PDO mysql result to a Cake object |
# |
Nov 14th 2016, 04:57 |
savant |
cakephp 2.x doesnt use objects in the orm |
# |
Nov 14th 2016, 04:56 |
savant |
translated into an object? |
# |
Nov 14th 2016, 04:56 |
Leidenfrost |
For some reason when it's translated to an object, the framework hides the password field. Even if it's predetermined cake functionality. |
# |
Nov 14th 2016, 04:56 |
savant |
i would also clear your model cache |
# |
Nov 14th 2016, 04:56 |
savant |
do you have a beforeFind that strips data |
# |
Nov 14th 2016, 04:56 |
Leidenfrost |
Yep, found the query behind the find(). It's a normal query asking for the user model and its associations. It returns the data as normal. |
# |
Nov 14th 2016, 04:54 |
savant |
just stating whats what |
# |
Nov 14th 2016, 04:54 |
savant |
yep |
# |
Nov 14th 2016, 04:54 |
Leidenfrost |
Yes, but upgrading from 2.x to 3.x requires a lot of work |
# |
Nov 14th 2016, 04:53 |
savant |
no extra plugin necessary |
# |
Nov 14th 2016, 04:53 |
savant |
in 3.x, its just an option we built into the framework |
# |
Nov 14th 2016, 04:53 |
Leidenfrost |
Thanks, that will come in handy. I usually use this: http://stackoverflow.com/questions/2521225/cakephp-get-last-query-run |
# |
Nov 14th 2016, 04:52 |
savant |
in that plugin, there is a MysqlLog datasource you can use |
# |
Nov 14th 2016, 04:52 |
savant |
https://github.com/cakephp/datasources |
# |
Nov 14th 2016, 04:51 |
savant |
to see what it's actually rinning |
# |
Nov 14th 2016, 04:51 |
savant |
which you can then use to turn on query logs |
# |
Nov 14th 2016, 04:51 |
savant |
Leidenfrost: I believe in 2.x you can use a logging datasource |
# |
Nov 14th 2016, 04:50 |
Leidenfrost |
For some reason, the find() method in BaseAuthentication.php can't retrieve the stored password |
# |
Nov 14th 2016, 04:50 |
Leidenfrost |
Hello all. I'm trying to upgrade from cake 2.2 to 2.4 and got this: https://www.reddit.com/r/cakephp/comments/5ctxa8/help_im_trying_to_upgrade_from_cake_22_to_24_but/ |
# |
Nov 14th 2016, 03:33 |
savant |
CakeBot: hi |
# |
Nov 14th 2016, 02:23 |
slackebot |
~book |
# |
Nov 14th 2016, 02:23 |
slackebot |
Command sent from Slack by savant: |
# |
Nov 14th 2016, 02:23 |
savant |
~book |
# |
Nov 14th 2016, 02:22 |
savant |
test |
# |
Oct 10th 2016, 08:43 |
maikh |
yes, it works better. spent so much time until yet with this shitty floating... |
# |
Oct 10th 2016, 08:42 |
admad |
@maikh yup use tables and avoid float and dompdf will be kept happy |
# |
Oct 10th 2016, 08:41 |
maikh |
yes... i will. thank you both @hmic and @admad |
# |
Oct 10th 2016, 08:40 |
hmic |
s/css/neccessary css/ |
# |
Oct 10th 2016, 08:40 |
Neon1024 |
Whatâ??s a good Cake 3 exception for failed configuration? It seems that the ConfigureException() hasnâ??t made it from Cake 2 into Cake 3 |
# |
Oct 10th 2016, 08:40 |
hmic |
maikh: first drop your bootstrap dependency and do the css yourself |
# |
Oct 10th 2016, 08:39 |
maikh |
ok, should it work with table layout? |
# |
Oct 10th 2016, 08:39 |
maikh |
lol :P |
# |
Oct 10th 2016, 08:37 |
hmic |
*harhar* |
# |
Oct 10th 2016, 08:37 |
admad |
using a css framework for pdf layouts is just wasting cpu cycles and contributing to global warming :slightly_smiling_face: |
# |
Oct 10th 2016, 08:36 |
dereuromark |
right now I am falling back to file cahcing (default) |
# |
Oct 10th 2016, 08:36 |
dereuromark |
so far cake on heroku seems to be running quite fine. only thing: caching via redis url does not seem to work, it fails. anyone got it working? |
# |
Oct 10th 2016, 08:36 |
hmic |
the basic advice is: do a as simple as possible, embedded, css for the pdf layout. |
# |
Oct 10th 2016, 08:35 |
hmic |
you need to use another renderer then. the problems you get are what you have to pay for... |
# |
Oct 10th 2016, 08:35 |
hmic |
you cannot. |