angelkelly Posted May 30, 2007 Share Posted May 30, 2007 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! Quote Link to comment Share on other sites More sharing options...
irvieto Posted May 30, 2007 Share Posted May 30, 2007 Hi. That error comes where there is another include of the "includes/functions/database.php" in the same page. So, this message appears only in the admin/featured products ? Quote Link to comment Share on other sites More sharing options...
angelkelly Posted May 30, 2007 Author Share Posted May 30, 2007 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. Quote Link to comment Share on other sites More sharing options...
angelkelly Posted May 31, 2007 Author Share Posted May 31, 2007 OK I'm getting desperate and I need this fixed before I can continue with my site so... how much would you charge me to help me fix this? Those who can help either post here or PM me Thanks Quote Link to comment Share on other sites More sharing options...
irvieto Posted June 2, 2007 Share Posted June 2, 2007 Post the files,so i can see which line do you need to delete/modify. I think that is not a difficult problem. 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.