VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: Lylene on November 24, 2008, 22:53:39 PM

Title: Itemid problem
Post by: Lylene on November 24, 2008, 22:53:39 PM
Hy,

I have a problem with URL in virtuemart : on certain pages of my website, the itemid of a product category shows up by mistake.
It happens also with breadcrumbs : instead of showing just like : home > good category > page, it shows : home > bad category > good category > page...

If I unpublish the category that is unproperly shown (like itemid 255), it's the next category that shows up (256) and that shows in breadcrumbs and URLs. I don't understand ...

The problem happens also on the URL link send for orders confirmation, like that :
http://mysite/index.php?option=com_...ls&order_id=21&Itemid=255
Breadcrumbs : home > bad category > good category > orders

- on all product pages
http://mysite/index.php?page=shop.p...om_virtuemart&Itemid=255&lang=fr
Breadcrumbs : home > bad category > good category > product page

I have assign multiple categories for a product (ex : toy at 15$ is in subcategory toys + less than 20$ stuffs) : could it be the problem ?


I've seen on forums that solutions, but it does not solve the problem in every cases :
in ps_session.php :
Replace : $_REQUEST['shopItemid'] = intval( $_REQUEST['Itemid'] );
by : $_REQUEST['shopItemid'] = $_REQUEST['Itemid'];


Thanks in advance for your help, I've been turning arround without finding solution ...

Lylene

Title: Re: Itemid problem
Post by: Lylene on November 25, 2008, 13:38:06 PM
plz help :)

have I post at the right place ?
Title: Re: Itemid problem
Post by: Lylene on November 25, 2008, 23:14:14 PM
no one ?
Title: Re: Itemid problem
Post by: jjk on November 26, 2008, 19:05:52 PM
Might be a SEO/SEF problem. Did you try to switch this off in Joomla Global Configuration?

If this doesn't help, you could try come up with a little better description of the problem, including i.e. Joomla and VM version information, installed extensions and perhaps a screenshot of the wrong breadcrumb...
Title: Re: Itemid problem
Post by: Lylene on November 27, 2008, 23:47:58 PM
hy
thanks for your answer !

About your questions :
- SEO/SEF is already disabled.
- joomla:1.5.8 & Virtuemart:1.1.2

You will find here a screenshot of the problem : wrong breadcrumb in a circle, and wrong itemid in the url in a circle too

concerning extension, I have regular virtuemart plugins-modules installed, which i have tuned for template perposes ...

Thanks for your help

Ask if you need more intel :)

Ed

[attachment cleanup by admin]
Title: Re: Itemid problem
Post by: jjk on November 28, 2008, 16:56:37 PM
From looking at your latest information, I don't know what actually goes wrong either. :-[

I can give you just one or two more hints:

1. The last item id (255)in your url probably belongs to a menu link, so something in your menu might have a setting that causes this trouble. You can check to which entry the item id belongs, if you search for it using phpmyadmin.

You could download a Firefox plugin called "Firebug" to inspect your page (shows the code of the element you point it to).

2. You seem to use Joom!Fish, which doesn't work without complications yet in combination with VirtueMart 1.1.2

Perhaps this thread leads to some more ideas:
http://forum.virtuemart.net/index.php?topic=46791.0 (http://forum.virtuemart.net/index.php?topic=46791.0)
Title: Re: Itemid problem
Post by: Lylene on December 13, 2008, 23:37:45 PM
hy

after testings and searching, i haven't been able to solve thing thing ...

concerning point 1, I've been using firebug, it says that (which i'm unable to translate :) ) :

<script src="http://toto.com/components/com_virtuemart/fetchscript.php?gzip=1&amp;subdir[0]=/themes/default_080909&amp;file[0]=theme.js&amp;subdir[1]=/js&amp;file[1]=sleight.js&amp;subdir[2]=/js/mootools&amp;file[2]=mootools-release-1.11.js&amp;subdir[3]=/js/mootools&amp;file[3]=mooPrompt.js&amp;subdir[4]=/js/slimbox/js&amp;file[4]=slimbox.js" type="text/javascript"></script>

is someone able to translate ?


Concerning point 2, i have uninstall joomfish, it did not do anything

thanks for your help again :)
Lylene
Title: Re: Itemid problem
Post by: karlitos on December 18, 2008, 16:23:45 PM
Hi Lylene,
I was also having trouble with that and this is the solution that worked for me, though I applied the code in a little different way to have it better organized.

http://www.vm-expert.com/index.php?option=com_content&view=article&id=62:use-joomla-menu-for-virtuemart&catid=36:virtuemartexpertblog&Itemid=72

Hope it works!
Title: Re: Itemid problem
Post by: Laurelle on February 25, 2009, 20:51:30 PM
Hi,

Have a look at this post, it is getting closer to solving the breadcrumb issue:
http://forum.virtuemart.net/index.php?topic=49585.new;topicseen#new (http://forum.virtuemart.net/index.php?topic=49585.new;topicseen#new).

Hope it helps you.