osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Category error

This is a discussion on Category error within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi everyone, I am working on oscMax v1.7 on my local machine and I have just notice a problem when ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 05-25-2005, 03:52 PM
Active Member
 
Join Date: May 2003
Posts: 131
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
judoka
Default Category error

Hi everyone,

I am working on oscMax v1.7 on my local machine and I have just notice a problem when I click on a category that has sub-categories in it. When I click on the main category I get the following message:

Fatal error: Cannot redeclare tep_db_connect() (previously declared in c:\program files\easyphp1-8\www\catalog\includes\functions\database.php:13) in c:\program files\easyphp1-8\www\catalog\includes\functions\database.php on line 13

I looked at line 13 and this is what it reads:

function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') {

When I click on the sub-category or categories that have no sub-categories everything work ok. I am only getting the error message when I click on the main categories with sub-categories. I can cut and paste and I can do minor coding by trial and error but I have no idea what needs to be fix in the above line. Could someone tell me what is wrong with the above line and how can I fix it?

Thanks for the help guys,
Jose
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 05-29-2005, 04:31 PM
Active Member
 
Join Date: May 2003
Posts: 131
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
judoka
Default

I am still needing help with this issue if any body can help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Adding Category Descriptions in Category List for each Cat. el1jones osCMax v2 Customization/Mods 1 03-15-2006 01:37 AM
Category box modification blulilac osCMax v2 Customization/Mods 6 08-02-2005 02:09 AM
Category name damnedpig osCMax v1.7 Discussion 8 06-11-2004 12:32 PM
2 category boxes jloyzaga osCMax v1.7 Discussion 4 02-28-2004 01:08 AM
New category does not create new category folder Anonymous osCommerce 2.2 Installation Help 3 02-23-2003 12:52 PM


All times are GMT -8. The time now is 03:32 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax