help for install script

sharelink

New Member
YetiShare User
Wurlie User
Reservo User
Jun 6, 2013
23
0
0
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:

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 */
is possible help me? thankyou
 

ikovacs1465

New Member
Apr 30, 2012
96
0
0
Hi Alfonso,

maybe i dont understand right your problem can you please descript your problem clear and in detailed ?

If possible please post some screenshoot as well.

regards

Istvan Kovacs
 

sharelink

New Member
YetiShare User
Wurlie User
Reservo User
Jun 6, 2013
23
0
0
ok, thank you for your answer (sorry for my english, i speak spanish)

the situation is:

1, i follow the instruction for install script, i create DB, change _config and up the files....

the _config files that i upload to server is 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 */
i change in this public site the real name data base for XXXXXXX, but in my server file config its OK , the rest of code is same that in my config file that i upload in server.

2- the adress www.mysite.com/hdupload/admin said me:

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

them i need somebudy help me to put the correct data in config file, because error said www.hdvagos.com but correct root to script is www.hdvagos.com/hdupload :

my server data is:

install script site: www.hdvagos.com/hdupload
root to script install: /home/hdvagos/public_html/hdupload

Code:
PHP5 or more:	Passed
Linux Operating System:	Passed
PHP Session Support:	Passed
PHP GD extension:	Passed
PHP FreeType support:	Passed
PHP JSON support:	Passed
PHP Safe Mode OFF:	Passed
PHP Memory Limit:	Passed
PHP FTP support:	Passed
PHP Curl Support:	Passed
MySQL Connection Support:	Passed
thank you
 

ysmods

New Member
Jan 29, 2013
860
1
0
UK
www.ysmods.com
On my PC now

This is how I installed the demo I have here: http://www.yetisharemods.com/demo/index.php

Code:
/* main configuration file for script */
define("_CONFIG_SITE_HOST_URL",         "www.yetisharemods.com");  /* 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",         _CONFIG_SITE_HOST_URL.'/demo');  /* 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 */

/* 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 */

define("_CONFIG_SITE_FILE_DOMAIN",      _CONFIG_SITE_FULL_URL);
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Hi,

It needs to be like this:

Code:
<?php

/* main configuration file for script */
define("_CONFIG_SITE_HOST_URL",         "www.hdvagos.com");
define("_CONFIG_SITE_FULL_URL",         "www.hdvagos.com/hdupload");
The first part is just the base domain name. The 2nd is the path to the installation.

Thanks,
Adam.
 

sharelink

New Member
YetiShare User
Wurlie User
Reservo User
Jun 6, 2013
23
0
0
thank you Adam, i follow your 1st explication and now its OK, i stay inside testing, now i have other problems, example:

1- if i click in "SITEADMIN --> CONFIGURATION --> TRANSLATION --> MANAGE TRANSLATION"
them jump to this link: http://www.hdvagos.com/hdupload/admin/translation_manage_text.html?languageId=3 , but its incorrect, the correct link is this: http://www.hdvagos.com/hdupload/admin/translation_manage_text.php?languageId=3 , correct link is with .PHP , its not with .HTML
how can i fix this?

note: i change in configuration --> site setting to PHP "Whether to use html or php front-end page extensions"

2- if i test to upload a file said OK, finish and give me one link (ex: http://www.hdvagos.com/hdupload/rr) but the problems it if i click link said me ERROR The requested URL /file_download.php was not found on this server.
its same if i follow link: http://www.hdvagos.com/hdupload/rr~i?a13b2cdaf91775e17a6b69cdd9326a81 , anyway said me error, but if i check by Filezilla the file its correct, the file its in server in file ...../hdupload/files/2b , whats its wrong here?

thank you, i will continuos testing for any problems

regards
 

sharelink

New Member
YetiShare User
Wurlie User
Reservo User
Jun 6, 2013
23
0
0
no, i dont modify .htaccess, its same come with script

thank