I am building a symfony 1.4 project with an MS SQL backend. I built a backend using the admin generator but when I attempt to load an admin module I am getting this error:
OFFSET cannot be used in MS SQL without ORDER BY due to emulation reasons
How do I resolve this?
The symfony application is running on Debian squeeze under Apache 2.2.
In my case the error disappeared by setting the pager size explicit:
Edit: That wasn’t the solution, I just had some sorting paramters in the session which solved the problem temporarily.
The new solution is to define a defalut sorting. I did it by overriding the index action:
instead of