PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
dark_angel
New Member
New Member


Joined: Sep 12, 2009
Posts: 2

PostPosted: Sat Sep 12, 2009 2:37 am Reply with quote Back to top

I have installen nuke treasury on my site recently, but i'm having a few issues. Currently the links work ok and people can donate ok. It is the IPN bit that is an issue. When i click on the IPN test in the configuration i get the following in the popup window.

Debug mode activated

PHP-Nuke Treasury mod

PayPal Instant Payment Notification script

See below for status:
----------------------------------------------------------------
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)


So no donations get updated on my site. I entered a manual payment in to the Treasury Financial Register but that did not show in the home page module either, but it was evident in the database table.

Can someone help me please,
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 773
Location: North Carolina

PostPosted: Sat Sep 12, 2009 3:25 am Reply with quote Back to top

In the Nuke Treasury you have a config file that you need to put your database connection information into.
View user's profile Send private message Send e-mail Visit poster's website
dark_angel
New Member
New Member


Joined: Sep 12, 2009
Posts: 2

PostPosted: Sat Sep 12, 2009 3:35 am Reply with quote Back to top

nuken wrote:
In the Nuke Treasury you have a config file that you need to put your database connection information into.


i have entered all the information required, see below.

* Database configuration */
$hostname_ipnppd = "db1453.oneandone.co.uk";
$database_ipnppd = "db245362583";
$username_ipnppd = "dbo245362583";
$password_ipnppd = "********"; (i purposly did this for this post)

$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);

while ( $cfgset && $row = mysql_fetch_assoc($cfgset))
{
$tr_config[$row['name']] = $row['value'];
}
} else
{
echo "<br><br>NukeTreasury FATAL ERROR: Unable to connect to SQL database. Please check your settings in modules/Donations/config.php<br><br>";
}
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 773
Location: North Carolina

PostPosted: Sat Sep 12, 2009 8:44 am Reply with quote Back to top

Not sure but, it may be a server configuration issue. I googled "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)" and saw that most people that had a similar error was due to server issue. You may try to contact you host and see if they may know why. I have no idea myself. Sorry
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2010 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum