404 The requested product does not exist.

Started by BadReligion, January 16, 2013, 22:08:19 PM

Previous topic - Next topic

BadReligion

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!

PRO

do you have the "suffix" set to something in the vmart configuration?


No problems with any other links?


BadReligion

Suffix field in vm configuration is empty, other links work OK.

PRO

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?


BadReligion

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


PRO

I cant find the error when I go to that site


BadReligion

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.)

PRO

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

dfritz79

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.

BadReligion

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.

dfritz79

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.


franzpeter

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?

abcpune

Hi..

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

ABCPune

memos

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?

PRO

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?