Menu Content

Support

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

Virtuemart extension giving 404 error
(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: Virtuemart extension giving 404 error

Virtuemart extension giving 404 error 15 years, 5 months ago #7307

  • MUNGO
  • OFFLINE
  • Posts: 12
Hi guys,

I have installed the Virtuemart extension, but unfortunately it's not working.

I am getting a 404 error when I click on the menu. I don't know why it's doign this, but have noticed:

In Joomla, the Online shop menu link is configured as:
index.php?option=com_virtuemart

When I click on the Online Shop menu item though, it takes me to:
www.plixer.com.au/index.php?Itemid=2&option=
- and this doesn't work.

It looks to me like its rewriting the Online Shop URL - to one which isn't working.


If I go directly to this link, all works:
www.plixer.com.au/index.php?option=com_virtuemart
(however, I'm not convinced SEF URLs are actually working for the shop).

For example, here's one of the items I can get to by going direct:
www.plixer.com.au/index.php?option=com_v...temid=2&TreeId=1

- as you can see it's not a very nice URL - has this been rewritten?

Thanks,Mark
The topic has been locked.

Re:Virtuemart extension giving 404 error 15 years, 5 months ago #7316

  • jaku
Dear Mark,

this does not seem you would have URL rewrting activated at all. Please, check the installation steps as described in documentation.
(most likely, your other URLs, e.g. for com_content component are also not rewritten?)
The topic has been locked.

Re:Virtuemart extension giving 404 error 15 years, 5 months ago #7328

  • MUNGO
  • OFFLINE
  • Posts: 12
Hi Jan,

Thanks for the reply. The URLS are being rewritten for the main site:

eg:
www.plixer.com.au/index.php/scrutinizer-overview

Interesting after reinstalling, I got the URL below:
www.plixer.com.au/index.php/component/virtuemart/?vmcchk=1


- that worked, but didn't when I went back and clicked on the menu option for virtuemart.

Basically, I still have the issue. Does SEF URLS need to be switched on for Virtuemart individually? The Vituemart component installed without error incidently,

thanks,
Mark
The topic has been locked.

Re:Virtuemart extension giving 404 error 15 years, 5 months ago #7331

  • MUNGO
  • OFFLINE
  • Posts: 12
Hi,

A small further update. When configuring the menu option for the online shop, I picked virtumart - and joomla then automatically fills in the URL as follows:

www.plixer.com.au/index.php?Itemid=2&option=

- this doesn't work


I then created a new menu item for the following URL, which does work:
www.plixer.com.au/index.php/component/virtuemart/?vmcchk=1
- this looks more like it.

When I then go into one of the products, I get this URL:
www.plixer.com.au/index.php?option=com_v...temid=2&TreeId=1

- this doesn't look right (to me anyway)

Any thoughts?

thanks.,
Mark
The topic has been locked.

Re:Virtuemart extension giving 404 error 15 years, 5 months ago #7339

  • jaku
Hello,

if you see index.php in the URLs, that means JoomSEF is not enabled or working correcly!
Male sure you have all SEO options ON in your Joomla configuration. (specially the one that says, use .htaccess file).
The topic has been locked.

Re:Virtuemart extension giving 404 error 15 years, 5 months ago #7357

  • MUNGO
  • OFFLINE
  • Posts: 12
Hi Jan,

Thanks for the feedback.

Here's the .htaccess file below.

I can't find anywhere in the main configuration options in Joomla to force it to use a .htaccess file. Could it be called something else? I have SEF URLS enabled in the Joomla main configuration and under the Artio component menu.

Also, the SEF URLs are working for the main site - just not when I access the virtuemart pages...

thanks,
Mark


##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##

#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

## Can be commented out if causes errors, see notes above.
# Options +FollowSymLinks

#
# mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

# RewriteBase /
RewriteCond %{HTTP_HOST} ^plixer.com.au$
RewriteRule ^.*$ "http\:\/\/www\.plixer\.com\.au" [R=301,L]

RewriteCond %{HTTP_HOST} ^plixer.co.nz$
RewriteRule ^.*$ "http\:\/\/www\.plixer\.co\.nz" [R=301,L]
The topic has been locked.
  • Page:
  • 1
  • 2
User Login Empty