Installation Failure
Installation Failure
I am trying to install admidio on my webhoster for the very first time. I am failing abysmally at the very first steps.
I follow the Instructions within Documentation, installation steps 1-4. However, I don't get the "pretty screen" shown in the instructions, but this:
I want English, but I have also selected other languages with the same result. When I click "Database access" I get this:
So I click "send anyway", and get this:
I am probably doing something really basic wrong, can anyone advise?
The webserver is Linux / Apache / PHP 5.3 / MySQL
My browser is Chrome Version 121.0.6167.161 (Official Build) (64-bit) (but the same happens with Internet Explorer)
I am running Windows 10 locally
Thanks in anticipation, Ian
I follow the Instructions within Documentation, installation steps 1-4. However, I don't get the "pretty screen" shown in the instructions, but this:
I want English, but I have also selected other languages with the same result. When I click "Database access" I get this:
So I click "send anyway", and get this:
I am probably doing something really basic wrong, can anyone advise?
The webserver is Linux / Apache / PHP 5.3 / MySQL
My browser is Chrome Version 121.0.6167.161 (Official Build) (64-bit) (but the same happens with Internet Explorer)
I am running Windows 10 locally
Thanks in anticipation, Ian
Re: Installation Failure
Hi,
the minimum requirements of the current version 4.3.3 of Admidio is PHP version 7.2 or higher. I wonder how you could get to the installation wizard with PHP version 5.3. Maybe that is the problem.
Regards
Fasse
the minimum requirements of the current version 4.3.3 of Admidio is PHP version 7.2 or higher. I wonder how you could get to the installation wizard with PHP version 5.3. Maybe that is the problem.
Regards
Fasse
Re: Installation Failure
Ah right, that will be it then. I will see if my webhost can upgrade, or else consider an earlier version of admidio.
Many thanks for your reply. Ian
Many thanks for your reply. Ian
Re: Installation Failure
Whoops, that PHP version was a typo; it should have read PHP 8.3 - really sorry about that.
The only PHP versions my provider allows are: 8.1, 8.2, 8.3
Do you need any other type of scripting, such as CGI / Perl / SSI? I don't have those installed at present.
Are there any other suggestions that might help?
Thanks in anticipation, Ian
The only PHP versions my provider allows are: 8.1, 8.2, 8.3
Do you need any other type of scripting, such as CGI / Perl / SSI? I don't have those installed at present.
Are there any other suggestions that might help?
Thanks in anticipation, Ian
Re: Installation Failure
Ok, maybe Admidio has problems to generate the correct path to your website.
Could you please have a look at the source code of the installation page. In the header there are some links to other files that should be loaded. E.g.
Could you please check the path of that link. There should be something wrong. Could you post the wrong path and the expected path.
Could you please have a look at the source code of the installation page. In the header there are some links to other files that should be loaded. E.g.
Code: Alles auswählen
<link rel="stylesheet" type="text/css" href="http://localhost/admidio/adm_program/installation/templates/installation.css" />
Re: Installation Failure
Thanks for your quick reply; I'm out all day so I will check this later. Cheers, Ian
Re: Installation Failure
Hi Ian,
I could check it for myself since your url is visible at the screenshots.
For an unknown reason your server doesn't let us know that you use https.
Could you please upload the attached file to your server maybe in the main Admidio folder and than call this file.
The expected output should be:
What is the output on your server?
Regards
Fasse
I could check it for myself since your url is visible at the screenshots.
For an unknown reason your server doesn't let us know that you use https.
Could you please upload the attached file to your server maybe in the main Admidio folder and than call this file.
The expected output should be:
Code: Alles auswählen
SSL:on:
Regards
Fasse
Re: Installation Failure
Sorry, I don't see any attachment. Did you forget to attach it, or maybe I am not looking in the right place?
Regardless, I understand what you are thinking, so I amended "adm_program/installation/index.php" as follows. The installation now appears to start OK, so I guess this confirms your theory.
// $ssl = !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on';
$ssl = 'on';
I will let you know how I get on. Since my website will always use SSL, I guess this is an adequate solution, providing it holds for the rest of the system.
Thanks again.
Regardless, I understand what you are thinking, so I amended "adm_program/installation/index.php" as follows. The installation now appears to start OK, so I guess this confirms your theory.
// $ssl = !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on';
$ssl = 'on';
I will let you know how I get on. Since my website will always use SSL, I guess this is an adequate solution, providing it holds for the rest of the system.
Thanks again.
Re: Installation Failure
Well, that appeared to work fine. It has installed successfully, and I can log in & out of the system without a problem.
Do you think that this was a complete cure for the issue, or might I run into further problems further along?
Anyway, thank you so much for your superb & fast support, I am very impressed so far!
Now to investigate the functionality
Thanks again, Ian
Do you think that this was a complete cure for the issue, or might I run into further problems further along?
Anyway, thank you so much for your superb & fast support, I am very impressed so far!
Now to investigate the functionality
Thanks again, Ian
Re: Installation Failure
Hi Ian,
I forgot the attachement to my previous post. To understand your problem could you please upload the unzipped attached file and post the result.
If Admidio doesn't detect https automatically you can set $gForceHTTPS within the config.php
Fasse
I forgot the attachement to my previous post. To understand your problem could you please upload the unzipped attached file and post the result.
If Admidio doesn't detect https automatically you can set $gForceHTTPS within the config.php
Fasse
- Dateianhänge
-
- ssl_check.php.zip
- (737 Bytes) 610-mal heruntergeladen
Re: Installation Failure
Yes, see result below, cheers Ian.
Re: Installation Failure
Thanks for this check. I think I found the problem. Our check for the value of the parameter is not case sensitive. In your case On is written with a capital O and we only check for lower case.
I will change that for the next version.
I will change that for the next version.
Re: Installation Failure
Many thanks, fasse.
That's great. Excellent support, well done!
Best Regards, Ian
That's great. Excellent support, well done!
Best Regards, Ian