From guysavoie74 at wanadoo.fr Wed Sep 7 06:48:36 2005 From: guysavoie74 at wanadoo.fr (guy AT) Date: Wed, 07 Sep 2005 12:48:36 +0200 Subject: [PolarBlog] newbie Message-ID: <431EC584.5030600@wanadoo.fr> Hello, first sorry for my english, i would preferred to talk in french so. For differents reasons i try to work with polar blog with windows XP and EasyPhp I see the message that prevents to configure PHP with register_globals = Off that's ok In config.php i do that : //--- Path to Class Libraries define('LIB_PATH','C:\\ProgramFiles\\EasyPHP1-7\\www\\polarblog\\lib\\'); //--- URL to JavaScript Libraries define('JS_URL', BASE_URL . 'js/'); //--- Admin PHP session name define('PB_SESSION_PATH', 'tmp/'); //--- Admin PHP session name define('PB_SESSION_NAME', 'PolarBlog'); //--- Database Connection //--- Database table prefix value define('DB_PREFIX', 'pb_'); define('DB_HOST', 'localhost'); define('DB_NAME', 'polarblog'); define('DB_USER', 'polarblog74'); define('DB_PASSWD', 'polarblog74'); define('DB_CONNECT', 'standard'); // 'standard' OR 'persistent' define('DB_PORT', 3306); and i have pointed my firefox or IE on http://trinity/polarblog/install.php i just modify PbDb_class.php to echo these variables and i got : Lib path : C:\Program Files\EasyPHP1-7\www\polarblog\lib\ DB_HOST : localhost DB_NAME : polarblog DB_USER : polarblog74 DB_PASSWD : polarblog74 Unable to create a database object, please check your database settings in lib/PbDb_class.php DB Error: A fatal database error has occurred, please try again later. Prior , i have create a database with PhpMyAdmin with theses settings DB_HOST : localhost DB_NAME : polarblog DB_USER : polarblog74 DB_PASSWD : polarblog74 Please can you just help me ? regards, Guy From kevinp at polarlava.com Sat Sep 10 08:24:39 2005 From: kevinp at polarlava.com (Kevin L. Papendick) Date: Sat, 10 Sep 2005 08:24:39 -0400 Subject: [PolarBlog] newbie In-Reply-To: <431EC584.5030600@wanadoo.fr> References: <431EC584.5030600@wanadoo.fr> Message-ID: <20050910082439.d7xml2htkdus0ww8@nj1.fxsonet.com> Guy, Turn on the DB class debugging in PbDb_class.php: $this->setDebug(TRUE); This should display the actual PHP/MySQL errors. With that we should be able to get a better idea of what is going on. -klp Quoting guy AT : > Hello, > > first sorry for my english, i would preferred to talk in french > so. > For differents reasons i try to work with polar blog with windows XP > and EasyPhp > I see the message that prevents to configure PHP with > register_globals = Off that's ok > In config.php i do that : > > //--- Path to Class Libraries > define('LIB_PATH','C:\\ProgramFiles\\EasyPHP1-7\\www\\polarblog\\lib\\'); > //--- URL to JavaScript Libraries > define('JS_URL', BASE_URL . 'js/'); > //--- Admin PHP session name > define('PB_SESSION_PATH', 'tmp/'); > //--- Admin PHP session name > define('PB_SESSION_NAME', 'PolarBlog'); > > //--- Database Connection > //--- Database table prefix value > define('DB_PREFIX', 'pb_'); > define('DB_HOST', 'localhost'); > define('DB_NAME', 'polarblog'); > define('DB_USER', 'polarblog74'); > define('DB_PASSWD', 'polarblog74'); > define('DB_CONNECT', 'standard'); // 'standard' OR 'persistent' > define('DB_PORT', 3306); > > > and i have pointed my firefox or IE on > http://trinity/polarblog/install.php > > i just modify PbDb_class.php to echo these variables and i got : > > Lib path : C:\Program Files\EasyPHP1-7\www\polarblog\lib\ > DB_HOST : localhost > DB_NAME : polarblog > DB_USER : polarblog74 > DB_PASSWD : polarblog74 > > Unable to create a database object, please check your database settings in > lib/PbDb_class.php > > DB Error: A fatal database error has occurred, please try again later. > > > Prior , i have create a database with PhpMyAdmin with theses settings > DB_HOST : localhost > DB_NAME : polarblog > DB_USER : polarblog74 > DB_PASSWD : polarblog74 > > Please can you just help me ? > > regards, > Guy > > > > > > _______________________________________________ > Polarblog mailing list > Polarblog at polarlava.com > http://mail.polarlava.com/mailman/listinfo/polarblog_polarlava.com > -- Kevin L. Papendick www.polarlava.com