Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

osC Affiliates Error When Signing Up


Recommended Posts



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!! :)




Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...