astronaut Posted March 20, 2006 Posted March 20, 2006 Not sure what I messed up here. I have this error when I go to the login.php page. Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/scbadmin/public_html/newcatalog/includes/functions/database.php:13) in /home/myserveradmin/public_html/newcatalog/includes/functions/database.php on line 13 Seems like application_top.php calls the funtion tep_db_connect() and database.php runs the connection. This error states I am declaring the database connection twice, but I am not seeing it? Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/scbadmin/public_html/newcatalog/includes/functions/database.php:13) in /home/myserveradmin/public_html/newcatalog/includes/functions/database.php on line 13. woo!
kgt Posted March 20, 2006 Posted March 20, 2006 See http://www.oscommerce.info/kb/osCommerce/G...on_Problems/198 Contributions Discount Coupon Codes Donations
astronaut Posted March 20, 2006 Author Posted March 20, 2006 See http://www.oscommerce.info/kb/osCommerce/G...on_Problems/198 thanks KGT, What file do they mean by the Correct File "Upload the correct file to the languages/*/ directory where * is the name of the language you are using. " woo!
kgt Posted March 20, 2006 Posted March 20, 2006 I had assumed since you had gotten so far in figuring this out that all you needed was a little hint. You have probably uploaded a code file over top of a language file. Look at login.php and includes/languages/english/login.php. They should not be the same thing. Look at the other language files to see what the content should look like. Your includes/languages/english/login.php can be restored from your own backup or from a copy of the oscommerce download. Contributions Discount Coupon Codes Donations
astronaut Posted March 20, 2006 Author Posted March 20, 2006 I had assumed since you had gotten so far in figuring this out that all you needed was a little hint. You have probably uploaded a code file over top of a language file. Look at login.php and includes/languages/english/login.php. They should not be the same thing. Look at the other language files to see what the content should look like. Your includes/languages/english/login.php can be restored from your own backup or from a copy of the oscommerce download. Funny, thanks. I think stress blinded me. Thanks for helping me sort this out! woo!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.