Jump to content

anyone any good with oscommerce? cannot redeclare tep problem


angelkelly

Recommended Posts

Hi guys,

 

I have an oscommerce store and have just added the latest featured products contribution to it so that I can show products of my choice on the main page.

 

It went in like a dream but the only problem I am havin is when I log in to my admin to add the featured products. On the page where I should be able to add them I get this:

 

Fatal error: Cannot redeclare tep_db_connect() (previously declared in /home/sites/www.jewelleryfountain.co.uk/public_html/jewelry/admin/includes/functions/database.php:13) in /home/sites/www.jewelleryfountain.co.uk/public_html/jewelry/admin/includes/functions/database.php on line 13

 

I havent modified this file at all and after seahing for solutions am led to believe its something in the lang/ english folder that maybe causing the problem.

 

Has anyone had this error before? Do you know how I can solve it?

 

There was a file I uploaded where I had to put in my database name and password, I have 10 databases in my control panel -could it be I have put in the wrong one (although I am 85% certain the one I put in is the one that the rest of my store runs on - and they all seem to have the same amount of files).

 

I can post any files / code you need but just dont know which file might be the problem, and I dislike posting tons of useless code as it makes the forums harder to go though.

 

Thank you to anyone who can offer me any advice, I very much appreciate it!

 

 

Link to comment
Share on other sites

Thanks for the reply!

 

Yes, it only appears on that page. The rest of my admin (including the part where I can determine the amount of products for the featured section), and my website appear to be functioning normally and there are no other error messages.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.