Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

database.php or invoice.php?


Recommended Posts

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/damidvds/public_html/admin/includes/functions/database.php:13) in /home/damidvds/public_html/admin/includes/functions/database.php on line 13


That's what I'm getting when I click Invoice or PackingSlip from my Admin. Can anyone tell me what's wrong?


On line 13 is the following;


  function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') {


If anyone would like to contact me directly, this would be most appreciated!


[email protected]

Link to comment
Share on other sites

Check both of your configure.php files, also your database.php file to see if there are any blank lines (white space) either before the opening <? php or the closing ?>. If there are then remove them.



Link to comment
Share on other sites


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

  • Create New...