osCmax v2.5 User Manual
Results 1 to 2 of 2

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

      
  1. #1
    Active Member
    Join Date
    May 2003
    Posts
    185
    Rep Power
    10


    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

  2. #2
    Active Member
    Join Date
    May 2003
    Posts
    185
    Rep Power
    10


    Default

    I am still needing help with this issue if any body can help.

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •