# |
Sep 20th 2019, 07:14 |
conehead |
Morning |
# |
Sep 20th 2019, 07:11 |
alexdd55976 |
morning |
# |
Sep 20th 2019, 06:29 |
adam282 |
Ah, I see my problem. Thank you |
# |
Sep 20th 2019, 06:28 |
adam282 |
Not using Apache so I will double check my configs. Thank you. |
# |
Sep 20th 2019, 06:28 |
admad |
check the docs / clean 3.x skeleton's htaccess and update accordingly |
# |
Sep 20th 2019, 06:28 |
admad |
so like i said issue is in your URL rewriting rules |
# |
Sep 20th 2019, 06:27 |
adam282 |
Ah, correct. That’s being added for some reason |
# |
Sep 20th 2019, 06:27 |
admad |
%2Fusers |
# |
Sep 20th 2019, 06:27 |
adam282 |
In my query string? Where do you see that? |
# |
Sep 20th 2019, 06:27 |
admad |
they are different in 3.x than 2.x |
# |
Sep 20th 2019, 06:27 |
admad |
check your URL rewriting rules |
# |
Sep 20th 2019, 06:27 |
admad |
first of all you shouldn't have /users in query string |
# |
Sep 20th 2019, 06:26 |
adam282 |
https://pb.elasty.co/?19d3d9a4ea8b3973#tLxPoYtB41kZKxelqU+W+nFaqAM8cfOpg+8tzAZ4k04= |
# |
Sep 20th 2019, 06:26 |
adam282 |
https://pb.elasty.co/?5aecd489ba490569#M1ab72aGs/uB1Cj/qiI7Eso1XbUdbdeZNHlRBB/JLv8= |
# |
Sep 20th 2019, 06:25 |
admad |
cause probably you messed something up, like setting Paginator->options() |
# |
Sep 20th 2019, 06:24 |
adam282 |
Can anyone explain why my URL’s keep adding the parameters when using pagination? ``` https://domain.com/users?%2Fusers%2Fusers%2Fusers%2Fuserspage=2andpage=2 ``` |
# |
Sep 20th 2019, 04:43 |
javier.villanueva |
morning all |
# |
Sep 20th 2019, 03:00 |
itmpls |
it's a manual one though obviously |
# |
Sep 20th 2019, 02:59 |
itmpls |
is there anyway to control the order of joins? my ->join() which I put at the end of my query appears as the first join in the final SQL |
# |
Sep 19th 2019, 20:37 |
henri.mjr |
Oh sure.. i've copied from a belongsToMany and edited, thanks! |
# |
Sep 19th 2019, 20:33 |
ricksaccous |
that option is for when you have a belongsToMany |
# |
Sep 19th 2019, 20:33 |
ricksaccous |
@henri.mjr joinTable doesn't make sense in a hasMany association |
# |
Sep 19th 2019, 20:32 |
ricksaccous |
is Etnias an alias for the atributos table? |
# |
Sep 19th 2019, 20:32 |
ricksaccous |
i don't really understand what you're trying to do though to be honest |
# |
Sep 19th 2019, 20:31 |
henri.mjr |
oh |
# |
Sep 19th 2019, 20:29 |
ricksaccous |
you should specify the className |
# |
Sep 19th 2019, 20:28 |
henri.mjr |
I'm trying to make a generic "attributes", why cake is asking for a Table called "Etnias"? `$this->hasMany('Etnias', [ 'foreignKey' => 'acompanhante_id', 'joinTable' => 'atributos', 'conditions' => [ 'atributos.categoria' => 'Etnias' ]]);´ |
# |
Sep 19th 2019, 20:28 |
slackebot |
<challgren> |
# |
Sep 19th 2019, 20:28 |
daniel.upshaw |
Good call |
# |
Sep 19th 2019, 20:28 |
daniel.upshaw |
Strange that CakeDC would not unlock by default! |
# |
Sep 19th 2019, 20:28 |
challgren |
Maybe open an issue in the repo |
# |
Sep 19th 2019, 20:28 |
daniel.upshaw |
Thanks a bunch for the input |
# |
Sep 19th 2019, 20:28 |
daniel.upshaw |
Well that works to disable it, but still going to try to get it working enabled |
# |
Sep 19th 2019, 20:27 |
challgren |
Normally after like midnight our times |
# |
Sep 19th 2019, 20:27 |
daniel.upshaw |
Ah thanks for the tip :slightly_smiling_face: |
# |
Sep 19th 2019, 20:27 |
challgren |
Most of the cakeDC experts with the auth/users plugin are on much later |
# |
Sep 19th 2019, 20:26 |
daniel.upshaw |
I'll try that |
# |
Sep 19th 2019, 20:26 |
challgren |
Damm I cannot type today |
# |
Sep 19th 2019, 20:26 |
challgren |
Have you tried disable it |
# |
Sep 19th 2019, 20:25 |
daniel.upshaw |
Lol |
# |
Sep 19th 2019, 20:25 |
daniel.upshaw |
Fair, fair |