Nuke treasury 1.1 problem NEED HELP PLEASE

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Nuke treasury 1.1 problem NEED HELP PLEASE
cerby
CZ Newbie
cerby has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jan 02, 2005
0.00 posts per day
Posts: 17
Points: 943
   
Hi ,

I got this little problem with nuke treasury 1.1

Everything is installed and setup , but when i try to run the TEST PAYPAL IPN , heres what i get:

Debug mode activated

PHP-Nuke Treasury mod

PayPal Instant Payment Notification script

See below for status:
----------------------------------------------------------------
Connection to db - OK!
Opening connection and validating request with PayPal...
OK!
Selecting database...FAILED - err:
Executing test query...No Database Selected


The configs i took them from the nuke config.php to setup the treasury config.php.

Heres what i found in the config file (nuke treasury)

/* Database configuration */
$hostname_ipnppd = "localhost";
$database_ipnppd = "@@@@@@@@@";
$username_ipnppd = "@@@@@@@@@";
$password_ipnppd = "@@@@@@@@@";

$board_config = array();
global $ipnppd;

$ipnppd = mysql_pconnect($hostname_ipnppd, $username_ipnppd, $password_ipnppd);
if( $ipnppd )
{
   mysql_select_db($database_ipnppd, $ipnppd);
   $query_cfg = "SELECT * FROM config WHERE subtype = ''";
   $cfgset = mysql_query($query_cfg, $ipnppd);


$query_cfg = "SELECT * FROM config WHERE subtype = ''"; ???? whats this? do i have to enter something in there?


Back to top Reply with quote
#2   re: Nuke treasury 1.1 problem NEED HELP PLEASE
Tendency
CZ Super Newbie
 Codezwiz Site Donator
usa.gif florida.gif
Occupation: Longshoreman
Age: 54
Gender: Male
Fav. Sports Team: Dallas Cowboys
Website:
Status: Offline
Joined: Nov 25, 2003
0.01 posts per day
Posts: 97
Points: 9,373
  MSN Messenger 
You need to enter your treasury database information there. Whether you made a seperate database for the treasury or you added it to the nuke database. Fill in that information. Also you need to make of copy of the config.inc.php and rename it config.php and put it in the same directory as the config.inc.php

/* Database configuration */
$hostname_ipnppd = "localhost";
$database_ipnppd = "your db name";
$username_ipnppd = "your db username";
$password_ipnppd = "your db password";



Back to top Reply with quote
#3   re: Nuke treasury 1.1 problem NEED HELP PLEASE
cerby
CZ Newbie
cerby has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jan 02, 2005
0.00 posts per day
Posts: 17
Points: 943
   
The infos were correcly entered , it was that config.php to add , that was causing my problem , thanks!



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum