3

I recently upgraded Magento from 1.3 to 1.7 - everything appears to be working fine but there is a little issue.

I am unable to view my category on front page. I am displaying all my categories on a custom page and this function Mage::helper('catalog/category')->getStoreCategories(); isn't working - it returns null.

I know I can use the category collection methods to retrieve all my categories but my question is why this function returns null, despite the fact I have over 100 categories in my store.

2

Sounds like either the store needs re-indexing, or the upgrade didn't quite go right.

  1. Ensure FCP/FCC is disabled (System > Configuration > Catalogue)
  2. Re-run all the indexes
  3. Make sure the store root catalogue is set correctly (System > Manage Stores)

If this doesn't work/help, then repeat your upgrade again. 1.3 to 1.7 is a BIG jump (even 1.3 to 1.4.2 is a big jump). You are better staging the upgrade over two upgrades

1.3       ->   1.4.2.0
1.4.2.0   ->   1.7.0.2
  • root catalog is set i have re-run all indexing everything is working fine except category – Mufaddal Mar 7 '13 at 4:15
  • Start from the beginning and Run the upgrade again then. – Ben Lessani - Sonassi Mar 7 '13 at 8:28
  • But there is no other way? – Mufaddal Mar 7 '13 at 8:30
  • You did a big upgrade and something fundamental isn't working. If you've followed the standard debug procedure and its still not working then you need to restart. – Ben Lessani - Sonassi Mar 7 '13 at 8:36
  • Ok let me check all over thing again – Mufaddal Mar 7 '13 at 8:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.