Dot50Cal
05-03-2006, 12:06 PM
As some may know, Pluhnews (https://vborg.vbsupport.ru/showthread.php?t=21875) was working with 3.0 for lots of people. I followed their tutorials and found that Im hitting mysql errors. I cant connect to the forums database. Heres what I have right now, on a 3.5.0 install:
$db = mysql_select_db("$dbname", $connection) or die ("Could not select database.");
Now, since 3.5 changed somethings I would assume this is correct:
$db = mysql_select_db($config['Database']['dbname'], $conn) or die ("Could not select database.");
With this however I still get the cannot connect to database error and an argument.
Can someone please offer assistance? I'd really love to get this working again so I dont have to use our test forum for news posts with an older version of VB :confused:
$db = mysql_select_db("$dbname", $connection) or die ("Could not select database.");
Now, since 3.5 changed somethings I would assume this is correct:
$db = mysql_select_db($config['Database']['dbname'], $conn) or die ("Could not select database.");
With this however I still get the cannot connect to database error and an argument.
Can someone please offer assistance? I'd really love to get this working again so I dont have to use our test forum for news posts with an older version of VB :confused: