Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Problem with cookie checking (vmcchk)
(1 viewing) (1) Guest
Support forum for customers who have purchased paid JoomSEF extension. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1
  • 2

TOPIC: Problem with cookie checking (vmcchk)

Problem with cookie checking (vmcchk) 14 years, 9 months ago #11396

Hi,

I have problem with JoomSEF and VirtueMart when browser doesn't accept cookies so the "vmcchk" tag appears in the url.

The solution that suggests disable this in "VirtueMart Configuration/Core Setting/ Disable the Cookie Check" is not acceptable for me since I do want to warn my user about cookies.

Managing SEF URLs doesn't work as well. Replacing a Real URL:
"/index.php?option=com_virtuemart&category_id=7&flypage=my_flypage.tpl&manufacturer_id=1&page=shop.product_details&product_id=1&Itemid=1&vmcchk=1&Itemid=1" with a new one: "cookiwarning.html"
nothing happens.

What is the right solution? Please help!

Thanks in advance

I'm using the following configuration:
Joomla 1.5.15
VirtueMart 1.1.4
JoomSEF 3.6.1
JoomSEF VirtueMart SEF Extension 2.0.19
The topic has been locked.

Re:Problem with cookie checking (vmcchk) 14 years, 9 months ago #11413

No support on my question?

Maybe I was not clear.
I'm trying to explain in other way.

Most of my VirtueMart link are SEF but if "vmcchk" tag appears in the url I'm getting url like this:
"/index.php? option=com_virtuemart&category_id=7&flypage=my_flypage.tpl&manufacturer_id=1&page=shop.product_detai ls&product_id=1&Itemid=1&vmcchk=1&Itemid=1"
I can't disable the cookie check in VirtueMart because I have to warn users about using cookies.

If I manually enter the link above in "Managing SEF URLs" and try to replace it to a simple one, then nothing happens.

By the way I have some VirtueMart product link which are not SEF, no matter there is "vmcchk" tag in them, or not:
"index.php?page=shop.product_details&flypage=my_flypage.tpl&product_id=11&category_id=17&option=com_virtuemart&Itemid=1"
I can't manually replace them either.

I've tried to debug joomsef.php and com_virtuemart.php but that was a nightmare :(

Any help would be appreciated!
The topic has been locked.

Re:Problem with cookie checking (vmcchk) 14 years, 9 months ago #11416

It seems to me that the problem occurs when the VirtueMart modul makes some extra redirection:
- when the browser doesn't allow cookies
- when a catery has only one item so VirtueMart redirect directly to the product's flypage instead of category's browse page
The topic has been locked.

Re:Problem with cookie checking (vmcchk) 14 years, 9 months ago #11417

I've found the same problem in other forum:
forum.virtuemart.net/index.php?topic=45427.msg144981#msg144981

It looks like VirtueMart's "vmRedirect" function and JoomSEF can't work together.

Please find me any solution!

I've already paid for JoomSef and don't want to buy more product (sh404SEF).
The topic has been locked.

Re:Problem with cookie checking (vmcchk) 14 years, 9 months ago #11418

  • jaku
Hello,

"vmcchk" variable is always considered non-SEF by JoomSEF and appended
to existing URL. That is default JoomSEF behaviour.

The only way to remove it is to disable cookie check in VM or adjust the
code of the extension.

As regards the other non-SEF URLs you mention, most likely the reason
will be, that they are no parsed thru Joomla SEO API when generated.
This may be an error on the VM module / template level, not using the
proper API.

You may be also right about the internal redirects, but then the reason is the same - that the redirected URL is not being parsed by the SEO API.
Anyway, the redirection problems can be "fixed" by setting the Redirect non-sef to sef URL in JoomSEF configuration.

I think that getting other product will be of no use, as this is issue on VirtueMart level, not on the JoomSEF level. (this means, that any adjustment of the behaviour need to be done on VM code level; except maybe the vmcchk addition, that is controlled by JoomSEF VirtueMart extension)
The topic has been locked.

Re:Problem with cookie checking (vmcchk) 14 years, 9 months ago #11420


Redirect non-sef to sef URL
setting was really useful. After I set it to yes everything works as it should have been.
Thanks for your help.

The only part of my VM which is still not using SEF url is the checkout part.

Any idea?
The topic has been locked.
  • Page:
  • 1
  • 2
User Login Empty