VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: BadReligion on January 16, 2013, 22:08:19 PM

Title: 404 The requested product does not exist.
Post by: BadReligion on January 16, 2013, 22:08:19 PM
Hello,

i'm using joomla 2.5.8 and virtuemart 2.0.18a and i'm having the following problem:

when joomla SEF URLs are OFF everything is working OK, but when i enable joomla SEF URLs then I can't access product detail page. I get the following error message: 404 The requested product does not exist.

Does anyone have any suggestin how to fix his problem?


Thanks in advance!
Title: Re: 404 The requested product does not exist.
Post by: PRO on January 16, 2013, 23:06:23 PM
do you have the "suffix" set to something in the vmart configuration?


No problems with any other links?

Title: Re: 404 The requested product does not exist.
Post by: BadReligion on January 16, 2013, 23:12:55 PM
Suffix field in vm configuration is empty, other links work OK.
Title: Re: 404 The requested product does not exist.
Post by: PRO on January 16, 2013, 23:33:36 PM
Quote from: BadReligion on January 16, 2013, 23:12:55 PM
Suffix field in vm configuration is empty, other links work OK.

have you tried with teh suffix?

Title: Re: 404 The requested product does not exist.
Post by: BadReligion on January 16, 2013, 23:48:37 PM
I have disabeled suffix in joomla configuration and tried with different suffixes in VM configuration (I tried with .html and -default)

There is no error message, but when I clink on link to product details nothig seems to happen.


Btw I noticed that all joomla pages are in SEF mode except the link poiting from category list to single vm category.

The page url is www.nasitki.com (it is in test phase)

Link pointing to VM categories is in SEF (http://www.nasitki.com/virtuemart), but if you click on a category the link doesn' became http://www.nasitki.com/virtuemart/category name but something like this instead:

http://www.nasitki.com/index.php?option=com_virtuemart

Title: Re: 404 The requested product does not exist.
Post by: PRO on January 17, 2013, 14:15:55 PM
I cant find the error when I go to that site

Title: Re: 404 The requested product does not exist.
Post by: BadReligion on January 17, 2013, 20:26:36 PM
Hello,
I made a new installation of VM. If the default language is set to english everything works like a charm but if I use different language as default language the same problem occurs (404 The requested product does not exist.)
Title: Re: 404 The requested product does not exist.
Post by: PRO on January 18, 2013, 19:42:14 PM
WHEN you enable MULTI language

YOU have to fill out the information for each category & product for that language.

It also creates an "alias" that used for links
Title: Re: 404 The requested product does not exist.
Post by: dfritz79 on February 10, 2013, 17:27:49 PM
Hello,

I have the same problem but do not find a solution. I tried with multi languages and everythink works fine expect the click on product details. I get a "404 Das gesuchte Produkt existiert nicht" in German. German is my default language. If I disable SEO "Searchengine URL" every works. I tried to give every categorie and product input for the fields but this also did not solve the problems. Any hints - I am sure I can be so difficult :-/

Thank you for you help.
Title: Re: 404 The requested product does not exist.
Post by: BadReligion on February 10, 2013, 17:43:25 PM
If you let's say create several products in vm and the default language is set to english and the change the default language to your native language (which is other than english) the problem described above occurs.

If you don't need the multilanguage store, export the products with csvi, change the default language to your desired language and import the exported products with csvi. that method worked perfectly fine ofr me.
Title: Re: 404 The requested product does not exist.
Post by: dfritz79 on February 10, 2013, 18:46:59 PM
Hi,

thank you for your fast reply. I think my problem is a little bit diffrent but it seams that I found the problem.

I enabled debuging and find out that the SQL select get wrong because the variable VMLANG is not set. So the correct result is not delievered back.

500 - JDatabaseMySQLi::query: 1146 - Table 'reisesim.fvu03_virtuemart_categories_VMLANG' doesn't exist SQL=SELECT `virtuemart_category_id` FROM `fvu03_virtuemart_categories_VMLANG` WHERE `slug` LIKE 'blablabla'

Is this normal ? I think there must be de_de or en_en instead of VMLANG.

Title: Re: 404 The requested product does not exist.
Post by: franzpeter on February 11, 2013, 11:37:00 AM
It may have something to do with a wrong configuration file. There should be some tables like product, manufacturer, category or order with _de_de or _en_en. VMLANG is just the variable name which is called to show the selected language.

So the table name should be: reisesim.fvu03_virtuemart_categories_en_en or if a second language there should be a second table like:
reisesim.fvu03_virtuemart_categories_de_de.
If it only shows VMLANG the VMLANG variable does not find any language table. You can take a look into the mysql database with phpmyadmin to see if there are language tables. If there are tables, it must be a configuration error in Virtuemart, else somthing went wrong with the installation. By the way, does VM use mysqli or mysql?
Title: Re: 404 The requested product does not exist.
Post by: abcpune on February 12, 2013, 10:45:05 AM
Hi..

I was also having the same problem earlier. But automatically that is fixed.

ABCPune
Title: Re: 404 The requested product does not exist.
Post by: memos on July 30, 2013, 13:36:48 PM
Hello,i have  move  the site on an other server,if i disable joomla friendly url everything is ok,if i turn it to yes, i can't access products ,it show me 404 The requested product does not exist.

Has anyone solve this?
Title: Re: 404 The requested product does not exist.
Post by: PRO on July 30, 2013, 18:18:40 PM
Quote from: memos on July 30, 2013, 13:36:48 PM
Hello,i have  move  the site on an other server,if i disable joomla friendly url everything is ok,if i turn it to yes, i can't access products ,it show me 404 The requested product does not exist.

Has anyone solve this?

sounds like an htaccess problem


Usually it just needs to be updated.

How did you move the site?

Title: Re: 404 The requested product does not exist.
Post by: memos on July 31, 2013, 11:52:07 AM
How do i update it manually?

I move the files and the database manually through Cpanel.
The site was moved because it was needed to change the domain name.
Title: Re: 404 The requested product does not exist.
Post by: Maxim Pishnyak on July 31, 2013, 14:57:18 PM
Correct content for .htaccess could be taken from the file with the name htaccess.txt in standard Joomla 2.5 installation package.
Title: Re: 404 The requested product does not exist.
Post by: memos on August 01, 2013, 15:30:43 PM
Thank you,now is working!