Community

Nginx - dont show objects in admin panel

Summary

Site dont show resources list objects

Step to reproduce

Change to nginx

Observed behavior

Site works fine, but in admin panel dont show list objects

Expected behavior

Show objects

Environment

MODX Revo 2.5.4, nginx 1.14.0, php-fpm 7.2
nginx config is recomended https://docs.modx.com/revolution/2.x/getting-started/installation/basic-installation/nginx-server-config

I’d suggest updating to the latest version of Revo. Are there any error messages on the server or in the MODX Manager’s error log?

Many times:
[2019-05-06 22:44:57] (ERROR @ /data/www/domain.com/core/model/modx/modx.class.php : 991) [[+pageId]] is not a valid integer and may not be passed to makeUrl()
Periodic:
[2019-05-06 21:11:23] (ERROR @ /data/www/domain.com/core/cache/includes/elements/modsnippet/1568046579.include.cache.php : 26) Array
(
[0] => 700
[1] => 701
[2] => 702
[3] => 703
[4] => 704
[5] => 705
[6] => 706
[7] => 707
[8] => 708
[9] => 1026
[10] => 1511
[11] => 1840
[12] => 1990
[13] => 2988
[14] => 4881
[15] => 4882
[16] => 4883
)

sometimes
[2019-05-06 19:55:52] (ERROR @ /data/www/domain.com/core/model/phpthumb/modphpthumb.class.php : 133) Error outputting thumbnail:
OutputThumbnail() failed because !is_resource($this->gdimg_output) in file “phpthumb.class.php” on line 618

Switching on Apache - all works fine! But very slow

Are you still running on Revo 2.5.4? I suspect there may have been some fixes that would stop some of those errors. Strongly suggest updating to 2.7.1.

change of web server did not reveal new errors. Only this all time: (ERROR @ /data/www/domain.com/core/model/modx/modx.class.php : 991) [[+pageId]] is not a valid integer and may not be passed to makeUrl()

Thanks for tips! Will try update