Page 1 of 1
Unable to see thumbnails and Menu
Posted: 21 Nov 2017, 13:10
by hammermaster
for some reason im not able to generate thumbnails i get a broken image like the one in the attachment.
Menu is not displaying and images do not appear , they keep like loading but never appear (see attachment))
what can be wrong or what is to check?
thanks
Re: Unable to see thumbnails and Menu
Posted: 21 Nov 2017, 23:35
by mjau-mjau
I need a link to be able to diagnose the problem. Send in private message if you don't want to post public.
Since the PHP image resize script is failing, it will be related to any one of the below:
- Insufficient memory to resize.
- Missing PHP GD extension.
- Problem with symlinks.
- Missing X3 files, or permission denied on resizer script files.
- Any generic server error caused by server/phpversion/firewall misconfiguration, which I can only check from link.
Re: Unable to see thumbnails and Menu
Posted: 22 Nov 2017, 18:16
by hammermaster
thanks i sent you a PM let me know any clues.
Re: Unable to see thumbnails and Menu
Posted: 23 Nov 2017, 01:08
by mjau-mjau
Answered in PM.
Re: Unable to see thumbnails and Menu
Posted: 07 Dec 2017, 07:56
by ikeker
mjau-mjau wrote:Answered in PM.
Hello mjau-mjau,
I'm a novice, using X2 a lot years ago, and I upgraded to X3 yesterday.
I also have the same problem, and I want to know how to solve it.
I use my own VPS, and I've installed a new x3.24.2
The VPS environment is LNMPA
I PM give you some of my server information, and if you need anything, I can still offer.
I hope you can solve this problem. Thanks very much.
Re: Unable to see thumbnails and Menu
Posted: 07 Dec 2017, 09:18
by mjau-mjau
Answered in PM.
Re: Unable to see thumbnails and Menu
Posted: 31 Jan 2018, 05:01
by linker
I also have same problem, please help me. thanks
I have PM to you.
Re: Unable to see thumbnails and Menu
Posted: 31 Jan 2018, 05:51
by mjau-mjau
linker wrote: I also have same problem, please help me. thanks
You mean resized images? Yes I can see they are not loading, although that is not related to this post.
Here is a request to a resized image:
https://shining1001.com/render/w640/2.g ... autumn.jpg
What kinda server is this "Tengine"? Also, this is NGINX server ... how did you set it up? X3 works on NGINX, if you
configure it properly, but I don't know what this "Tengine" is ...

Re: Unable to see thumbnails and Menu
Posted: 31 Jan 2018, 22:29
by linker
NGINX-Tengine
http://tengine.taobao.org/
I follow the
X3 works on NGINX and it is work .
Re: Unable to see thumbnails and Menu
Posted: 31 Jan 2018, 23:34
by mjau-mjau
Not sure what you mean. You got it to work?
When I try to load a resized image, I see this:
https://shining1001.com/render/w640-c1: ... africa.jpg
Now suddenly it's some server "openresty" server. All these layers of servers seems a bit complicated if you want the necessary few X3 rewrite rules to function properly.
Re: Unable to see thumbnails and Menu
Posted: 01 Feb 2018, 00:05
by linker
I change the nagix and try to test ,it have Tengine or openresty .but it is still not work .
The X3 rewrite is ok show in the panel.
I will change back the tengine. sorry!
Re: Unable to see thumbnails and Menu
Posted: 01 Feb 2018, 07:17
by mjau-mjau
Can't you just run Apache? X3 supports Apache out of the box. X3 supports NGINX also, when
properly configured. Never heard about Tengine or openresty ... perhaps they just run on Apache or Ngninx, I don't know. They will need to be able to run the Apache and/or Nginx config, and I can't really support these servers if they don't work with the rules provides for Apache or nginx.
Re: Unable to see thumbnails and Menu
Posted: 01 Feb 2018, 21:11
by linker
I use the
https://forum.photo.gallery/viewtopic.p ... ilit=nginx# ,it is fine.
if I use the
https://gist.github.com/mjau-mjau/6dc19 ... e566a8457b ,it is not work.
Is it right ?
server {
# Basic NGINX site setup listen 80; server_name shining1001.com;
# Location where X3 is installed root /www/wwwroot/shining1001.com;
# index.php as index index /www/wwwroot/shining1001.com/index.php;
# X3 rewrite rules location / { if (!-e $request_filename){
# Rewrite any calls to html|json|xml|atom|rss if a folder matching * exists rewrite (.+)\.(html|json|xml|atom|rss)$ $1/ last;
# Rewrite any calls to /render to the X3 image resizer rewrite ^/render/. /app/parsers/slir/ last;
# Rewrite routes to X3 application index.php if they are non-existent files/dirs rewrite ^(.*)$ /index.php?$1 last; } }
# Prevent web access to X3 /config and /_cache directories location ~ /(config|_cache) { deny all; }
# PHP [OPTIONAL] # PHP setup may vary, but you should already have PHP working for NGINX or for a website. # Likely you may have a php.conf file to include. location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$;
# With php5-cgi alone: fastcgi_pass 127.0.0.1:9000;
# With php5-fpm: # fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; }}
Re: Unable to see thumbnails and Menu
Posted: 02 Feb 2018, 04:03
by mjau-mjau
I tried your website now, and everything seems to be working nice and fast. Did you fix it? Pages and resized images all seem to be working properly:
https://shining1001.com/render/w640-c1: ... apes/7.jpg

Re: Unable to see thumbnails and Menu
Posted: 07 Feb 2018, 13:11
by splitybus
I have the same issue can you pm me any clues???
website
http://www.peter-Parkinson.co.uk
DONT WORRY SOLVED IT NOW copied over the slir file from a backup and it worked!!