SMFHacks.com

SMF Store => Support => Topic started by: ApplianceJunk on May 15, 2008, 12:43:59 pm

Title: Store shows one item in catagory, but when I click on cat. its not there.
Post by: ApplianceJunk on May 15, 2008, 12:43:59 pm
Our store url:

http://appliancejunk.com/forums/index.php?action=store

I have a pdf file in the one catagory.

but when you click on that catagory it does not show up.

That product does show up in the Recent Products list.

Also there is no description showing up.

I also get a lot of errors in the log like this

http://appliancejunk.com/forums/index.php?action=store;cat=2 
2: Division by zero
File: /home/applianc/public_html/forums/Sources/Subs.php
Line: 785


http://appliancejunk.com/forums/index.php?action=store;cat=2 
2: Division by zero
File: /home/applianc/public_html/forums/Sources/Subs.php
Line: 780


http://appliancejunk.com/forums/index.php?action=store;cat=2 
2: Division by zero
File: /home/applianc/public_html/forums/Sources/Subs.php
Line: 775


etc....
Title: Re: Store shows one item in catagory, but when I click on cat. its not there.
Post by: ApplianceJunk on May 15, 2008, 01:01:09 pm
I have these setting

Store Path: /home/applianc/public_html/forums/store/

Store Url: http://appliancejunk.com/forums/store/

Not sure if I have the Store Url: set correct as this is what it was already set to when I first looked.

Thanks,
Title: Re: Store shows one item in catagory, but when I click on cat. its not there.
Post by: ApplianceJunk on May 15, 2008, 03:54:01 pm
Being all my errors seem to be with the same /home/applianc/public_html/forums/Sources/Subs.php I have attached a copy.

Maybe it will help, thanks. :)
Title: Re: Store shows one item in catagory, but when I click on cat. its not there.
Post by: SMFHacks on May 15, 2008, 09:02:33 pm
The issue you do not have "Items per page:" set under Store Settings.

Sounds like when you installed the settings were blank make sure most of those are filled out.

Default items per page is 16
Title: Re: Store shows one item in catagory, but when I click on cat. its not there.
Post by: ApplianceJunk on May 15, 2008, 09:45:41 pm
Adding 16 for item per page did the trick, :)

How about that store url?

It was at http://appliancejunk.com/forums/store/

Should I leave it at that or should my store url be...

http://appliancejunk.com/forums/index.php?action=store

Thanks,
Title: Re: Store shows one item in catagory, but when I click on cat. its not there.
Post by: SMFHacks on May 15, 2008, 09:53:58 pm
That is correct
http://appliancejunk.com/forums/store/