arcticsupplies Posted September 15, 2005 Share Posted September 15, 2005 Hi all, Really not sure what I have done here. When I go to admin and click on "contents" i get: Fatal error: Cannot redeclare tep_db_connect() (previously declared in /hsphere/local/home/arctic/arcticsupplies.com/admin/includes/functions/database.php:13) in /hsphere/local/home/arctic/arcticsupplies.com/admin/includes/functions/database.php on line 13 I have read the help section and I know I have added a file to the wrong part, but i have no idea what file and how to fix this. Like I say, I am a novice at this type of thing. Can someone help me? lol. Thanks James Link to comment Share on other sites More sharing options...
FalseDawn Posted September 15, 2005 Share Posted September 15, 2005 I know I have added a file to the wrong part, but i have no idea what file And you think anyone else will know? Best bet is to restore from a backup (err, you do take backups, yes?) Next time, make notes of what you change and test thoroughly afterwards. Link to comment Share on other sites More sharing options...
arcticsupplies Posted September 15, 2005 Author Share Posted September 15, 2005 Thanks, Only reason i said about not knowing which file is because I looked in the OS Commerce Kowledge base, and it has my problem as one of its common problems. Says: 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. Hence my question on whether anyone else had this problem before as I am not sure what file I have uploaded to the languages directory by accident. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.