?
avatar PhilETaylor
PhilETaylor
20 Nov 2017

at the moment this is the abrupt end to someones first try with Joomla 4

Your host needs to use PHP 7.0 or higher to run this version of Joomla!

Maybe we could pretty that into a read error "page" that has some helpful reasons why PHP 7 is needed, some links to system requirements, documentation etc...

Yes I know we didnt pretty it up in previous versions, but surely with Joomla 4 being able to save the world, and cure world hunger, I think we should try harder with this, that could become the first, and then last impression, someone has of Joomla...

avatar PhilETaylor PhilETaylor - open - 20 Nov 2017
avatar joomla-cms-bot joomla-cms-bot - change - 20 Nov 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Nov 2017
avatar dgt41
dgt41 - comment - 20 Nov 2017

Well unless we totally messed up something that page should look like: screen shot 2017-09-03 at 22 17 46

avatar PhilETaylor
PhilETaylor - comment - 20 Nov 2017

Then I would say something is messed up - cause I got a one liner.. unstyled. Joomla 4 Alpha 2

avatar PhilETaylor
PhilETaylor - comment - 20 Nov 2017

ok worked it out

if you upload Joomla 4 Alpha 2 and go to / you get the one liner... you dont get redirected to the installation page

if you go to the installation page directly /installation/ you get the styled page.

avatar dgt41
dgt41 - comment - 20 Nov 2017

Hmm, maybe we can improve that part then, we haven't really touched it since January

avatar PhilETaylor
PhilETaylor - comment - 20 Nov 2017

These need changing

die('Your host needs to use PHP ' . JOOMLA_MINIMUM_PHP . ' or higher to run this version of Joomla!');

die('Your host needs to use PHP ' . JOOMLA_MINIMUM_PHP . ' or higher to run this version of Joomla!');

avatar brianteeman
brianteeman - comment - 20 Nov 2017

@dgt41 Currently the static html error page is only shown if you have not installed joomla yet using the joomla installer

That is likely to be the most common way that someone would see it but they should also see the nice message when they

  1. downgrade php (perhaps by moving host)
  2. use a hosting panel install script on an incompatible server (yes hosts are that stupid)
avatar PhilETaylor
PhilETaylor - comment - 20 Nov 2017

is only shown if you have not installed joomla yet using the joomla installer

My point is that a beginner doesn't get redirected from / to /installation/ because the die in /index.php

So unless a beginner manually types /installation/ in the url they will not currently see the pretty version :)

avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Nov 2017
Category com_installer
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Nov 2017
Status New Discussion
avatar dgt41
dgt41 - comment - 21 Nov 2017

@PhilETaylor about the root and administrator indexes: probably yes, but if we do so then we should move the html+js to either front end or backend system template. Also your point for the installer entry.root vs ‘/installation/‘ is totally correct. Will try to submit a patch later on today, from the office

avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Nov 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-11-21 14:46:22
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 21 Nov 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 21 Nov 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 21 Nov 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Nov 2017

closed as having Pull Request #18777

Add a Comment

Login with GitHub to post a comment