Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13481
Joined: 30 Sep 2006, 03:37

X3.31.0 Cart, Breadcrumbs and Files :lion_face:

16 Jul 2022, 03:34

X3.31.0 Cart, Breadcrumbs and Files :lion_face:
This release includes a new cart plugin, breadcrumbs, Files gallery, bug fixes, PHP 8.1 compatibility and more.
photo.gallery/blog/x3-31-cart-files-breadcrumbs/



How to update?
See docs or simply navigate to X3 Panel > Tools > X3 Updates and click "update now".
 
amateur56
Experienced
Posts: 27
Joined: 12 Apr 2019, 04:31

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

18 Jul 2022, 03:46

I just bought files_gallery 2 weeks ago!
Will this have a problem with the one you've added into th2 x3 update?
Will it add or try to add another gallery etc, I'm confused.
How does this files gallery work, does it run from the admin or on its own like the bought one?
Guess I lucked out
George
 
User avatar
hejberlin
Posts: 17
Joined: 14 Feb 2020, 09:53

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

18 Jul 2022, 04:38

Thank you for the update. I recently noticed an error. I have blocked the image download. However, if the images are found via Google and called up directly, they can be downloaded without being blocked.
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13481
Joined: 30 Sep 2006, 03:37

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

18 Jul 2022, 06:48

hejberlin wrote: Thank you for the update. I recently noticed an error. I have blocked the image download. However, if the images are found via Google and called up directly, they can be downloaded without being blocked.
I'm not 100% sure what you are asking for. The X3 setting "Block image downloads" will effectively block visitors from being able to right-click and choose "download ... " or "save as ...". It does NOT block the images from being visible and available on your website, in which case, Google may also find your images. It is not possible in X3 (or any other website) to 100% prevent people from downloading images that you have made available on public web pages.
 
metallissimus
Experienced
Posts: 229
Joined: 17 Oct 2019, 06:54

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

18 Jul 2022, 12:29

Is it possible that the update overwrote my existing files configuration (in the same root/files as my X3 installation)?
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
User avatar
TAIFUN
Experienced
Posts: 34
Joined: 26 Oct 2011, 09:17

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

18 Jul 2022, 14:06

Hi.
X3.31.0 not supported php 5.6.4?

https://www.photo.gallery/docs/setup/introduction/
PHP 5.3 or higher (PHP 7 recommended).
But after updating the photo gallery to X3.31.0, it started showing error "500". PHP version 7 does not have this problem.
If the gallery no longer supports php version 5 you have to fix the text on the page https://www.photo.gallery/docs/setup/introduction/
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13481
Joined: 30 Sep 2006, 03:37

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

18 Jul 2022, 23:41

metallissimus wrote: Is it possible that the update overwrote my existing files configuration (in the same root/files as my X3 installation)?
Not really, because the ZIP file that the updater uses only includes X3 application files, not /content/ or /config/, so it wouldn't be able to overwrite those.
https://www.photo.gallery/download/X3.3 ... e.flat.zip
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13481
Joined: 30 Sep 2006, 03:37

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

18 Jul 2022, 23:43

TAIFUN wrote:X3.31.0 not supported php 5.6.4?
Unfortunately, I messed up and added a few PHP7+ codes. Doesn't your hosting allow updating to PHP 7 or 8? PHP 7 was released in 2015 and PHP 5 was released in 2004!

I will fix the code so it is PHP5 compatible later today. Sorry for any inconvenience.
 
metallissimus
Experienced
Posts: 229
Joined: 17 Oct 2019, 06:54

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

19 Jul 2022, 00:58

mjau-mjau wrote:
metallissimus wrote: Is it possible that the update overwrote my existing files configuration (in the same root/files as my X3 installation)?
Not really, because the ZIP file that the updater uses only includes X3 application files, not /content/ or /config/, so it wouldn't be able to overwrite those.
https://www.photo.gallery/download/X3.3 ... e.flat.zip
Ok, that's strange. The config file had a last modified date matching my update and everything was back to default. I hadn't manually edited the file for weeks before the update.
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13481
Joined: 30 Sep 2006, 03:37

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

19 Jul 2022, 01:28

metallissimus wrote:The config file had a last modified date matching my update and everything was back to default.
When you say "back to default", what exactly does that mean? Default X3 is NO CONFIG, not even a config file. The x3_updater.php script doesn't do anything to any config as you would see in the code. Even the full install ZIP files don't contain a /config/config.user.json, so it wouldn't not be possible to "overwrite" anything. We didn't even update the x3_updater.php script since it's been used by many users in many updates, including this one. I'm struggling to see how this could be related to the update process.
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13481
Joined: 30 Sep 2006, 03:37

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

19 Jul 2022, 01:32

TAIFUN wrote:X3.31.0 not supported php 5.6.4?
I have now updated X3 so it's PHP5 friendly. I didn't change the version number (X3.31.1), so if you need to FORCE-update, you would need to use URL /panel/?force_update.
 
metallissimus
Experienced
Posts: 229
Joined: 17 Oct 2019, 06:54

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

19 Jul 2022, 01:37

mjau-mjau wrote:
metallissimus wrote:The config file had a last modified date matching my update and everything was back to default.
When you say "back to default", what exactly does that mean? Default X3 is NO CONFIG, not even a config file.
Misunderstanding. I am not talking about X3 config, but files app config. (Should have used the word "app" earlier to make things more clear, sorry.)
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13481
Joined: 30 Sep 2006, 03:37

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

19 Jul 2022, 02:07

metallissimus wrote:Misunderstanding. I am not talking about X3 config, but files app config. (Should have used the word "app" earlier to make things more clear, sorry.)
Right, that's another story then. Did you already have a folder /files/ before updating to X3 where this dir was included? Then it would likely overwrite all your existing files. I will need to make sure in next X3 release that updating X3 does not overwrite /files/_files/config/config.php. If you happen to have custom Files installations for other purposes, you should probably use a different folder name than /files/.
 
User avatar
TAIFUN
Experienced
Posts: 34
Joined: 26 Oct 2011, 09:17

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

19 Jul 2022, 02:08

mjau-mjau wrote:
TAIFUN wrote:X3.31.0 not supported php 5.6.4?
I have now updated X3 so it's PHP5 friendly. I didn't change the version number (X3.31.1), so if you need to FORCE-update, you would need to use URL /panel/?force_update.
Does not work. Ok, this is not a problem for me. I updated the php to php7 for domen of photo gallery.
 
metallissimus
Experienced
Posts: 229
Joined: 17 Oct 2019, 06:54

Re: X3.31.0 Cart, Breadcrumbs and Files :lion_face:

19 Jul 2022, 02:52

mjau-mjau wrote: Did you already have a folder /files/ before updating to X3 where this dir was included?
Exactly. I'm glad the content wasn't also overwritten, that would have been really bad.

Naming the root folder of files app "files" is an obvious choice, why would I have named it differently?
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography