osCommerce Knowledge Base

Cannot redeclare tep_db_connect

Last Update: 6th April, 2005
Article ID: 198



Introduction

The following error message is shown when a main code file has been uploaded to the languages directory by accident.

Cannot redeclare tep_db_connect() (previously declared in /home/username/public_html/store/includes/functions/database.php:13)


Solution

Upload the correct file to the languages/*/ directory where * is the name of the language you are using.

 

How helpful is this article?