Situation:
Server A & server B installed same Ubuntu 14.04, same nginx version (1.4.6), same virtual host (domain.com) and joomla folder (rsync-ed from server A to B)
But server A only able to display its front page and would display "no file input specified" on any menu items.
If I change in /etc/hosts so that server A's IP would use domain.com after server B tested, it would not failed right away. Only after a few minutes that errror would appear.
There are a few messages on nginx's error log such as below:
2015/02/23 12:01:57 [error] 15515#0: *260609 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined property: JPagination::$pagesTotal in /var/www/joomla/templates/ashton/html/com_content/featured/default.php on line 76" while reading response header from upstream, client: 10.224.202.152, server: www.domain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "www.domain.com"