Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Error 502 Bad Gateway when using Paginator getPaginate #1385
I found error 502 when using $paginator->getPaginate().
$customer = \Model\customer::find(); $paginator = new \Phalcon\Paginator\Adapter\Model(array( "data" => $customer, "limit" => 10, "page" => 2 )); $page = $paginator->getPaginate();
I get this error on php-fpm
[15-Sep-2013 18:37:35] WARNING: [pool www] child 11176 exited on signal 4 (SIGILL - core dumped) after 27567.009692 seconds from start [15-Sep-2013 18:37:35] NOTICE: [pool www] child 21832 started
PHP Version 5.3.10 Nginx 1.1.19 Phalcon 1.2.3/1.2.4/1.3.0 FPM/FastCGI
Any tips? I also tried the querybuilder with same problem.
I've tried 1.2.4 and 1.3.0 branch, but the problem are still exist. I've tried solution on this thread http://forum.phalconphp.com/discussion/898/-solved-paginator-problem#C3876, but still no luck :(
Please try to build Phalcon manually (not using
# If your system is 32 bit: cd build/32bits # If your system is 64 bit: cd build/64bits phpize ./configure CFLAGS="-O2 -g -fomit-frame-pointer -DPHALCON_RELEASE" make sudo make install
and see if this solves the issue.