Log message #4108780

# At Username Text
# Jan 13th 2018, 18:21 birdy247 is CRUD still well supported?
# Jan 13th 2018, 18:05 dereuromark for some reason it doesnt fall back to core ones
# Jan 13th 2018, 18:05 dereuromark unfortunately, you have too, yeah
# Jan 13th 2018, 17:15 cgtag I have error views in a plugin, but have to copy it to my `Template/Error` folder for it to be used. Is this correct?
# Jan 13th 2018, 17:12 cgtag does cake render error views from plugins?
# Jan 13th 2018, 17:08 maymeow https://github.com/MayMeow/sandbox Trying to use VueJS with CakePHP. First example is there (more will come). Maybe for someone can be usefull.
# Jan 13th 2018, 16:08 birdy247 Hey
# Jan 13th 2018, 15:18 kitcat711 i am using through
# Jan 13th 2018, 15:11 hmic if you are not using through, there is none.
# Jan 13th 2018, 15:08 kitcat711 hmic : oh ok, I was trying the relation to get to it
# Jan 13th 2018, 15:07 hmic by loading the table from the regisry i suppose
# Jan 13th 2018, 15:06 kitcat711 how do I call a method located in the join table model from the StudentsController ?
# Jan 13th 2018, 15:05 kitcat711 when usign the trhough option in a relation like here : https://book.cakephp.org/3.0/en/orm/associations.html#using-the-through-option
# Jan 13th 2018, 14:09 dinosaur done. Was vhost config
# Jan 13th 2018, 13:56 dinosaur Untampered .htaccess webroot = drwxr-xr-x webroot/css = drwxrwxrwx no error messages
# Jan 13th 2018, 13:53 admad assuming you have the default rule in .htaccess could be file/folder permissions issue
# Jan 13th 2018, 13:50 dinosaur Trying to figuring out why it is not
# Jan 13th 2018, 13:46 admad webroot/css/foo.css should be callable as domain.com/css/foo.css
# Jan 13th 2018, 13:42 dinosaur @admad The old application call resources like "/css/name.css". Its only working if I change then to "/webroot/old/css". Even if I move the css dir to /webroot/css I cannot call directly "/css/name.css". There are a way to avoid change every each file?
# Jan 13th 2018, 13:14 dinosaur trying! :slightly_smiling_face:
# Jan 13th 2018, 13:12 dinosaur hmm The shared session would be needed anyway
# Jan 13th 2018, 13:12 dinosaur This or maybe cakephp auth+menu and point the menu calling to each one of the old files...
# Jan 13th 2018, 13:11 admad so share session between the 2 apps and redirect to cake login page is not authticated
# Jan 13th 2018, 13:10 dinosaur @admad I did. But it is a protected content, so I wish to auth into cake and only then allow access to that old files/structure...
# Jan 13th 2018, 13:03 admad @dinosaur if you put the old site inside webroot it will be directly accessible like domain.com/oldfoo.php
# Jan 13th 2018, 12:57 technofection Hi, I am trying to create a resource map like this 'map' => [ '/search/:page/:records/*' => [ 'action' => 'index', 'method' => 'GET' ], .... .... I want to set regular expression for the URL parameters... What is the syntax?
# Jan 13th 2018, 12:52 dinosaur I have an old site using raw PHP with no MVC. For several reasons, I wish to put it "inside" a CakePHP. I've found this https://www.endpoint.com/blog/2009/12/03/iterative-migration-of-legacy (exactly what I want) but it is too old and I could not replicate the generic idea to CakePHP3. Does anyone maded similar thing? Can you point me to idea to try? Rebuild it from scratch is not an option.
# Jan 13th 2018, 12:48 ghoritrilochan i have use https://github.com/paypal/PayPal-PHP-SDK this plugin but not understand which place in insert "first .php" file
# Jan 13th 2018, 12:13 info356 ah great! thanks
# Jan 13th 2018, 12:13 admad https://api.cakephp.org/3.5/class-Cake.Collection.CollectionInterface.html#_combine
# Jan 13th 2018, 12:13 admad @info356 ->all()->combine()
# Jan 13th 2018, 12:12 ghoritrilochan any have paypal payment getway demo. i not understand how to implement so...
# Jan 13th 2018, 12:09 info356 toArray(['keyValue' => '{n}.reference']) would be a nice feature or not?
# Jan 13th 2018, 12:07 admad instead of the foreach you can use Hash::combine()
# Jan 13th 2018, 11:48 info356 File uploaded https://cakesf.slack.com/files/U8MUBMSFQ/F8RSXA341/-.php / https://slack-files.com/T053DPNCM-F8RSXA341-3929512773
# Jan 13th 2018, 11:19 kitcat711 I am trying with a contain, but got an empty array as a result
# Jan 13th 2018, 11:19 kitcat711 how can I get an article with all its tags?
# Jan 13th 2018, 11:18 kitcat711 using the BelongsToMany association like here https://book.cakephp.org/3.0/en/orm/associations.html#belongstomany-associations
# Jan 13th 2018, 11:18 kitcat711 hey there
# Jan 13th 2018, 11:05 technofection Hi, I am trying to create a resource map like this 'map' => [ '/search/:page/:records/*' => [ 'action' => 'index', 'method' => 'GET' ], .... .... I want to set regular expression for the URL parameters... What is the syntax?
# Jan 13th 2018, 01:44 mdotobie Actually scratch that question. I just realized there is another approach I can take