Barbie Posted April 30, 2006 Share Posted April 30, 2006 Hello out there, Having a problem when clicking in the shopping cart on the link to send the gift certificate : Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/.sites/4/site141/web/oscommerce/includes/functions/database.php:13) in /home/.sites/4/site141/web/oscommerce/includes/functions/database.php on line 13 Have no idea what to correct in the file, line 13 is : function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') { Any clues? Other than this the rest worked just fine ! Quote Link to comment Share on other sites More sharing options...
Barbie Posted April 30, 2006 Author Share Posted April 30, 2006 Hello out there, Having a problem when clicking in the shopping cart on the link to send the gift certificate : Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/.sites/4/site141/web/oscommerce/includes/functions/database.php:13) in /home/.sites/4/site141/web/oscommerce/includes/functions/database.php on line 13 Have no idea what to correct in the file, line 13 is : function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') { Any clues? Other than this the rest worked just fine ! Forgot to put down line 13 : function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') { What can I do ? Quote Link to comment Share on other sites More sharing options...
redria Posted July 26, 2006 Share Posted July 26, 2006 did you figure this out as i have the same problem on my account, login and checkout Quote Link to comment Share on other sites More sharing options...
redria Posted July 26, 2006 Share Posted July 26, 2006 http://www.oscommerce.info/docs/english/e_...db_connect.html Quote Link to comment Share on other sites More sharing options...
skylla Posted July 27, 2006 Share Posted July 27, 2006 there is a very active thread on this contribution here: http://www.oscommerce.com/forums/index.php?s=&...st&p=827188 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.