# |
Jul 11th 2018, 06:49 |
romanovich095 |
There was some security updates after 3.4, If I remember correctly |
# |
Jul 11th 2018, 06:49 |
designskiller |
yes I know it but used cake 3.2 before |
# |
Jul 11th 2018, 06:48 |
romanovich095 |
Because Cake 3 is totally different |
# |
Jul 11th 2018, 06:48 |
designskiller |
Actually I used cakePHP before with version 2 and 3 but never get this error before |
# |
Jul 11th 2018, 06:47 |
designskiller |
thank you |
# |
Jul 11th 2018, 06:47 |
romanovich095 |
I will get to the mac in a few @designskiller. Then I will be able to check and tell. |
# |
Jul 11th 2018, 06:46 |
designskiller |
@romanovich095 the latest one |
# |
Jul 11th 2018, 06:43 |
romanovich095 |
@designskiller, what version of CakePHP are You using for the project? |
# |
Jul 11th 2018, 06:41 |
romanovich095 |
Can You share a screenshot, @soteri? |
# |
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 |