Try to install a joomla instance inside a container that is just reachable from the internet via reverse-proxy.
Installation succeeds after entering administrative credentials and database configuration.
A message "A Database error occurred." is shown on top of the installation site.
Container: Debian Bookworm, Apache, Joomla 4.2.8 from zip download.
Browser: Firefox 110.0.1
I found Firefox showed the javascript installation.dbcheck
blocked because of "mixed content".
As far as I see this is because the URL in Joomla.installationBaseUrl
was just prefixed
with http://
while I tried to install via https://
.
And I could workaround this issue for my installation by replacing in index.php the
data-base-url="<?php echo Uri::root(); ?>"
by
data-base-url="<?php echo str_replace('http://','https://',Uri::root()); ?>"
I found following locations where this http
originates from.
joomla-cms/installation/template/index.php
Line 112 in e462044
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
bug
|