hello, i try to install script but some is wrong, database is OK, i writte XXXX but i put the correct dates
the problems is with root
my web data is:
principal site: www.hdvagos.com
place for this script: www.hdvagos.com/hdupload
root to hdupload: /home/hdvagos/public_html/hdupload
the error said:
Config not found!
The config for this domain has not been found in /_config.inc.php
$_SERVER['HTTP_HOST'] reported current site as www.hdvagos.com
Please update /home/hdvagos/public_html/hdupload/_config.inc.php to the correct host:
define("_CONFIG_SITE_HOST_URL", "www.hdvagos.com");
but my script is in www.hdvagos.com/hdupload , IS NOT in www.hdvagos.com
mi config said this:
is possible help me? thankyou
the problems is with root
my web data is:
principal site: www.hdvagos.com
place for this script: www.hdvagos.com/hdupload
root to hdupload: /home/hdvagos/public_html/hdupload
the error said:
Config not found!
The config for this domain has not been found in /_config.inc.php
$_SERVER['HTTP_HOST'] reported current site as www.hdvagos.com
Please update /home/hdvagos/public_html/hdupload/_config.inc.php to the correct host:
define("_CONFIG_SITE_HOST_URL", "www.hdvagos.com");
but my script is in www.hdvagos.com/hdupload , IS NOT in www.hdvagos.com
mi config said this:
Code:
<?php
/* main configuration file for script */
define("_CONFIG_SITE_HOST_URL", "www.hdvagos.com/hdupload"); /* 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", "www.hdvagos.com/hdupload"); /* 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", "XXXXXXXX"); /* database host name */
define("_CONFIG_DB_NAME", "XXXXXXXX"); /* database name */
define("_CONFIG_DB_USER", "XXXXXXX"); /* database username */
define("_CONFIG_DB_PASS", "XXXXXXXX"); /* database password */
/* 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 */
define("_CONFIG_SCRIPT_VERSION", "3.2.1"); /* script version */
/* server paths */
define("_CONFIG_SCRIPT_ROOT", dirname(__FILE__));
define("_CONFIG_FILE_STORAGE_PATH", _CONFIG_SCRIPT_ROOT . '/files/'); /* location on your server to store file uploads */
/* the url of the domain to download files from, only change if you plan on using a different domain to link to your files */
define("_CONFIG_SITE_FILE_DOMAIN", "www.hdvagos.com/hdupload"); /* url without the http:// and no trailing forward slash */
/* run the site as http or https, requires ssl certificate - functionality in beta */
define("_CONFIG_SITE_PROTOCOL", 'http'); /* http or https */