helpme23 Posted July 19, 2003 Posted July 19, 2003 Fatal error: Cannot redeclare tep_db_connect() (previously declared in /var/www/html/catalog/includes/functions/database.php:13) in /var/www/html/catalog/includes/functions/database.php on line 13 someone please help!
bonani2 Posted July 2, 2005 Posted July 2, 2005 Fatal error: Cannot redeclare tep_db_connect() (previously declared in /var/www/html/catalog/includes/functions/database.php:13) in /var/www/html/catalog/includes/functions/database.php on line 13someone please help! <{POST_SNAPBACK}> me too~the same error: Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/bonani2/public_html/shop2/includes/functions/database.php:13) in /home/bonani2/public_html/shop2/includes/functions/database.php on line 13 help please~ thank you
OceanRanch Posted July 2, 2005 Posted July 2, 2005 This one's not always en easy fix. You have overwritten a file somewher that is calling application_top.php for the second time which in turn calls the database.php to login. Usually it's a language file that you inadvertantly placed the wrong file in that folder. http://www.oscommerce.info/kb/osCommerce/G...on_Problems/198 HTH Tom
Guest Posted July 2, 2005 Posted July 2, 2005 me too~the same error:Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/bonani2/public_html/shop2/includes/functions/database.php:13) in /home/bonani2/public_html/shop2/includes/functions/database.php on line 13 help please~ thank you <{POST_SNAPBACK}> I don't know if this is the right way to do it, but it worked for me. I saved a copy of my .../catalog/admin files to a different file on my computer and then deleted them. I then reinstalled the original admin files. I got rid of the error and didn't have to redo anything I had already done with the store.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.