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

Cannot redeclare tep_show_category()

This is a discussion on Cannot redeclare tep_show_category() within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; Hello... I am fairly new at all of this and am lost on this one... On my page http://desertrosedesign.net/catalog/shipping.php I ...

      
  1. #1
    New Member
    Join Date
    Nov 2006
    Posts
    16
    Rep Power
    0


    Default Cannot redeclare tep_show_category()

    Hello...
    I am fairly new at all of this and am lost on this one...

    On my page http://desertrosedesign.net/catalog/shipping.php I receive the following error. I had tried to add a payments page usign shipping as a template, but did not alter shiping in any way. Any ideas would be much appreciated. Thanks.

    Cannot redeclare tep_show_category() (previously declared in /home/content/d/r/d/drddw911/html/catalog/includes/boxes/categories.php:33) in /home/content/d/r/d/drddw911/html/catalog/includes/boxes/categories.php on line 33

  2. #2
    New Member
    Join Date
    Nov 2006
    Posts
    16
    Rep Power
    0


    Default Line 33

    This is my line 33:

    function tep_show_category($counter) {

  3. #3
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default RE: Line 33

    Recheck you editing. You can not just ADD a payment page using shipping as a template...... (assuming your adding a INFO PAGE???)

    You have to follow the and duplicate the SHIPPING page and ALL entries and files that reference 'shipping.php'. There may SEVERAL files that have to be duplicated and a few entries in other file that have to be duplicated as well.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

Similar Threads

  1. AARGH! Fatal error: Cannot redeclare tep_encrypt_password
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 7
    Last Post: 02-21-2004, 04:18 AM
  2. Cannot redeclare tep_set_banner_status()
    By EPierre in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 11-20-2002, 03:00 PM

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
  •