Page 1 of 6

x3_installer.php + X3.23.0 BETA

Posted: 25 May 2017, 05:01
by mjau-mjau
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:

Re: x3_installer.php + X3.23.0 BETA

Posted: 25 May 2017, 06:05
by GGANG
WOW...Super Fast installation  :thumbsup:  :heart_eyes:
Without problem 
Can't wait your next post for many features.   :thinking:

Re: x3_installer.php + X3.23.0 BETA

Posted: 25 May 2017, 07:37
by GeoPal
Great success!
X3 was successfully installed. Please proceed to diagnostics

Re: x3_installer.php + X3.23.0 BETA

Posted: 25 May 2017, 14:41
by Overmaster
x3_installer.php worked fine. Waiting for the description of the update.

Re: x3_installer.php + X3.23.0 BETA

Posted: 25 May 2017, 15:46
by mjau-mjau
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.

Re: x3_installer.php + X3.23.0 BETA

Posted: 25 May 2017, 16:39
by masquefotos
Tested by creating folder and uploaded photos and video and all correct

Re: x3_installer.php + X3.23.0 BETA

Posted: 25 May 2017, 23:19
by GGANG
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:

Re: x3_installer.php + X3.23.0 BETA

Posted: 26 May 2017, 00:09
by mjau-mjau
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.

Re: x3_installer.php + X3.23.0 BETA

Posted: 26 May 2017, 01:35
by GGANG
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

Re: x3_installer.php + X3.23.0 BETA

Posted: 26 May 2017, 08:58
by andreamarucci
Works like a charm Karl!!!

Re: x3_installer.php + X3.23.0 BETA

Posted: 28 May 2017, 13:42
by mjau-mjau
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.

Re: x3_installer.php + X3.23.0 BETA

Posted: 28 May 2017, 16:38
by masquefotos
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 20359 times

Re: x3_installer.php + X3.23.0 BETA

Posted: 28 May 2017, 17:10
by andreamarucci
So Karl it's safe to update using the script or it's better to wait some more time?

Re: x3_installer.php + X3.23.0 BETA

Posted: 28 May 2017, 17:11
by marco963
masquefotos wrote:After updating
Captura de pantalla 2017-05-28 22.33.06.png
Same problem

Re: x3_installer.php + X3.23.0 BETA

Posted: 28 May 2017, 17:57
by GGANG
After update  :innocent: