Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

I must have changed something but I really have no idea what........ help! this renders my whole shopping site useless as no one can site up as a client..... here is the error that comes up when I try to hit the create account button.

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/httpd/vhosts/scrapbookcity.com.au/httpsdocs/shop/includes/functions/database.php:13) in /home/httpd/vhosts/scrapbookcity.com.au/httpsdocs/shop/includes/functions/database.php on line 13

Edited by Josie123
Posted

it means you have added something which duplicated the tep_db_connect function, what were you doing/adding?

Posted

Luckily, you made a back up of the file you were changing before you made the changes, and you can just revert back to that.

 

If you didn't make a backup, then you just learned the most important lesson in web programming. Congrats!

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
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...