Log message #4204540

# At Username Text
# Sep 20th 2019, 07:31 conehead Too bad setting this value screws up everything else :)
# Sep 20th 2019, 07:22 conehead Haha yes, exactly what I needed
# Sep 20th 2019, 07:21 conehead Yes, that is what I thought. Just never stumbled upon this
# Sep 20th 2019, 07:21 spriz https://book.cakephp.org/3.0/en/console-and-shells.html#routing-in-the-console-environment
# Sep 20th 2019, 07:21 spriz it's mentioned in the book! :)
# Sep 20th 2019, 07:21 spriz @conehead you should set the full base manually when doing commands :slightly_smiling_face:
# Sep 20th 2019, 07:20 javier.villanueva (Router::url('/',true) not works for you?
# Sep 20th 2019, 07:20 conehead Was wondering why fullBase was not working.... But I am calling it from a command. So probably it is not able to find the correct full base automatically :S
# Sep 20th 2019, 07:18 javier.villanueva why?
# Sep 20th 2019, 07:18 javier.villanueva sometimes
# Sep 20th 2019, 07:15 conehead Anyone using `Router::url` to generate (full base) URLs?
# 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!