# |
Jul 11th 2018, 07:07 |
designskiller |
@admad ok. It's showing in cakephp\/src\/Http\/Middleware\/CsrfProtectionMiddleware.php. Any suggestion how can I get rid of that error? |
# |
Jul 11th 2018, 07:05 |
saeideng |
site : https://book.cakephp.org/3.0/en/tutorials-and-examples.html |
# |
Jul 11th 2018, 07:05 |
saeideng |
yes , if you are reading from pdf |
# |
Jul 11th 2018, 07:03 |
mr.mjsm |
File uploaded https://cakesf.slack.com/files/UBN7KUDRA/FBN7RGABW/pasted_image_at_2018_07_11_10_03_am.png / https://slack-files.com/T053DPNCM-FBN7RGABW-0595daa4c4 - This one ? |
# |
Jul 11th 2018, 07:02 |
admad |
@mr.mjsm you can start with the tutorials on the manual |
# |
Jul 11th 2018, 07:02 |
saeideng |
you can start from cms education |
# |
Jul 11th 2018, 07:01 |
admad |
@designskiller it's because of either the CSRF component or CSRF middleware in Application class |
# |
Jul 11th 2018, 07:01 |
mr.mjsm |
thanks @romanovich095 @saeideng, i just noticed they have a large book ~ 900 pages. i think i will start from there |
# |
Jul 11th 2018, 06:57 |
saeideng |
+ https://training.cakephp.org/ |
# |
Jul 11th 2018, 06:57 |
saeideng |
documentation |
# |
Jul 11th 2018, 06:52 |
romanovich095 |
Hi @mr.mjsm. Well, actually itself documentation is great enough |
# |
Jul 11th 2018, 06:52 |
mr.mjsm |
Hello everyone, I have no experience with CakePHP, and would like to ask for a good resource to learn. |
# |
Jul 11th 2018, 06:50 |
designskiller |
ohh |
# |
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 |