Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

zmeu

Archived
  • Posts

    2
  • Joined

  • Last visited

Everything posted by zmeu

  1. I have a problem with this contribution. When I access to www.mysite.com/admin/index_maintenance.php found the next error: Fatal error: Call to a member function add() on a non-object in /home/mysite/domains/domain/public_html/admin/index_maintenance.php on line 31 Can you help me please? Thanks a lot
  2. Hi; I have a problem with the category boxes. I get the following error message: Warning: Invalid argument supplied for foreach() in /home/xxxxx/domains/xxxxx/public_html/includes/boxes/categories.php on line 136 Warning: Invalid argument supplied for foreach() in /home/xxxxx/domains/xxxxx/public_html/includes/boxes/categories.php on line 144 The code in these lines is: $cat_subs = array(); foreach($categories_start as $key => $value) { if(strstr($key, '_' . $parentID . '_E')) { $cat_subs[$parentID][] = substr($key, 2, strpos($key, "_", 2) - 2); } } // if (!isset($_GET['cPath'])) { foreach ($cat_subs[$parentID] as $v) { //$categories = tep_db_fetch_array($categories_query) $categories = $categories_start['S_' . $v . '_' . $parentID . '_E']; I have not modified the code included in the template to have multiple categories and subcategories. Could you help me, please?
×
×
  • Create New...