Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

project.php runs queries, gets results, but errors are not being saved to class object


Recommended Posts

hi,

I installed os commerce alpha 3 (the new one) and added some products....

after i select a detailed product, to see it from the categories page (the items are displayed fine when they are all listed under their category)

then, I click an item so the url becomes http://www.myowndictionary.com/products.ph...ced&cPath=1

to see details on the product.

the page shows all kinds of

Notice: Undefined index: category_id in /var/myowndictionary/current/includes/classes/product.php on line 165

and such.

Well, the indexes to the array

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

are blank, they aren't saving their values.

you know, the project.php goes through for each product and runs some queries.

So, i have looked at the my mysql query log and ran the queeries by hand, and they return good results.

Somehow, statemetns like

$this->_data['category_id'] = $Qcategory->valueInt('categories_id');

are not taking it appears.

 

is there any way to dig deeper into this issue?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...