<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Oh, ok, i did not see the "temp/" part into your path. I though
you talk about lizmap/www/index.php.</p>
<p>You must not modify files that are into temp/, because these
files are generated automatically by the framework used by Lizmap,
and so any modification could disappear.<br>
</p>
<p>The files you modified are the result of combination of several
configuration files (mainconfig.ini.php, localconfig.ini.php etc..
see <a class="moz-txt-link-freetext" href="https://docs.lizmap.com/current/en/install/configuration.html">https://docs.lizmap.com/current/en/install/configuration.html</a>)</p>
<p>the domainName configuration parameter is empty by default, and
then is filled automatically with the HTTP_HOST or the SERVER_NAME
php variables (from ($_SERVER). So if you have a bad value into
it, fix theses parameters in your server configuration or set
domainName with the real value (the domain name you type into your
web browser when you load Lizmap). Into
lizmap/var/config/localconfig.ini.php, add this line at the
begining of the file :<br>
</p>
<p>domainName=example.com</p>
<p>See details here
<a class="moz-txt-link-freetext" href="https://docs.lizmap.com/current/en/install/advanced_install.html#advanced-installation-configuration">https://docs.lizmap.com/current/en/install/advanced_install.html#advanced-installation-configuration</a><br>
</p>
<p>Laurent<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Le 08/03/2021 à 11:38, Nuno Silva a écrit :</p>
<blockquote type="cite"
cite="mid:CAJj3HzCuvVfQCQ+W+_xwZA0zhkxiOAOF4zQ32uAzpbgi2mYwyw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr"><br>
</div>
<div dir="ltr">Hi there.
<div>Thanks for the quick reply</div>
<div><br>
</div>
<div>I didn't mentioned the full name of the .PHP files @
../lizmap-web-client/temp/lizmap/www/ </div>
<div><br>
</div>
<div>Here they are (attached) :</div>
<div><br>
</div>
<div>I'm running this lizmap instance on a docker container
with a custom dockerfile based on ubuntu:bionic.</div>
<div><br>
</div>
<div>Like I said, after the installation, I always get this
"variable" filled with value lizmap</div>
<div>'domainName' => 'lizmap'<br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Laurent Jouanneau <<a
href="mailto:ljouanneau@3liz.com" target="_blank"
moz-do-not-send="true">ljouanneau@3liz.com</a>>
escreveu no dia domingo, 7/03/2021 à(s) 19:55:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>
<p>Hi,</p>
<br>
<div>Le 05/03/2021 à 15:51, Nuno Silva a écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi there.
<div><br>
</div>
<div>
<div><br>
</div>
</div>
<div>I started using Lizmap again since yestarday,
when v 3.4.2 was released...everything works fine
except something that is annoying.</div>
<div><br>
</div>
<div>After installing lizmap 3.4.2 and I add a
project immediately , when I click on View
Metadata button, the WMS/WMTS URL always start
with <a href="HTTP://lizmap/." target="_blank"
moz-do-not-send="true">HTTP://lizmap/.</a>..</div>
<div><br>
</div>
<div>Then I have to edit the file
at /srv/lizmap-web-client/temp/lizmap/www (index
and admin .PHP) to change the variable domainName
from 'lizmap' to ''</div>
</div>
</blockquote>
<p><br>
</p>
<p>There is no variable "domainName" in these PHP files.
Are you sure you have the original PHP files from
Lizmap source code?</p>
<p>What are these changes? Could we see this index.php?<br>
</p>
<p><br>
</p>
<p>Laurent <br>
</p>
<p><br>
</p>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div>I then delete the project, clear the cache and
add it again, ainda everything looks fine.</div>
<div><br>
</div>
<div>Where do I have to declare this variable so I
don't have to do this?</div>
<div>It sound like noobish, but I haven't found a
answer yet</div>
<div><br>
</div>
<div>Best regards,</div>
<div>NMS</div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Lizmap mailing list
<a href="mailto:Lizmap@lists.osgeo.org" target="_blank" moz-do-not-send="true">Lizmap@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/lizmap" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/lizmap</a>
</pre>
</blockquote>
</div>
_______________________________________________<br>
Lizmap mailing list<br>
<a href="mailto:Lizmap@lists.osgeo.org" target="_blank"
moz-do-not-send="true">Lizmap@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/lizmap"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/lizmap</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">Com os melhores cumprimentos,<br>
Nuno A.C. Machado da Silva</div>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">Com os melhores cumprimentos,<br>
Nuno A.C. Machado da Silva</div>
</div>
</blockquote>
</body>
</html>