VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: serapol on July 25, 2012, 11:05:10 AM

Title: Problem with pagination if enabled system cache (Virtuemart 2.0.8)
Post by: serapol on July 25, 2012, 11:05:10 AM
Do not know how to explain it properly. I have a problem with pagination when the system cache. Virtuemart sends to the cache page settings without limit and limitstart. Ie always opens the first page. It does not always happen.

I found a problem in the transmission controller category safeurlparams in the file components/com_virtuemart/controllers/category.php on line 59

In the parameters limit and limitstart Joomla Filter Set Type CMD, but according to the specifications of this type of Joomla only allows letters, and underscores.

Since the limit and limitstart digital values ​​out there, you must specify the type INT or better yet UINT. C what reasons was the type of CMD is not clear to me personally.

Do not know if the problem is still there who have some but I personally helped to change type, and indication of type INT somehow logical.
Title: Re: Problem with pagination if enabled system cache (Virtuemart 2.0.8)
Post by: robert on November 18, 2012, 13:11:31 PM
Ive had to completely disable Joomla's system cache because of the issues it causes.

Im not a programmer so im not sure what to do - but when system cache is enabled several functions of VM do not update correctly.

anyone know how to turn system cache on while disabling it for VM 2.0.8e?
Title: Re: Problem with pagination if enabled system cache (Virtuemart 2.0.8)
Post by: bytelord on November 18, 2012, 16:40:51 PM
Hello,

I have successfully use jotcache to exclude the vm cart module and vm pages from caching. The vm cart module and checkout page shouldn't cached.

You could try it: http://extensions.joomla.org/extensions/core-enhancements/performance/cache/13155

Regards
Title: Re: Problem with pagination if enabled system cache (Virtuemart 2.0.8)
Post by: robert on November 18, 2012, 16:56:14 PM
Thanks for the insight... Ive installed it - can you advise how to accomplish VM from not getting cached
Title: Re: Problem with pagination if enabled system cache (Virtuemart 2.0.8)
Post by: bytelord on November 18, 2012, 17:09:03 PM
Hello,

Please use jotcache documentation http://www.jotcomponents.net/web-programming/jotcache/faq
and support forum on that. There is a faq section for vm: http://www.jotcomponents.net/web-programming/jotcache/faq/109-using-virtuemart-with-jotcache

Regards
Title: Re: Problem with pagination if enabled system cache (Virtuemart 2.0.8)
Post by: robert on November 18, 2012, 17:10:55 PM
Ill check that out - I think I managed to exclude VM - but I also use the sourcerer plugin - that seems to be broken

I'll review the documentation - thanks
Title: Re: Problem with pagination if enabled system cache (Virtuemart 2.0.8)
Post by: bytelord on November 18, 2012, 17:16:47 PM
You are welcome. In the documentation you will find how to exclude from cache -> components, plugins, modules, pages

Regards
Title: Re: Problem with pagination if enabled system cache (Virtuemart 2.0.8)
Post by: robert on November 18, 2012, 17:29:38 PM
THANKS again bytelord - this is a great solution!