Forums Sign Up Reply Search Statistics
Basic Statistics GraFX Software Solutions - Forum / Basic Statistics /

config.inc.php missing sections

 
Author insight
Forums Member
#1 Posted: 11 Apr 2005 22:50:47
Reply 
During the Install (Step4) it asks you to modify several areas of the config.inc.php file but some of those sections aren't present as a result I can't login to the intial page after a successful install. My original config.inc.php looks like this :

Where do I define the username and pwd for the login info (ADMIN AREA)?

thanks

?php

/*

################## BASIC STATISTICS ###################

############################################################

BASIC STATISTICS Version 1.5

Writed by GraFX (webmaster@grafxsoftware.com)

Created 03/01/03 Last Modified $Date: 2004/06/01 20:08:00 $

Scripts Home: http://www.grafxsoftware.com

############################################################

File name config.inc.php

File purpose Configuration Script

File created by GraFX (webmaster@grafxsoftware.com)

############################################################

*/
// $Id: config.inc.php,v 1.13 2004/05/22 07:41:14 lvalics Exp $

// define your database informations

define("DB_USR", "INST_USR");

define("DB_PWD", "INST_PWD");

define("DB_NAME", "INST_NAME");

define("DB_HOST", "INST_HOST");
define("STAT_DB_USR", DB_USR);

define("STAT_DB_PWD", DB_PWD);

define("STAT_DB_NAME", DB_NAME);

define("STAT_DB_HOST", DB_HOST);
//default URL path like $INDEX_URL="http://www.yourdomain.com/";

define("STAT_INDEX_URL","");
// always close the path with ending slash /

// like /home/path/to/your/files/

define("STAT_INDEX_PATH","");
define("STAT_DB_INDEX", "stat_");

// ====================================================================== =

// ====================================================================== =

// all the rest need to be as it is. Edit this lines only if you know what you are doing
// define where you programtemplates are, usually is ... INDEX_PATH/programtemplates/

define("STAT_TEMPLATE_PATH", STAT_INDEX_PATH."/programtemplates/");

define("STAT_INCLUDE_PATH",STAT_INDEX_PATH."include/");

define("STAT_LANG_PATH",STAT_INDEX_PATH."language/");
// Where you will be redirected if somneone try to use pages without login page first.

define("STAT_NO_LOGGED_IN_REDIRECT","login.php");
//if(eval("include_once(\"extra/config.inc.php\");")!=NULL)

//if(!@include_once("extra/config.inc.php")) {

@include_once("tmp/extraconfig.inc.php");
/*

define('STAT_AUTH_TYPE',STAT_AUTH_TYPE_BASE64);

*/
?>
Author software
Admin
#2 Posted: 14 Apr 2005 09:03:11
Reply 
The username and pasword is not in config. The default one is demo/demo
 
Your Reply

» Username  » Password 
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or sign up first.