Re: SQL Cartesian Product with CakePHP find

2015-02-04 Thread José Lorenzo
Yes, you can use union in cake 3, paginating union queries is tricky as the different databases will interpret the ORDER BY and LIMIT differently. Waht you need to to in that case is passing a select * form (all union queries) to the paginator and it will work. On Tuesday, February 3, 2015 at

Re: SQL Cartesian Product with CakePHP find

2015-02-04 Thread Gildonei Mendes Anacleto Junior
Great info! Thank you again. 2015-02-04 14:09 GMT-02:00 José Lorenzo jose@gmail.com: Yes, you can use union in cake 3, paginating union queries is tricky as the different databases will interpret the ORDER BY and LIMIT differently. Waht you need to to in that case is passing a select *

Re: Cakephp 3.0 upgrade from 1.3 where to begin??

2015-02-04 Thread John Andersen
Migrate your 1.3 into a 2.x first, using the migration guides, that you can find in the CakePHP book 2.x under appendices. http://book.cakephp.org/2.0/en/appendices/2-0-migration-guide.html - as a starting point. When you are there, you can checkout the migration guide for CakePHP 3.x

Virtual Host Installing

2015-02-04 Thread David Yoo
I'd like to install CakePHP on my xampp server by each project. root/cakephp/project1 root/cakephp/project2 and I'd like to access this by localhost/project1, localhost/project2. Project1 would be my test site, the other one going to be publishing. and here is an error message project1Controller

Cake v2.x -- Looking to return rendered view to the Controller

2015-02-04 Thread BrendonKoz
For various reasons I had decided to use a 3rd party email library within my current CakePHP project. I thought that it might be nice to use CakePHP's Views to create templating for my emails and take advantage of layouts too. Unfortunately I'm stumped on just how to retrieve the rendered