Log message #4157783

# At Username Text
# Jul 11th 2018, 06:39 supadudey @romanovich0945: App Class is not found when extending AppHelper
# Jul 11th 2018, 06:38 romanovich095 @soteri what's wrong with it?
# Jul 11th 2018, 06:37 romanovich095 @designskiller You need to generate it and add to the request. Then check the middlewares for it.
# Jul 11th 2018, 06:28 supadudey Has anyone got TCPDF working with cakephp 3.6 ?
# Jul 11th 2018, 06:28 supadudey Hi guys
# Jul 11th 2018, 06:27 designskiller And what is Add a token means @romanovich095
# Jul 11th 2018, 06:26 designskiller But I didn't use any security component in AppCOntroller
# Jul 11th 2018, 06:20 romanovich095 Or to add a token
# Jul 11th 2018, 06:20 romanovich095 You need to remove the Security component from the parent Controller (/src/Controllers/AppController.php)
# Jul 11th 2018, 06:15 designskiller Any Idea why am I getting this error?
# Jul 11th 2018, 06:15 designskiller Hi, I am just setting up cakePHP 3 app for making an API and when I am calling a function it gives me an error "Missing CSRF token cookie".
# Jul 11th 2018, 03:06 chrisshick The fun
# Jul 11th 2018, 03:05 chrisshick aye XD
# Jul 11th 2018, 03:03 ricksaccous ;)
# Jul 11th 2018, 03:02 chrisshick table-> table->table ->table XD
# Jul 11th 2018, 03:02 chrisshick yeah, i thought of that too... but then it just got hairy XD
# Jul 11th 2018, 03:02 ricksaccous lol
# Jul 11th 2018, 03:01 ricksaccous of the other table, through another table
# Jul 11th 2018, 03:01 ricksaccous you could also make another id field which maps to the table name
# Jul 11th 2018, 03:01 chrisshick I thought i'd experiment with the other way for sh*tsand giggles
# Jul 11th 2018, 03:00 chrisshick Same
# Jul 11th 2018, 03:00 ricksaccous i always end up using the extra field heh
# Jul 11th 2018, 02:59 chrisshick one seems rather dirty while the other seems table overkill
# Jul 11th 2018, 02:58 chrisshick or a secondary table between each of the three to the one
# Jul 11th 2018, 02:57 chrisshick The best way I could find was based on a secondary field to determine which table
# Jul 11th 2018, 02:56 chrisshick I figured as much
# Jul 11th 2018, 02:56 ricksaccous ah ok
# Jul 11th 2018, 02:56 ricksaccous you can set up relationships based on conditions
# Jul 11th 2018, 02:56 chrisshick I've been experimenting with them lately
# Jul 11th 2018, 02:56 chrisshick yeah
# Jul 11th 2018, 02:55 ricksaccous polymorphic relationship
# Jul 11th 2018, 02:55 ricksaccous yeah
# Jul 11th 2018, 02:52 chrisshick anyone work with cases where a certain record can belong to one of three different tables
# Jul 10th 2018, 21:33 camdenbassett ok, I might have been mistaking the hidden input for the checkbox... oops
# Jul 10th 2018, 21:33 saeideng I think input() deprecated in 3.6
# Jul 10th 2018, 21:31 saeideng control == input
# Jul 10th 2018, 21:31 camdenbassett @saeideng Thanks, i foundd that if you use control() instead of input() it puts the label around the checkbox. But it's good to know you can modify the templates
# Jul 10th 2018, 21:29 saeideng https://book.cakephp.org/3.0/en/views/helpers/form.html#customizing-templates
# Jul 10th 2018, 21:28 saeideng you can customize output of `$this->Form->*()` template
# Jul 10th 2018, 21:18 camdenbassett It does not do this if you use $this->Form->input() though
# Jul 10th 2018, 21:12 camdenbassett Sorry, just was reading that this is the default behavior for control and radio