Search…

X3 Photo Gallery Support Forums

Search…
 
Zorugal
Topic Author
Posts: 7
Joined: 27 Feb 2020, 04:32

Thumbnail, previews & pictures do not load after update to 3.29.4

28 Jun 2020, 15:48

I just updated from 3.28.0 where everything was fine to 3.29.4 and basically everything is broken now.

The thumbnails in the panel won't load any more:
panel.png
panel.png (28.47 KiB) Viewed 3856 times
Worse than that: The gallery previews won't load either:
gallery.png
gallery.png (4.35 KiB) Viewed 3856 times
also the pictures wont load:
picture.png
picture.png (1.6 KiB) Viewed 3856 times

When I click the link in the error message I get:
error.png
error.png (34.36 KiB) Viewed 3856 times

Howerver, when I click on the image link which supposedly doesn't exist, the image is displayed by the browser. So It does exist and is accessible.
Last edited by Zorugal on 28 Jun 2020, 16:02, edited 1 time in total.
 
Zorugal
Topic Author
Posts: 7
Joined: 27 Feb 2020, 04:32

Re: Thumbnail, previews & pictures do not load after update to 3.29.4

28 Jun 2020, 16:15

Maybe it's worth to mention, that my content/ folder is a symlink as I have the content data stored on a different partition.
This hasn't been a problem with previous versions.
 
Zorugal
Topic Author
Posts: 7
Joined: 27 Feb 2020, 04:32

Re: Thumbnail, previews & pictures do not load after update to 3.29.4

28 Jun 2020, 16:20

It in fact is related to the symbolic link.
I've moved the data and all the images load again.

Is it possible to get the support for symlinks back?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Thumbnail, previews & pictures do not load after update to 3.29.4

29 Jun 2020, 02:10

Hmm, thanks for reporting this. I also have a couple of websites (not yet updated to X3.29) where the content dir is a symlink to another location. I will check later today and post here.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Thumbnail, previews & pictures do not load after update to 3.29.4

29 Jun 2020, 05:46

Zorugal wrote:Is it possible to get the support for symlinks back?
I have now fixed so that the image resizer supports image paths in symlinks.

I updated X3 without pushing new version, since only one file /app/parsers/slir/index.php has been updated. You can update by loading /panel/?force_update (with ?force_update as request parameter) and navigating to Tools > X3 updates. Optionally, download the updated file from github and replace /app/parsers/slir/index.php on your server.
 
Zorugal
Topic Author
Posts: 7
Joined: 27 Feb 2020, 04:32

Re: Thumbnail, previews & pictures do not load after update to 3.29.4

29 Jun 2020, 05:48

Thanks for the quick fix!
Will try it tonight.
 
Zorugal
Topic Author
Posts: 7
Joined: 27 Feb 2020, 04:32

Re: Thumbnail, previews & pictures do not load after update to 3.29.4

29 Jun 2020, 14:40

Works!
Thanks! Ure the best!  :heart_eyes:

Moving and linking the render/ folder works, too.
 
dreamernf
Posts: 2
Joined: 02 Jul 2017, 04:23

Re: Thumbnail, previews & pictures do not load after update to 3.29.4

22 Sep 2020, 04:37

Hi all.  I have the same problem after upgrading to version 29.  The method described above did not help me.  Photo previews are not created (((Where else to look to understand the reason why this does not work?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Thumbnail, previews & pictures do not load after update to 3.29.4

22 Sep 2020, 05:11

dreamernf wrote:Hi all.  I have the same problem after upgrading to version 29.  The method described above did not help me.  Photo previews are not created (((Where else to look to understand the reason why this does not work?
For starters, do you have a link for me? Check your website.com?diagnostics link?

This post was related to using a symlink as content path, and that was solved already.
 
dreamernf
Posts: 2
Joined: 02 Jul 2017, 04:23

Re: Thumbnail, previews & pictures do not load after update to 3.29.4

22 Sep 2020, 06:07

mjau-mjau wrote:
dreamernf wrote:Hi all.  I have the same problem after upgrading to version 29.  The method described above did not help me.  Photo previews are not created (((Where else to look to understand the reason why this does not work?
For starters, do you have a link for me? Check your website.com?diagnostics link?

This post was related to using a symlink as content path, and that was solved already.
https://andrey.media/?diagnostics ,  the php version has always been this way and before even everything worked fine with it
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Thumbnail, previews & pictures do not load after update to 3.29.4

22 Sep 2020, 09:53

Most likely new X3 requires PHP 5.4 (or higher). I should have checked and written in the release post. But why you don't upgrade to a newer PHP version on your server? Latest PHP version is 7.4, while your PHP 5.3 was released in 2009(!!) and is slow, outdated and insecure. You should be able to upgrade PHP version from your hosting control panel ... No professional hosting will offer only PHP 5.3.

Let me know if it solves the error.
 
cebulek
Posts: 1
Joined: 26 Sep 2017, 14:22

Re: Thumbnail, previews & pictures do not load after update to 3.29.4

10 Nov 2020, 05:29

Hi all. I have the same problem on version X3.29.6 on new instalation.Photo previews are not created :/
link to diagnostics http://cebulek.pl/?diagnostics
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Thumbnail, previews & pictures do not load after update to 3.29.4

10 Nov 2020, 08:20

Something on your server. This is what I see when loading one of the images. File not found.
http://cebulek.pl/render/w480/galleries ... terfly.jpg
Image

Yet when I refresh the same page with. some random ?bah, it loads and processes fine:
http://cebulek.pl/render/w480/galleries ... ly.jpg?bah
Image

Now, the same image works without adding the random parameters:
http://cebulek.pl/render/w480/galleries ... terfly.jpg
Some weird dysfunctional caching mechanism on your server.
Image

That specific image now also loads in place in the gallery (for the specific size requested by my macbook 13" retina):
http://cebulek.pl/galleries/nature/
Image

You really need to ask your host about this.
1. Open your browser developer tools > network inspector when loading a gallery, and see all the errors.
2. Then click to open on of the broken images in new tab, and see the error from hosting.
3. Then refresh the image with some random ?parameter at the end in url. This means nothing to X3, but apparently it seems to refresh the request on your server, bypassing some dysfunctional cache mechanism.

Surely your hosting should be able to figure this out.