Post by madelharri » Sat Mar 17, 2012 6:00 pm

Notice: Undefined index: count in /home/mosaicsa/public_html/catalog/controller/module/category.php on line 66.
I've searched the forums and found that the way to clear this error is to open Modules/Category in the extensions menu, and have done so several times but the problem does not clear.
The problem can be seen at http://www.mosaicsandtiles4you.com/inde ... ry&path=64.
I'm using opencart 1.5.2.1.
Could you help me solve this please?

New member

Posts

Joined
Sat Mar 17, 2012 5:54 pm

User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by madelharri » Sat Mar 17, 2012 10:01 pm

Yes I did. I've just done it again for the 10th time with no success. Unless I'm missing something vital. I'm going to extensions/modules/category, clicking edit and then save. Should I be doing something different?

New member

Posts

Joined
Sat Mar 17, 2012 5:54 pm

Post by fdpace » Tue Mar 20, 2012 12:52 pm

I did the same thing, I clicked edit and save and no changes to my site. Is there something I should be doing?
Here's my error:

Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 44Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 44Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 66Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 44Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 44Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 44Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 44Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 44Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 44Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 66Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 66Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 66Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 44Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 44Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 66Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 44Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 44Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 66Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 44Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 44Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 44Notice: Undefined index: count in /home/faithspa/public_html/store/catalog/controller/module/category.php on line 66

Newbie

Posts

Joined
Tue Mar 20, 2012 12:32 pm

User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by fdpace » Tue Mar 20, 2012 8:13 pm

I attempted to re-install, but when I click the upgrade button at http://faithspaessentials.com/store/install/ I get this error message:

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/faithspa/public_html/store/install/model/upgrade.php on line 63
Could not Execute: DROP TABLE openreturn_product;
Unknown table 'openreturn_product'

What do I need to do?

Newbie

Posts

Joined
Tue Mar 20, 2012 12:32 pm

Post by madelharri » Tue Mar 20, 2012 8:17 pm

Reloading the category module had no effect.
But the category module had product and category loaded as standard layouts. I have removed both and this solved the problem. It also solved a problem that I realised I had with IE8 as well. It was not laying out the category page correctly, but is now. ;D

New member

Posts

Joined
Sat Mar 17, 2012 5:54 pm

Post by fdpace » Tue Mar 20, 2012 8:45 pm

Ok so the category module had product and category loaded as standard layouts, but where did you remove them from?

Newbie

Posts

Joined
Tue Mar 20, 2012 12:32 pm

Post by fdpace » Tue Mar 20, 2012 9:14 pm

Please help, I do not know what to do. I'm trying to upgrade my site, but I'm getting this error.

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/faithspa/public_html/store/install/model/upgrade.php on line 63
Could not Execute: DROP TABLE openreturn_product;
Unknown table 'openreturn_product'

I've tried uninstalling and re-installing

http://faithspaessentials.com/store/install (not working) :'(

Newbie

Posts

Joined
Tue Mar 20, 2012 12:32 pm

Post by madelharri » Tue Mar 20, 2012 10:33 pm

fdpace wrote:Ok so the category module had product and category loaded as standard layouts, but where did you remove them from?
If you open extensions->modules->catalog you should see two entries under the table in the module. Click on remove for each of them and they will disappear then click on save.
Sorry I can't really help with your other problems. I'm a newbie myself, but what I did to install and uninstall was just simply to delete the module files via FTP and then upload them again. Did you take a backup before trying to update? If so I would restore your site to what it was before and then see if doing what I did solves your error problem.

New member

Posts

Joined
Sat Mar 17, 2012 5:54 pm

Post by fdpace » Tue Mar 20, 2012 11:40 pm

Wow!!! That cleared the problem, thank you so, so, so much!!

Newbie

Posts

Joined
Tue Mar 20, 2012 12:32 pm

Post by madelharri » Wed Mar 21, 2012 1:54 am

You're welcome :)

New member

Posts

Joined
Sat Mar 17, 2012 5:54 pm

Post by tominabox » Mon Apr 16, 2012 3:09 am

I just updated to 1.5.2.1 and had the count in error as mentioned, and did the "fix" as mentioned in this thread, deleting the two items in category. Since I did that my image has changed back from the one I had to the opencart image. I verified my image is still in the system ->settings location, but it won't show. Any ideas on how to resolve this to get my image back up?

Newbie

Posts

Joined
Tue Oct 25, 2011 1:45 am
Who is online

Users browsing this forum: No registered users and 28 guests