Fi?e Posted May 15, 2003 Posted May 15, 2003 Parse error: parse error, expecting `')'' in /homepages/34/d13551356/htdocs/admin/includes/functions/database.php on line 13# What did i have to add into the field with db_link??? Can anyone help me?
seanpaul Posted May 15, 2003 Posted May 15, 2003 Hi, At what stage are you recieving this error? If its near the initial instalation have you set up and correctly specified a database?
Magnus Posted May 15, 2003 Posted May 15, 2003 HOW do you specify the bloody database for Catalog. My admin can connect to dbase but bloody catalog can't I even used the exact same extract that i had for admin and put it into the catalog database.php SEE look here heres the extract from my admin/includes/functions/database.php file and catalog one Admin one: <? function tep_db_connect() { global $db_link; if (USE_PCONNECT) @$db_link = mysql_pconnect(gamma, gamma, ); else @$db_link = mysql_connect(gamma, gamma, ); if ($db_link) @mysql_select_db(gamma); return $db_link; } function tep_db_close() { global $db_link; $result = mysql_close($db_link); return $result; For catalog I copied that exact same extract into the database.php file there and it still say cannot connect. Am I doing something wrong here? Secondly, really newbie question but um whats the default admin login password and username? Thirdly. Is there an import function to import the product list from a csv file?
Druide Posted May 15, 2003 Posted May 15, 2003 HOW do you specify the bloody database for Catalog. My admin can connect to dbase but bloody catalog can't I even used the exact same extract that i had for admin and put it into the catalog database.php it's NOT ALLWED to CROSS POST !!! READ the FAQ / Rules use your imagination, read the answer i gave you in your other thread that the same information contains as this one !!! Robert We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)
Fi?e Posted May 16, 2003 Author Posted May 16, 2003 Hi, the error messag will be show when i want to visit the admin area. It is the first installation of the files, so i dont know whats the error. I really dont know what to put into the field db_link in row 13. The other fields in this row are ok.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.