VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: girgismcs on September 28, 2013, 18:07:07 PM

Title: problem in adding to cart
Post by: girgismcs on September 28, 2013, 18:07:07 PM
iam using Zt_colinus from zoo template with joomla 2.5.14 and virtuemart 2.0.22c

on my local machine it works perfict without any problems

but when i moved online hosted i got an issue

when i add products to my cart it is not appering at all when i go to checkout and some other times when i add products it do appeare but not all of the products i added just 2 or 3 products show when checking out

i used the zt_colinus_quickstart and updated joomla and virtuemart and it work with no problems on my localhost

i moved to online hosting
enabled joomla cach and sit time to 60
and added to my .httaccess those lines


RewriteCond %{HTTP_HOST} ^oilzrepublic\.com$ [NC]
RewriteRule ^(.*)$ http://www.oilzrepublic.com/$1 [R=301,L]

# Enable expirations
ExpiresActive On

# Default directive
ExpiresDefault "access plus 1 month"

# My favicon
ExpiresByType image/x-icon "access plus 1 year"

# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"

# CSS
ExpiresByType text/css "access 1 month"

# Javascript
ExpiresByType application/javascript "access plus 1 year"

that is all what i did
this is my online site www.oilzrepublic.com
can you help me finding a solution for that please ?
Title: Re: problem in adding to cart
Post by: Maxim Pishnyak on September 29, 2013, 21:10:52 PM
Your web page has jquery from zoo. Turn off it.
Title: Re: problem in adding to cart
Post by: girgismcs on September 29, 2013, 21:20:35 PM
Quote from: Maxim Pishnyak on September 29, 2013, 21:10:52 PM
Your web page has jquery from zoo. Turn off it.

How i didnt enable any thing :S
Title: Re: problem in adding to cart
Post by: Maxim Pishnyak on September 29, 2013, 21:22:14 PM
Quote from: girgismcs on September 28, 2013, 18:07:07 PM
i used the zt_colinus_quickstart
Yes, you did.
Title: Re: problem in adding to cart
Post by: girgismcs on September 29, 2013, 21:27:29 PM
Quote from: Maxim Pishnyak on September 29, 2013, 21:22:14 PM
Quote from: girgismcs on September 28, 2013, 18:07:07 PM
i used the zt_colinus_quickstart
Yes, you did.
Can u help me tilling how to turn it off ?
Title: Re: problem in adding to cart
Post by: Maxim Pishnyak on September 29, 2013, 21:32:50 PM
System plugins could be regular issue. Check em.
Title: Re: problem in adding to cart
Post by: girgismcs on September 30, 2013, 14:51:16 PM
Quote from: Maxim Pishnyak on September 29, 2013, 21:32:50 PM
System plugins could be regular issue. Check em.

i tested almost every thing and i figered out some thing

that this happened because i enables system cach plugin
and i don't know why this cach the cart page and the cart module also

i changed that in my .httaccss file

added
#If available, set the expires to 'far future'
<IfModule mod_expires.c>
   ExpiresActive On
   ExpiresDefault "access plus 1 month"
   ExpiresByType application/pdf "access plus 1 month"
   ExpiresByType application/x-javascript "access plus 1 week"
   ExpiresByType application/x-shockwave-flash "access plus 1 month"
   ExpiresByType image/gif "access plus 1 month"
   ExpiresByType image/ico "access plus 1 month"
   ExpiresByType image/jpeg "access plus 1 month"
   ExpiresByType image/png "access plus 1 month"
   ExpiresByType image/x-icon "access plus 1 month"
   ExpiresByType text/css "access plus 1 week"
   ExpiresByType text/html "access plus 1 day"
   ExpiresByType text/plain "access plus 1 week"
   ExpiresByType video/x-flv "access plus 1 month"
</IfModule>

#Turn off ETags
FileETag none

and i need to know is there a way to fix this system cach issue ?
Title: Re: problem in adding to cart
Post by: Maxim Pishnyak on October 03, 2013, 15:40:52 PM
For VM powered web site cache must be off.