Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

category.php error?


kultgirl

Recommended Posts

Posted

Thanks in advance for the help for a noob....

 

I'm getting the following error in the Error Log:

 

08-Nov-2009 20:34:05 PHP Notice: Undefined index: name in /home/uhpubli1/public_html/store/includes/classes/category.php on line 64

08-Nov-2009 20:32:09 PHP Notice: Undefined index: id in /home/uhpubli1/public_html/store/includes/classes/category.php on line 121

 

code from the PFP file:

 

Line 62-65:

 

public function getTitle() {

return $this->_data['name'];

}

Lines 117-121:

 

public function getPath() {

global $osC_CategoryTree;

 

return $osC_CategoryTree->buildBreadcrumb($this->_data['id']);

}

Posted

Thanks in advance for the help for a noob....

 

I'm getting the following error in the Error Log:

 

08-Nov-2009 20:34:05 PHP Notice: Undefined index: name in /home/uhpubli1/public_html/store/includes/classes/category.php on line 64

08-Nov-2009 20:32:09 PHP Notice: Undefined index: id in /home/uhpubli1/public_html/store/includes/classes/category.php on line 121

 

code from the PFP file:

 

Line 62-65:

 

public function getTitle() {

return $this->_data['name'];

}

Lines 117-121:

 

public function getPath() {

global $osC_CategoryTree;

 

return $osC_CategoryTree->buildBreadcrumb($this->_data['id']);

}

That is code from osCommerce Online Merchant v3.x

 

Look at the top of this page.

 

This part of the forum is for osCommerce Online Merchant v2.x support exclusively.

 

v3.x support is here

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...