Welcome, Guest. Please login or register.
Login with username, password and session length


It's a release candidate! VirtueMart 2.0 RC - the next generation VirtueMart - is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
VirtueMart ForumVirtueMart 1.1.xSecurity (https) / Performance / SEO/ SEF issuesTroubleshooting SEF: 404, 500, incorrect redirects, and other page errors.
Pages: 1 [2]   Go Down
Print
Author Topic: Troubleshooting SEF: 404, 500, incorrect redirects, and other page errors.  (Read 9490 times)
Forrest
Global Moderator
Hero Member
*
Posts: 1907


Me and my bitch


WWW
« Reply #15 on: May 31, 2011, 12:22:45 PM »

Does your checkout give a 404 with SEF off?
Logged

loppan
Newbie
*
Posts: 32


« Reply #16 on: May 31, 2011, 13:17:13 PM »

Does your checkout give a 404 with SEF off?

Hi forrest, thanks for your reply!

No, everything works perfect with SEF off.

Regards Peter
Logged
Forrest
Global Moderator
Hero Member
*
Posts: 1907


Me and my bitch


WWW
« Reply #17 on: May 31, 2011, 14:13:55 PM »

Please double-triple check that your site URL and secure URL match in the VM configuration under "Security" tab. The ONLY difference should be an "https" vs "http" if you are using SSL.

Second, turn OFF the cookie check under the VM configuration "Global" settings tab.
Logged

loppan
Newbie
*
Posts: 32


« Reply #18 on: May 31, 2011, 14:21:09 PM »

Please double-triple check that your site URL and secure URL match in the VM configuration under "Security" tab. The ONLY difference should be an "https" vs "http" if you are using SSL.
I'm not using SSL so the both URL's matches perfectly.

Second, turn OFF the cookie check under the VM configuration "Global" settings tab.
I disabled the cookie check.

Still error 404 Sad.
Logged
Forrest
Global Moderator
Hero Member
*
Posts: 1907


Me and my bitch


WWW
« Reply #19 on: May 31, 2011, 14:39:28 PM »

Ok, I was able to get it to fail, and I was able to get it to work.

PAY CLOSE ATTENTION TO YOUR URLS:
http://sister.catchall.stranger.fanzone.org/index.php/store?page=shop.cart

VS something like:
http://sister.catchall.stranger.fanzone.org/index.php?option=com_virtuemart&page=shop.cart&product_id=3&Itemid=67

Notice one of these URLs has "store?", and the other one is "index.php?"

What's happening is really 2 cart sessions are being created. I've seen this before a few times over, and usually this is an indication of a master/primary link issue!

Depending on how you are accessing the cart page, you'll be successful or fail in your checkout. I suggest you:
1. Turn off your SEF
2. Delete ALL your Joomla menu links to VM.
3. Start over and create one link in menu.
4. Clear cache, test with SEF off.
5. Turn on SEF and test again.

All else fails, ping me here again. And watch those URLS as your browse... they will give you a clue as to what is up!
« Last Edit: May 31, 2011, 20:24:21 PM by Forrest » Logged

loppan
Newbie
*
Posts: 32


« Reply #20 on: May 31, 2011, 15:24:57 PM »

Wow, I followed your steps and it seems to work now Smiley I'm amazed.

Thank you for your time Forrest. You just made me very happy Smiley

EDIT :

Hmmm, all of a sudden it does not work anymore...

This is my URL for showing cart :

http://sister.catchall.stranger.fanzone.org/index.php/store?page=shop.cart

When clicking "Checkout" it turns into this (and error 404)

http://sister.catchall.stranger.fanzone.org/store?page=checkout.index&ssl_redirect=1&option=com_virtuemart&Itemid=85

I can clearly see that the "index.php" right after ...fanzone.org is missing

However, if I add that, the link does not work anyway.

Strange, because I'm really sure it worked a while ago and I cannot remember I changed anything since then...

I've tried clearing the cache etc...

Hmmm! Difficult.
« Last Edit: May 31, 2011, 15:46:00 PM by loppan » Logged
Forrest
Global Moderator
Hero Member
*
Posts: 1907


Me and my bitch


WWW
« Reply #21 on: May 31, 2011, 20:22:11 PM »

Are you sure you are not creating, or have other links in any Joomla menu to the VM component? This is where the mix-up can happen (multiple links to vm component).

to add to this, my guess is you are creating more links to VM component, but not following the structure in your menu that would be expected by VM.
IE: The menu link to cart should be under the "Store" menu item... not at same level.
« Last Edit: May 31, 2011, 20:25:35 PM by Forrest » Logged

Pages: 1 [2]   Go Up
Print
Jump to: