VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: johnnyboy_31 on January 04, 2012, 22:11:32 PM

Title: add to cart issues
Post by: johnnyboy_31 on January 04, 2012, 22:11:32 PM
Hi,

I disabled "Using the Virtuemart jQuery" in the configuration tab, because the "add to cart" button doesn't work.

But then the browser goe back to to http://www.sequoiabomen.nl/index.php with the following error:

500 - Layout "blog" not found

So should I enable or disable "Using the Virtuemart jQuery" ?

http://www.sequoiabomen.nl/index.php?option=com_virtuemart&view=virtuemart&Itemid=83&lang=nl

Thanks!

John
Title: Re: add to cart issues
Post by: stephysm on January 04, 2012, 23:55:26 PM
I'm having the problem with needing that disabled to have everything show up. If that's enabled, I lose sight of everything, my entire storefront is gone. I'm starting to not become a fan of VirtueMart. I've had nothing but issues with it. Hope they figure out how to make it a little more user friendly because right now there are way to many issues.
Title: Re: add to cart issues
Post by: PRO on January 06, 2012, 19:30:13 PM
johnny,

disable this module and try

<link rel="stylesheet" type="text/css" href="/modules/mod_briaskISS/mod_briaskISS.css" />

WHY is it trying to load the css file WAY down the page?

and in the source, why is this at the bottom?

</html>No valid database connection<br/>


Title: Re: add to cart issues
Post by: johnnyboy_31 on January 06, 2012, 21:41:39 PM
Quote from: BanquetTables.pro on January 06, 2012, 19:30:13 PM
johnny,

disable this module and try

<link rel="stylesheet" type="text/css" href="/modules/mod_briaskISS/mod_briaskISS.css" />

WHY is it trying to load the css file WAY down the page?

and in the source, why is this at the bottom?

</html>No valid database connection<br/>

Hi,

To be honest I do not have a clue what you mean

Should I put this line of code somewhere:?
<link rel="stylesheet" type="text/css" href="/modules/mod_briaskISS/mod_briaskISS.css" />

How can I do that?

Thanks!

John
Title: Re: add to cart issues
Post by: PRO on January 06, 2012, 21:45:37 PM
disable the module and try
Title: Re: add to cart issues
Post by: johnnyboy_31 on January 06, 2012, 22:15:03 PM
Quote from: BanquetTables.pro on January 06, 2012, 21:45:37 PM
disable the module and try

It is disabled right now, but then I get that error "500 - Layout "blog" not found":

http://www.sequoiabomen.nl/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=5&virtuemart_category_id=0&Itemid=83&lang=nl

So what to do?
Title: Re: add to cart issues
Post by: PRO on January 07, 2012, 02:48:30 AM
this was a conversion clearly, the layout "blog" is a joomla content layout.

change your frontpage to a different layout,
Title: Re: add to cart issues
Post by: johnnyboy_31 on January 07, 2012, 20:10:18 PM
Hi,

I now have just one module enabled, the main menu, but I still get the same error when I click "add to cart"

Please advise, thanks!

John



Title: Re: add to cart issues
Post by: PRO on January 07, 2012, 20:22:24 PM
jquery has to be loaded for vmart to work
http://forum.virtuemart.net/index.php?topic=95979.msg315424#msg315424

turn on vmart jquery
Title: Re: add to cart issues
Post by: johnnyboy_31 on January 07, 2012, 20:37:15 PM
I have a major breakthrough, it works!

I think switching from mysql to mysqli and enable again "using the virtuemart jquery" fixed it!

John

Title: Re: add to cart issues
Post by: stephysm on January 07, 2012, 23:16:23 PM
Hey John,

Where did you change the mysql to mysqli at? I'm wondering if that might be the issue I'm having as well.
Title: Re: add to cart issues
Post by: PRO on January 08, 2012, 18:30:27 PM
in joomla global config
Title: Re: add to cart issues
Post by: johnnyboy_31 on January 09, 2012, 21:19:21 PM
Well I was happy too fast...........

The "add to cart" button works not in IE8, it works however in Chrome Firefox and Safari.

Anybody any clues how to debug this, link to the webshop is:

http://www.sequoiabomen.nl/index.php?option=com_virtuemart&view=virtuemart&Itemid=83&lang=nl

Thanks,

John
Title: Re: add to cart issues
Post by: PRO on January 09, 2012, 21:25:26 PM
the image carousel causes problems
Title: Re: add to cart issues
Post by: johnnyboy_31 on January 09, 2012, 21:54:46 PM
I disabled the image caroussel, but still "add to cart" does not work.

http://www.sequoiabomen.nl/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=7&virtuemart_category_id=4&Itemid=83&lang=nl

Please advise and many thanks!

John
Title: Re: add to cart issues
Post by: jenkinhill on January 09, 2012, 23:14:07 PM
Your site works just fine on the Beez template.... apart from the bad display.
Title: Re: add to cart issues
Post by: johnnyboy_31 on January 10, 2012, 20:50:11 PM
Hi,

I use IE8 and it doesn't work or am I blind, or is it just my laptop with IE8? I also tested on a different laptop with IE9, also doesn't work

Please advise in how to debug.

Thanks!!!!
Title: Re: add to cart issues
Post by: PRO on January 10, 2012, 21:09:32 PM
Quote from: BanquetTables.pro on January 09, 2012, 21:25:26 PM
the image carousel causes problems

^^^
YOUR image carousel has problems.

add to cart works for me in IE EXCEPT the ajax part does not work. I have to refresh page.



also, dont use google external js
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
  <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"></script>

Title: Re: add to cart issues
Post by: notanothernumber on January 17, 2012, 02:01:30 AM
I'm having massive dramas with this as well (see website www.costumeglitz.com.au) where if I switch off the 'Using the Virtuemart jQuery' the cart functionality works but adds nothing into the cart!? Any ideas out there?
Title: Re: add to cart issues
Post by: notanothernumber on January 17, 2012, 02:25:03 AM
Thank fek got this to work! Go into configuration.php file and change the entry:

public $dbtype = 'mysqli'
TO
public $dbtype = 'mysql'

Would be good to know why this worked though, any explanations out there?
Title: Re: add to cart issues
Post by: Milbo on January 17, 2012, 02:27:08 AM
yes, dont use mysqli with j1.7 or better said php5.3 and j1.7, because php5.3 is using with mysql already mysqli by default... or other way round,. .mysql does not exist anylonger...

yehh confusing, but that is the reason behind it.
Title: Re: add to cart issues
Post by: edwardcox on July 30, 2012, 05:29:01 AM
Hi All,
as a VirtueMart 2 newb I just wanted to say thank you to everyone who contributes to these threads.

My problem 'was' the same as everyone here, Joomla! 2.5.6 VM 2.0.8, and Add To Cart was playing up, no Popup modal, etc.

Simple search through this forum taught me to look at the HTML code and see what versions of JavaScript and JQuery were being loaded.
My conflict was BT Login module, and when I set it to 'Auto' determine load it resolved all my problems.

Kind Regards,

Edward.