Search…

X3 Photo Gallery Support Forums

Search…
 
hammermaster
Topic Author
Posts: 2
Joined: 20 Nov 2017, 20:59

Unable to see thumbnails and Menu

21 Nov 2017, 13:10

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
Attachments
Screen Shot 2017-11-21 at 12.07.27 PM.png
Screen Shot 2017-11-21 at 12.07.27 PM.png (59.41 KiB) Viewed 3588 times
Screen Shot 2017-11-21 at 11.51.56 AM.png
Screen Shot 2017-11-21 at 11.51.56 AM.png (48.81 KiB) Viewed 3588 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14010
Joined: 30 Sep 2006, 03:37

Re: Unable to see thumbnails and Menu

21 Nov 2017, 23:35

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.
 
hammermaster
Topic Author
Posts: 2
Joined: 20 Nov 2017, 20:59

Re: Unable to see thumbnails and Menu

22 Nov 2017, 18:16

thanks i sent you a PM  let me know any clues.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14010
Joined: 30 Sep 2006, 03:37

Re: Unable to see thumbnails and Menu

23 Nov 2017, 01:08

Answered in PM.
 
ikeker
Posts: 9
Joined: 09 Jul 2012, 04:55

Re: Unable to see thumbnails and Menu

07 Dec 2017, 07:56

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.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14010
Joined: 30 Sep 2006, 03:37

Re: Unable to see thumbnails and Menu

07 Dec 2017, 09:18

Answered in PM.
 
linker
Posts: 9
Joined: 19 Jan 2018, 05:09

Re: Unable to see thumbnails and Menu

31 Jan 2018, 05:01

 I also have same problem, please help me. thanks  

I have PM to you.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14010
Joined: 30 Sep 2006, 03:37

Re: Unable to see thumbnails and Menu

31 Jan 2018, 05:51

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 ...
Image
 
linker
Posts: 9
Joined: 19 Jan 2018, 05:09

Re: Unable to see thumbnails and Menu

31 Jan 2018, 22:29

NGINX-Tengine
http://tengine.taobao.org/   

I follow the X3 works on NGINX and it is work .  
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14010
Joined: 30 Sep 2006, 03:37

Re: Unable to see thumbnails and Menu

31 Jan 2018, 23:34

linker wrote:NGINX-Tengine
http://tengine.taobao.org/   

I follow the X3 works on NGINX and it is work .  
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
Image

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.
 
linker
Posts: 9
Joined: 19 Jan 2018, 05:09

Re: Unable to see thumbnails and Menu

01 Feb 2018, 00:05

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! 
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14010
Joined: 30 Sep 2006, 03:37

Re: Unable to see thumbnails and Menu

01 Feb 2018, 07:17

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.
 
linker
Posts: 9
Joined: 19 Jan 2018, 05:09

Re: Unable to see thumbnails and Menu

01 Feb 2018, 21:11

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 ?
Code
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; }}
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14010
Joined: 30 Sep 2006, 03:37

Re: Unable to see thumbnails and Menu

02 Feb 2018, 04:03

linker wrote: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.
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

Image
 
splitybus
Posts: 8
Joined: 29 Jan 2016, 14:38

Re: Unable to see thumbnails and Menu

07 Feb 2018, 13:11

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!!