Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
Funz
New Member
New Member


Joined: Apr 08, 2005
Posts: 17
Location: England

PostPosted: Sat Apr 09, 2005 10:20 am Reply with quote

hey, im trying to add the donate-o-meter to my site, i get the following error:

Warning: mysql_pconnect(): Unknown MySQL Server Host 'narnapro_nuke1' (0) in /home/narnapro/public_html/shorehamringcraft/nuke/modules/Donations/config.php on line 32


NukeTreasury FATAL ERROR: Unable to connect to SQL database. Please check your settings in modules/Donations/config.php

where do i find the sql info to add into the config file?
 
View user's profile Send private message Visit poster's website
Funz
PostPosted: Sat Apr 09, 2005 10:50 am Reply with quote

ok, i played around with the config and now i get the No Database Selected appear

my config is now

/* Database configuration */
$hostname_ipnppd = "localhost";
$database_ipnppd = "narnapro_*****";
$username_ipnppd = "narnapro_****";
$password_ipnppd = "******";
 
Funz
PostPosted: Sat Apr 09, 2005 11:26 am Reply with quote

ok i sorted it Very Happy and was just wondering if i can change the currency from dollers to GBP?
 
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Sat Apr 09, 2005 4:17 pm Reply with quote

in modules/Donations/Donations.html, on or about line 41 you should see a line of code like this
Code:
<input type="hidden" name="currency_code" value="USD">

Modify it to
Code:
<input type="hidden" name="currency_code" value="GBP">
 
View user's profile Send private message
Funz
PostPosted: Sun Apr 10, 2005 5:16 am Reply with quote

ok thanks Very Happy
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©