stevenrwoolley Posted November 10, 2005 Share Posted November 10, 2005 I installed the headers tag collaboration and everything was working great. I was able to edit the header information in my admin section , but today when I go to click on my header tag in the admin this error comes up. I?m not sure what it means and what could have changed from last night until this morning. I did update category?s at the catalog section of my store and filled in headers at the category menu. If you have any suggestions please let me know. Fatal error: Cannot redeclare tep_db_connect() (previously declared in /hsphere/local/home/steven/onlinetransmissionparts.com/admin/includes/functions/database.php:13) in /hsphere/local/home/steven/onlinetransmissionparts.com/admin/includes/functions/database.php on line 13 5 osCommerce, Open Source E-Commerce Solutions 6 http://www.oscommerce.com 7 8 Copyright ? 2003 osCommerce 9 10 Released under the GNU General Public License 11 */ 12 13 function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') { 14 global $$link; 15 16 if (USE_PCONNECT == 'true') { 17 $$link = mysql_pconnect($server, $username, $password); 18 } else { 19 $$link = mysql_connect($server, $username, $password); Link to comment Share on other sites More sharing options...
MarcoZorro Posted November 10, 2005 Share Posted November 10, 2005 http://www.oscommerce.info/kb/osCommerce/G...on_Problems/198 Link to comment Share on other sites More sharing options...
stevenrwoolley Posted November 10, 2005 Author Share Posted November 10, 2005 Thank you, and I will not do it again. Link to comment Share on other sites More sharing options...
Guest Posted November 10, 2005 Share Posted November 10, 2005 Okay, so as I understand it (facing this problem today as well), I won't get this error unless I have uploaded the wrong files to the languages/english folder. I refreshed that folder and it was no help. Any further ideas? I only get this error on my new upload. I have it working in one folder before root. I moved the store to root and now I'm getting the error, but only on the right column. I'm open to ideas. Thanks, Tina Link to comment Share on other sites More sharing options...
stevenrwoolley Posted November 11, 2005 Author Share Posted November 11, 2005 Tina, have you figured it out yet. I uploaded everything new and I still get the error. When you figure it out please let me know. Link to comment Share on other sites More sharing options...
Guest Posted November 11, 2005 Share Posted November 11, 2005 Steven: No, I have figured it out yet. I'm about to dump my install and try again. Tina Link to comment Share on other sites More sharing options...
stevenrwoolley Posted November 12, 2005 Author Share Posted November 12, 2005 I reinstalled the contrib at least the files, and now everything is working. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.