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
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 *
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
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
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