Config not found after installation

Cysos

New Member
Wurlie User
Wurlie Supporter
Nov 24, 2019
2
0
0
In Deutsch
-----------------------
Hallo,
ich habe das Script erworben und erfolgreich installiert.
Die Ordner Install und Offline wurden von mir danach unerreichbar gemacht.

Nun Versuche ich auf die Oberfläche zu zugreifen aber die scheitert, ebenfalls im /admin.
Der Server selbst legt kein ErrorLogFile an.
Folgende Fehlermeldung wird ausgegeben:
Translatet into english
-----------------------
Hi,
I purchased the script and installed it successfully.
The folders Install and Offline were made unreachable by me afterwards.

Now I try to access the interface but that fails, also in / admin.
The server itself does not create an ErrorLogFile.

The following error message is displayed:

Code:
Config not found!

The config for this domain has not been found in /_config.inc.php
$_SERVER['HTTP_HOST'] reported current site as mf.rund.link
Please update /var/www/vhosts/rund.link/mf.rund.link/_config.inc.php to the correct host:
define("_CONFIG_SITE_HOST_URL", "mf.rund.link");
In Deutsch
-------------------
In der Datei _config.inc.php wurde der Host korrekt angegeben und ich sehe da keinerlei Änderungsbedarf.
Translatet into english
-------------------------------------
The host was specified correctly in the file _config.inc.php and I do not see any need for changes there.
PHP:
<?php
/* main configuration file for script */
define("_CONFIG_SITE_HOST_URL", "mf.rund.link:443");  /* site url host without the http:// and no trailing forward slash - i.e. www.mydomain.com or links.mydomain.com */
define("_CONFIG_SITE_FULL_URL", "mf.rund.link");  /* full site url without the http:// and no trailing forward slash - i.e. www.mydomain.com/links or the same as the _CONFIG_SITE_HOST_URL */

/* database connection details */
define("_CONFIG_DB_HOST", "localhost");  /* database host name */
define("_CONFIG_DB_NAME", "MYDBNAME");    /* database name */
define("_CONFIG_DB_USER", "MYNAME");    /* database username */
define("_CONFIG_DB_PASS", "TripleXPass");    /* database password */

define("_CONFIG_SCRIPT_VERSION", "3.5.1");    /* script version */

/* show database degug information on fail */
define("_CONFIG_DB_DEBUG", true);    /* this will display debug information when something fails in the DB - leave this as true if you're not sure */

/* toggle demo mode */
define("_CONFIG_DEMO_MODE", false);    /* always leave this as false */

/* which protcol to use, default is http */
define("_CONFIG_SITE_PROTOCOL", "https");
?>
In Deutsch
---------------------
Ich denke in der Datei /includes/master.inc.php in der Zeile 7

// Determine our absolute document root
define('DOC_ROOT', realpath(dirname(__FILE__) . '/../'));

liegt das Problem.
Ich habe bereits einiges herum probiert aber kam zu keinem sinnvollen ergebnis.
Translatet into english
-------------------------------------
I think in the file /includes/master.inc.php in the line 7

// Determine our absolute document root
define ('DOC_ROOT', realpath (dirname (__FILE__). '/../'));

is the problem.
I have already tried a lot but did not come to any meaningful result.

I currently use php 7.2, previously 7.3.
 

Cysos

New Member
Wurlie User
Wurlie Supporter
Nov 24, 2019
2
0
0
In Deutsch
---------------------
Das Problem wurde soeben behoben.
In der _config.inc.php gab es die folgende Zeile:
PHP:
define("_CONFIG_SITE_HOST_URL", "mf.rund.link:443");
Nach dem entfernen des Ports funktionierte das Script.
Translatet into english
---------------------
The problem has just been fixed.
In the _config.inc.php there was the following line:
PHP:
 define ("_ CONFIG_SITE_HOST_URL", "mf.rund.link:443");
After removing the port, the script worked.

Topic can be closed.
Thanks anyway.