shawngo Posted June 22, 2006 Share Posted June 22, 2006 Hello I'm getting this error message after signing up for the affiliate program: Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/rowepott/public_html/ishop/includes/functions/database.php:13) in /home/rowepott/public_html/ishop/includes/functions/database.php on line 13 I've looked high and low and haven't found anything online or within the code. I thought I saw a post on a forum that undesirable whitespace could cause this. Can anyone help? Thank you!! :) Shawn Quote Link to comment Share on other sites More sharing options...
shawngo Posted June 22, 2006 Author Share Posted June 22, 2006 Alright, I did find a temporary fix to this. I found http://www.creloaded.com/faq.php?cID=6 which says I have an error message : Cannot redeclare tep_db_connect()Generally this is caused by uploading a main directory file into a language directory. Fix this by uploading the correct file to the language directory to which you have just uploaded. I uploaded the backup version of affiliate_signup_ok.php to catalog/includes/languages/english and everything works as usual. Hope someone finds this useful :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.