# |
Jul 11th 2018, 07:24 |
neon1024 |
Morning all |
# |
Jul 11th 2018, 07:24 |
prasanna.venkat |
@admad please help |
# |
Jul 11th 2018, 07:17 |
designskiller |
@admad Thank you! |
# |
Jul 11th 2018, 07:13 |
prasanna.venkat |
pagination links are showing as scrapbookingpages for all routes |
# |
Jul 11th 2018, 07:12 |
romanovich095 |
At least words must be separated and divided by `-`. For example `my-class` |
# |
Jul 11th 2018, 07:11 |
prasanna.venkat |
@romanovich095 what am i doing wrong |
# |
Jul 11th 2018, 07:10 |
prasanna.venkat |
@admad is this routing correct one in cake2 |
# |
Jul 11th 2018, 07:10 |
romanovich095 |
Well, @prasanna.venkat - really poor pages namings |
# |
Jul 11th 2018, 07:09 |
slackebot4 |
array(‘controller’ => ‘user_created_pages’, ‘action’ => ‘allpages’), array(‘defaultRoute’ => true)); }` |
# |
Jul 11th 2018, 07:09 |
prasanna.venkat |
`$pages = array(‘scrapbookingpages’, ‘comicpages’, ‘addtoscenepages’, ‘colouringpages’, ‘gamepages’, ‘parentpage’); foreach ($pages as $page) { Router::connect(‘/’.$page, array(‘controller’ => ‘allpages’, ‘action’ => ‘index’), array(‘defaultRoute’ => true)); Router::connect(‘/’.$page.‘/:action/*’, array(‘controller’ => ‘allpages’), array(‘defaultRoute’ => t |
# |
Jul 11th 2018, 07:08 |
admad |
just don't load it for API requests |
# |
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 |