Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

error on vreate a new account!


adelyn

Recommended Posts

Posted

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);
 }

Posted

You have been modifying that page (create_account.php), or application_top.php, so restore with an unedited version.

 

Vger

Archived

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

×
×
  • Create New...