Boutique / Virtuemart problem

GK User
Wed Jul 04, 2012 2:12 pm
Hi,
I have started adding products to my clients site: http://www.stylenouveau.co.za/handbags.html
but as you can see, I am getting an error saying "Warning: Division by zero in /home/stylenou/public_html/administrator/components/com_virtuemart/models/product.php on line 516"

Not sure what this is about, as my products have a price attached to it?

Please can you help?
User avatar
Expert Boarder

GK User
Wed Jul 04, 2012 2:56 pm
Hi,

Can you please change to use another template to check if that problem comes from our template nor VM?

Thanks,
User avatar
Platinum Boarder

GK User
Wed Jul 04, 2012 2:58 pm
:(
It must be a Virtuemart problem.
I'll go ask on their forums.

thanks
User avatar
Expert Boarder

GK User
Wed Jul 04, 2012 3:03 pm
I guessed the same because the error comes from a VM's file, before asking them you can consult some discussed topics for the same issue from https://www.google.com/search?q=Warning ... 66&bih=674

Cheers,
User avatar
Platinum Boarder

GK User
Wed Jul 04, 2012 3:05 pm
User avatar
Platinum Boarder

GK User
Wed Jul 04, 2012 3:36 pm
Thanks Don!
I got it to work now :) Thank you for your help!
User avatar
Expert Boarder

GK User
Wed Jul 04, 2012 3:44 pm
Hey Don, While i"ve got you here.. I wonder if you could look at a template issue for me.. Same site etc..

On some of the pages, the footer appears INSIDE the white box and other times the footer appears OUTSIDE the white box.

Any idea why this would be happening or how to fix it?

Examples:

Outside the white box: http://www.stylenouveau.co.za/shoes/lad ... etail.html
Inside the White box: http://www.stylenouveau.co.za/ladies-clothing.html
User avatar
Expert Boarder

GK User
Wed Jul 04, 2012 3:52 pm
Hi,

It's because there's some div tag missed to close in this page http://www.stylenouveau.co.za/ladies-clothing.html

Have you customized anything to that layout file?
User avatar
Platinum Boarder

GK User
Wed Jul 04, 2012 3:53 pm
Nope, I haven't been messing with any code on the template.
None at all.. Any idea which file I can find this problem in?
User avatar
Expert Boarder

GK User
Wed Jul 04, 2012 4:04 pm
I don't know yet, can you send me a PM to provide with backend and FTP access for further check?

Thanks,
User avatar
Platinum Boarder

GK User
Wed Jul 04, 2012 4:40 pm
I must be blind :(
I cant find where to PM you :(
User avatar
Expert Boarder

GK User
Wed Jul 04, 2012 4:45 pm
User avatar
Platinum Boarder

GK User
Wed Jul 04, 2012 5:55 pm
Hi Don,
I sent you the PM. I hope you got it :)
User avatar
Expert Boarder

GK User
Thu Jul 05, 2012 11:09 am
Yes thank you I've got it now and am checking the page for you but it seems to be very hard to find the cause so please allow me a little more time for this.

Cheers,
User avatar
Platinum Boarder

GK User
Thu Jul 05, 2012 11:53 am
There was a div tag missed to close in the category layout file /templates/gk_boutique/html/com_virtuemart/category/default.php

I have added </div> to end of the file to fix it. Please check and confirm.

Thanks,
User avatar
Platinum Boarder

GK User
Thu Jul 05, 2012 12:08 pm
Hi Don,
See the attachment.. Now the newsletter and social icons etc are showing outside the white box, but they should be inside of it :)
User avatar
Expert Boarder

GK User
Thu Jul 05, 2012 12:42 pm
Hi,

I don't see your attachment, however this is what I see http://easycaptures.com/fs/uploaded/587/2464339142.jpg
User avatar
Platinum Boarder

GK User
Thu Jul 05, 2012 3:05 pm
Don Lee wrote:Hi,

I don't see your attachment, however this is what I see http://easycaptures.com/fs/uploaded/587/2464339142.jpg


Sorry Don,
I attached the wrong image.
See attached

I have noticed this problem on the following pages:
http://www.stylenouveau.co.za/ladies-cl ... esses.html
/ladies-clothing/ladies-jackets.html
/mens-clothing/mens-shirts.html
/mens-clothing/mens-pants.html
/mens-clothing/mens-jeans.html
/mens-clothing/mens-jackets.html
/shoes/mens-shoes.html
/shoes/ladies-shoes.html
/shoes/ladies-boots.html
/handbags.html


Quite a few pages that it's happening on.. Hope you can help me :)
User avatar
Expert Boarder

GK User
Fri Jul 06, 2012 1:07 pm
Hi,

I have just fixed the issue for you, please check!
User avatar
Platinum Boarder

GK User
Fri Jul 06, 2012 1:52 pm
It is PERFECT!
THank you so much!
What was the problem?
User avatar
Expert Boarder

GK User
Fri Jul 06, 2012 1:58 pm
Hi Samantha,

Problem was that we put a closing div tag in a wrong place, I has spent 1 hour to find it out and move to correct place for you :D
User avatar
Platinum Boarder

GK User
Fri Jul 06, 2012 2:09 pm
I really appreciate the help Don! You're a super star!
User avatar
Expert Boarder

GK User
Fri Jul 06, 2012 2:15 pm
You're welcome Samantha, feel free to let me know if you need any further help.

Have a nice day,
User avatar
Platinum Boarder


cron