Installation Failure

If you aren't speaking german, you can ask for support or post your request here.
Antworten
idmcdisme
Beiträge: 8
Registriert: 9. Feb 2024, 21:23

Installation Failure

Beitrag von idmcdisme »

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:
Screen1.png
Screen1.png (33.26 KiB) 6596 mal betrachtet

I want English, but I have also selected other languages with the same result. When I click "Database access" I get this:
Screen2.png
Screen2.png (63.88 KiB) 6596 mal betrachtet

So I click "send anyway", and get this:
Screen3.png
Screen3.png (55.8 KiB) 6596 mal betrachtet

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
Benutzeravatar
fasse
Administrator
Beiträge: 6182
Registriert: 12. Nov 2005, 16:06

Re: Installation Failure

Beitrag von fasse »

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
idmcdisme
Beiträge: 8
Registriert: 9. Feb 2024, 21:23

Re: Installation Failure

Beitrag von idmcdisme »

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
idmcdisme
Beiträge: 8
Registriert: 9. Feb 2024, 21:23

Re: Installation Failure

Beitrag von idmcdisme »

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
Benutzeravatar
fasse
Administrator
Beiträge: 6182
Registriert: 12. Nov 2005, 16:06

Re: Installation Failure

Beitrag von fasse »

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.

Code: Alles auswählen

<link rel="stylesheet" type="text/css" href="http://localhost/admidio/adm_program/installation/templates/installation.css" />
Could you please check the path of that link. There should be something wrong. Could you post the wrong path and the expected path.
idmcdisme
Beiträge: 8
Registriert: 9. Feb 2024, 21:23

Re: Installation Failure

Beitrag von idmcdisme »

Thanks for your quick reply; I'm out all day so I will check this later. Cheers, Ian
Benutzeravatar
fasse
Administrator
Beiträge: 6182
Registriert: 12. Nov 2005, 16:06

Re: Installation Failure

Beitrag von fasse »

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:

Code: Alles auswählen

SSL:on:
What is the output on your server?

Regards
Fasse
idmcdisme
Beiträge: 8
Registriert: 9. Feb 2024, 21:23

Re: Installation Failure

Beitrag von idmcdisme »

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.
idmcdisme
Beiträge: 8
Registriert: 9. Feb 2024, 21:23

Re: Installation Failure

Beitrag von idmcdisme »

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 :D :D

Thanks again, Ian
Benutzeravatar
fasse
Administrator
Beiträge: 6182
Registriert: 12. Nov 2005, 16:06

Re: Installation Failure

Beitrag von fasse »

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
Dateianhänge
ssl_check.php.zip
(737 Bytes) 610-mal heruntergeladen
idmcdisme
Beiträge: 8
Registriert: 9. Feb 2024, 21:23

Re: Installation Failure

Beitrag von idmcdisme »

Yes, see result below, cheers Ian.
Results.png
Results.png (11.88 KiB) 6493 mal betrachtet
Benutzeravatar
fasse
Administrator
Beiträge: 6182
Registriert: 12. Nov 2005, 16:06

Re: Installation Failure

Beitrag von fasse »

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.
idmcdisme
Beiträge: 8
Registriert: 9. Feb 2024, 21:23

Re: Installation Failure

Beitrag von idmcdisme »

Many thanks, fasse.

That's great. Excellent support, well done!

Best Regards, Ian
Antworten