Post by txyaaj » Tue Mar 27, 2012 6:46 am

I did a test upgrade on a duplicate site of my store and got some errors. Here's what I did:
1. renamed my config files so they won't be overwritten
2. performed upgrade steps 2 through 11

When I launched the store I got two errors. Both are in the same controller file:
Notice: Undefined index: count in /home/modernf2/public_html/shop-test-site/catalog/controller/module/category.php on line 44
And
Notice: Undefined index: count in /home/modernf2/public_html/shop-test-site/catalog/controller/module/category.php on line 66
Both lines 44 & 66 referred to a count check statement as follows:

Code: Select all

if ($setting['count']) {
.
.
.
What am I doing wrong or need to do to make it work? Also, what am I gaining by upgrading to 1.5.2.1?

Thanks in advance.

User avatar
New member

Posts

Joined
Thu Feb 18, 2010 12:48 pm
Location - USA

Post by Qphoria » Tue Mar 27, 2012 10:59 am

You are doing almost everything right.. the only step you missed was using the "Search" button on the forum to look up that error message. If you had you'd have found posts like this one:
http://forum.opencart.com/viewtopic.php ... 28#p265428

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by txyaaj » Tue Mar 27, 2012 9:34 pm

thanks a bunch! That did the trick. I did try searching, but didn't get anything like that ;(

User avatar
New member

Posts

Joined
Thu Feb 18, 2010 12:48 pm
Location - USA
Who is online

Users browsing this forum: No registered users and 5 guests