it might be helpful if you include your site so we can
check the errors first hand

anyway, try double-checking on your user permission
settings at cpanel. if you created a db with the correct
user permission settings, you will be presented with the
correct connection strings to follow in your configuration
(most specifically, for the
$dbuname &
$dbname you must
use). i'm using uni.cc so my mysql connection string
automatically
prefixes my uni.cc subdomain (
serverph)
to the $dbuname & $dbname. (i don't know if it works the
same way for those with trap17 subdomains.)
a sample connection string (generated from my own cpanel):
QUOTE
$dbh=mysql_connect ("localhost", "serverph_dbuser", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("serverph_db");
sample config (which i used for my site) following the sample
connection string generated in my cpanel:
QUOTE
$dbhostname = "localhost"; //hostname dbserver
$database = "serverph_db"; //database name
$mysqluser = "serverph_dbuser"; //mysql username
$mysqlpassword = "********"; //mysql password
if i were to set my config following your coding variables, it would
appear as:
------
$dbhost = "localhost";
$dbuname = "serverph_nuke";
$dbpass = "********";
$dbname = "serverph_nuke1";
------
(note: the
serverph_ is prefixed in the values for the
$dbuname and $dbname variables, because serverph is my
uni.cc subdomain. if your subdomain is toohot for example,
toohot_ will be prefixed. just change your configuration
accordingly.)
most mysql problems arise with incorrect user permission
settings, so you might want to check that first. be sure you
have a
nuke user with permission to use your
nuke1db in your cpanel. after that, reconfigure the values in your
variables to reflect the correct $dbuname and $dbname.
and if you're still having problems after that, you might want
to play around first in setting up your mysql db with a simpler
php script. after you successfully set it up on a simpler script,
you can then go into setting up phpnuke more confidently.

Reply