Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

error on vreate a new account!


Recommended Posts

I get this message when I try to click on the vreate a new account-link:


Fatal error: Cannot redeclare tep_db_connect() (previously declared in C:\wamp\www\oscommerce\catalog\includes\functions\database.php:13) in C:\wamp\www\oscommerce\catalog\includes\functions\database.php on line 25



what does it mean? what is :13? is there an easy way to change?


the code around line 35 is:


	  $$link = mysql_connect($server, $username, $password);

if ($$link) mysql_select_db($database);

return $$link;

 function tep_db_close($link = 'db_link') {
global $$link;

return mysql_close($$link);

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...