Magnus Posted May 15, 2003 Posted May 15, 2003 Hey I just installed this program and for some reason my admin can connect and work but my catalog says can't connect to database 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?
Guest Posted May 15, 2003 Posted May 15, 2003 1) Your connection parameters are controlled via the configure.php files in admin and catalog. 2) There is no default admin login and password. Access to this folder should be controlled via .htaccess (UNIX) or folder security (Win32). This security is handled outside of OSC. 3) Yes, there is a contribution named "Easy Populate". Look for it under downloads>contribs.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.