Author Topic: 404 The requested product does not exist.  (Read 4153 times)

BadReligion

  • Beginner
  • *
  • Posts: 9
404 The requested product does not exist.
« 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!

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 9891
Re: 404 The requested product does not exist.
« Reply #1 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?

"Banquet Tables Pro"
I do NOT do development work for hire.
My Custom Field Plugin Now with =Price
http://forum.virtuemart.net/index.php?topic=99678
My Shipping Plugin
http://forum.virtuemart.net/index.php?topic=100630.0

BadReligion

  • Beginner
  • *
  • Posts: 9
Re: 404 The requested product does not exist.
« Reply #2 on: January 16, 2013, 23:12:55 pm »
Suffix field in vm configuration is empty, other links work OK.

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 9891
Re: 404 The requested product does not exist.
« Reply #3 on: January 16, 2013, 23:33:36 pm »
Suffix field in vm configuration is empty, other links work OK.

have you tried with teh suffix?

"Banquet Tables Pro"
I do NOT do development work for hire.
My Custom Field Plugin Now with =Price
http://forum.virtuemart.net/index.php?topic=99678
My Shipping Plugin
http://forum.virtuemart.net/index.php?topic=100630.0

BadReligion

  • Beginner
  • *
  • Posts: 9
Re: 404 The requested product does not exist.
« Reply #4 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


PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 9891
Re: 404 The requested product does not exist.
« Reply #5 on: January 17, 2013, 14:15:55 pm »
I cant find the error when I go to that site

"Banquet Tables Pro"
I do NOT do development work for hire.
My Custom Field Plugin Now with =Price
http://forum.virtuemart.net/index.php?topic=99678
My Shipping Plugin
http://forum.virtuemart.net/index.php?topic=100630.0

BadReligion

  • Beginner
  • *
  • Posts: 9
Re: 404 The requested product does not exist.
« Reply #6 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.)

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 9891
Re: 404 The requested product does not exist.
« Reply #7 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
"Banquet Tables Pro"
I do NOT do development work for hire.
My Custom Field Plugin Now with =Price
http://forum.virtuemart.net/index.php?topic=99678
My Shipping Plugin
http://forum.virtuemart.net/index.php?topic=100630.0

dfritz79

  • Beginner
  • *
  • Posts: 4
Re: 404 The requested product does not exist.
« Reply #8 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.

BadReligion

  • Beginner
  • *
  • Posts: 9
Re: 404 The requested product does not exist.
« Reply #9 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.

dfritz79

  • Beginner
  • *
  • Posts: 4
Re: 404 The requested product does not exist.
« Reply #10 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.

Code: [Select]
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

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 398
    • 2in1-online | Software, Mac, PC, Netzwerk, Drucker, Pad, Display
  • VirtueMart Version: Virtuemart 2.0.26d
Re: 404 The requested product does not exist.
« Reply #11 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?

abcpune

  • Beginner
  • *
  • Posts: 4
Re: 404 The requested product does not exist.
« Reply #12 on: February 12, 2013, 10:45:05 am »
Hi..

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

ABCPune

memos

  • Beginner
  • *
  • Posts: 6
Re: 404 The requested product does not exist.
« Reply #13 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?

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 9891
Re: 404 The requested product does not exist.
« Reply #14 on: July 30, 2013, 18:18:40 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?

"Banquet Tables Pro"
I do NOT do development work for hire.
My Custom Field Plugin Now with =Price
http://forum.virtuemart.net/index.php?topic=99678
My Shipping Plugin
http://forum.virtuemart.net/index.php?topic=100630.0

VirtueMart Forum

Re: 404 The requested product does not exist.
« Reply #14 on: July 30, 2013, 18:18:40 pm »