Search…

X3 Photo Gallery Support Forums

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

x3_installer.php + X3.23.0 BETA

25 May 2017, 05:01

Can someone please test new X3 installer script and X3.23.0 BETA?

X3 Installer
  • Download x3_installer.php * Updated June 06, 23:53
  • Upload the file into an empty directory on your server.
  • Navigate to the location where you uploaded x3_installer.php, and follow on-screen instructions.
X3.23.0 BETA
I don't have time to write the very very long post about this release quite yet, and I need to test-drive it a bit first.
  • This update is currently ONLY available from the x3_installer.php script, not from the usual download links.
  • Please do NOT yet try to update existing X3 websites.
Please let me know:
  • Did the x3_installer.php script work for you?
  • Please test-run new X3.23.0 BETA. It is a massive update, but most features are hidden under the hood, so you might not notice many features until I write about them. Please let me know if you find any obvious bugs.
:star:THANKS :star:
 
User avatar
GGANG
Experienced
Posts: 122
Joined: 02 Feb 2012, 11:01

Re: x3_installer.php + X3.23.0 BETA

25 May 2017, 06:05

WOW...Super Fast installation  :thumbsup:  :heart_eyes:
Without problem 
Can't wait your next post for many features.   :thinking:
 
User avatar
GeoPal
Experienced
Posts: 227
Joined: 20 Dec 2007, 12:56

Re: x3_installer.php + X3.23.0 BETA

25 May 2017, 07:37

Great success!
X3 was successfully installed. Please proceed to diagnostics
 
User avatar
Overmaster
Experienced
Posts: 51
Joined: 21 Jan 2011, 05:54

Re: x3_installer.php + X3.23.0 BETA

25 May 2017, 14:41

x3_installer.php worked fine. Waiting for the description of the update.
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13992
Joined: 30 Sep 2006, 03:37

Re: x3_installer.php + X3.23.0 BETA

25 May 2017, 15:46

Thanks guys. I would appreciate if you could also make a few pages from the panel, upload a few photos, and check pages on the website just to make sure everything is working fine.

I have already released the new version in main download link, but I need to optimize the new upgrade-only download package. A lot of files/folders have been moved, and I need to make sure the upgrade process is as simple as possible. With the new x3_installer.php and changes in latest X3, we are heading towards a new X3-update tool, available directly from the panel.
 
User avatar
masquefotos
Experienced
Posts: 140
Joined: 20 May 2011, 05:38

Re: x3_installer.php + X3.23.0 BETA

25 May 2017, 16:39

Tested by creating folder and uploaded photos and video and all correct
 
User avatar
GGANG
Experienced
Posts: 122
Joined: 02 Feb 2012, 11:01

Re: x3_installer.php + X3.23.0 BETA

25 May 2017, 23:19

Hello Karl,

.htaccess file difference from previous version.
How to work with the rewrite http://www.example.com → example.com

But I already upgrade by delete X3 core folders and files. Everything works fine.
And New Installation Super Fast! I love it.  :heart_eyes:
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13992
Joined: 30 Sep 2006, 03:37

Re: x3_installer.php + X3.23.0 BETA

26 May 2017, 00:09

GGANG wrote:.htaccess file difference from previous version.
Very much so! We removed a lot of junk, and included only stuff which is important for X3. The new .htaccess file will be maintained here:
https://gist.github.com/mjau-mjau/48cc0 ... 337e5ad986
GGANG wrote:How to work with the rewrite http://www.example.com → example.com
In the .htaccess file, we have a link to "additional rules":
https://github.com/h5bp/server-configs- ... /.htaccess

As recommended from the popular HTML5 boilerplate .haccess:
Code
# Option 1: rewrite www.example.com → example.com
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
    RewriteRule ^ %{ENV:PROTO}://%1%{REQUEST_URI} [R=301,L]
</IfModule>
If you are using Cloudflare, and have page-rules available, I would recommend doing it from there instead. The benefit is that the redirects will happen faster from Cloudflare's Edge servers, before the request even hits your server:
Image
GGANG wrote:But I already upgrade by delete X3 core folders and files. Everything works fine.
Nice! Since we moved the /_cache directory in new release, I am trying to implement an auto-move/convert for cached pages/images. It's not really a problem if you start with a new empty /_cache folder, as it will populate quickly anyway.
GGANG wrote:And New Installation Super Fast! I love it.  :heart_eyes:
:clap: I think this is a great feature also. Makes it really fast and painless to install a new X3 website! I really hated having to download ZIP, unpack locally, and then upload all files by FTP, which is really slow and prone to errors.

I am trying to build an x3_updater.php also, but this is a bit more complicated.
 
User avatar
GGANG
Experienced
Posts: 122
Joined: 02 Feb 2012, 11:01

Re: x3_installer.php + X3.23.0 BETA

26 May 2017, 01:35

Hi Karl,

I want to share this post. Its very useful. 
  • Its can upload zip file and delete after extract. I'd use it for override the X3 core folders and files.
  • But I've never keep it on the server after works, I'm afraid to get hack by a bad boy. HAHA   :laughing:
PHP DIRECTORY LISTING SCRIPT
 
User avatar
andreamarucci
Experienced
Posts: 308
Joined: 01 Mar 2011, 11:13

Re: x3_installer.php + X3.23.0 BETA

26 May 2017, 08:58

Works like a charm Karl!!!
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13992
Joined: 30 Sep 2006, 03:37

Re: x3_installer.php + X3.23.0 BETA

28 May 2017, 13:42

X3 Updater  :green_heart:
Phew! :relaxed: Worked all weekend with this script, but I'm really happy with the result.  It's got tons of useful built-in features, and I'm hoping this will be the end of having to update X3 manually by FTP. The updater script is one side-effect of the hard work that went into new X3.23.0 (not official yet).

Instructions
  1. Download the x3_updater.php script.
  2. Upload it into your X3 directory.
  3. Access the script {yourwebsite.com/x3_updater.php} from browser, and follow on-screen instructions.
Your questions answered
  • Yes, it's safe to use the x3 updater.
  • Yes, it's safe to upgrade to X3.23.0.
Since X3.23.0, the updater is also available from X3 Panel > Tools > X3 updates.
 
User avatar
masquefotos
Experienced
Posts: 140
Joined: 20 May 2011, 05:38

Re: x3_installer.php + X3.23.0 BETA

28 May 2017, 16:38

After updating
Captura de pantalla 2017-05-28 22.33.06.png
Captura de pantalla 2017-05-28 22.33.06.png (720.13 KiB) Viewed 15546 times
 
User avatar
andreamarucci
Experienced
Posts: 308
Joined: 01 Mar 2011, 11:13

Re: x3_installer.php + X3.23.0 BETA

28 May 2017, 17:10

So Karl it's safe to update using the script or it's better to wait some more time?
 
marco963
Experienced
Posts: 89
Joined: 14 Oct 2006, 10:22

Re: x3_installer.php + X3.23.0 BETA

28 May 2017, 17:11

masquefotos wrote:After updating
Captura de pantalla 2017-05-28 22.33.06.png
Same problem
 
User avatar
GGANG
Experienced
Posts: 122
Joined: 02 Feb 2012, 11:01

Re: x3_installer.php + X3.23.0 BETA

28 May 2017, 17:57

After update  :innocent:
Attachments
29-5-2560 4-43-35.jpg
29-5-2560 4-43-35.jpg (138.6 KiB) Viewed 15537 times