News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Problem with pagination if enabled system cache (Virtuemart 2.0.8)

Started by serapol, July 25, 2012, 11:05:10 AM

Previous topic - Next topic

serapol

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.

robert

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?

bytelord

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
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

robert

Thanks for the insight... Ive installed it - can you advise how to accomplish VM from not getting cached

bytelord

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

robert

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

bytelord

You are welcome. In the documentation you will find how to exclude from cache -> components, plugins, modules, pages

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

robert