• Home
  • Get help
  • Ask a question
Last post 17 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67848
All time tickets 10485
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#64 – erroor com_sh404sef/sef_ext/com_virtuemart.php on line 60

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Monday, 13 April 2015 19:16 UTC
[email protected]
 hi
Please see the picture below :


error :

Notice: Undefined variable: Itemid in /home/sanjeshe/public_html/joomla4/components/com_sh404sef/sef_ext/com_virtuemart.php on line 60

Notice: Undefined variable: Itemid in /home/sanjeshe/public_html/joomla4/components/com_sh404sef/sef_ext/com_virtuemart.php on line 60

Notice: Undefined variable: Itemid in /home/sanjeshe/public_html/joomla4/components/com_sh404sef/sef_ext/com_virtuemart.php on line 60

Notice: Undefined variable: Itemid in /home/sanjeshe/public_html/joomla4/components/com_sh404sef/sef_ext/com_virtuemart.php on line 60

Notice: Undefined variable: Itemid in /home/sanjeshe/public_html/joomla4/components/com_sh404sef/sef_ext/com_virtuemart.php on line 60


Please help me fix this problem

my sh404sef ver 4.4.8.2409

my vm ver 3.0.6.2
Tuesday, 14 April 2015 07:57 UTC
wb_weeblr
Hi

This would only appear if you do not have set a menu item for your Virtuemart shop. Is that the case?

Rgds
 
Tuesday, 14 April 2015 08:25 UTC
[email protected]
hi
i have set virtuemart menu items in the joomla menu manager, is that correct?
if i'm wrong, please help me how to set it.

thx.
Tuesday, 14 April 2015 08:52 UTC
wb_weeblr
No, if you have set an Itemid for Virtuemart, it's good.

What is the page tha shows this error? Can you provide the NON-SEF url for it? ie index.php?option=com_xxxx?

Rgds
 
Tuesday, 14 April 2015 10:25 UTC
[email protected]
orginal link : link

non-sef url :There are many error in the vm

index.php?option=com_virtuemart&lang=fa&limitstart=0&view=category&virtuemart_category_id=48
Tuesday, 14 April 2015 10:32 UTC
wb_weeblr
Well that link doesn't have any Itemid. Wonder how that is possible.

Do you have the same URL in the database, but this time with an Itemid?

Rgds
 
Tuesday, 14 April 2015 10:42 UTC
[email protected]
hi

this link have 3 item in the site and sh404sef url maneger

Do you need to access the admin site hosting?

This error is within a product
Error will be displayed in all categories !!

I think the problem is not in the database

Tuesday, 14 April 2015 10:50 UTC
wb_weeblr
I can see on this screenshot that Itemid has a problem somewhere. You get plenty of duplicates URL for this page: https://weeblr.com/images/screenshots/EUZkuCN9nm15wMNP2vHpq8JdJvjBAd.png

If I access the site admin, can you change the language to english first? I'm sorry but I cannot handle your current language!

Rgds
 
Tuesday, 14 April 2015 11:16 UTC
[email protected]
hi

my cpanel :

user :

xxxx

pass :

xxxx

===================
administrator joomla

user : xxxx

pass : xxxx

joomla administrator lang = en

tnq
Tuesday, 14 April 2015 11:17 UTC
[email protected]
im sorry

url : http://www.xxxx.com/administrator/

cpanel : xxxx.com:2082

Tuesday, 14 April 2015 11:55 UTC
wb_weeblr
Hi

I have connected to your site, and did the following:

1 - I went to Joomla language manager, under the "Content" section, and I unpublished the English language content. Unless your site is bilingual, you only need to publish one language there

This was causing an issue with the language code in the URL not being correct

2 - I purged all urls in sh404SEF. You had hundreds of duplciate URLs
3 - I visited the front-end homepage, and visited a few pages, included some products. I couldn't see the error anymore, but I'm not sure, because I cannot read which products you were showing specifically in your first screenshot

4 - When the URLs are re-created now, I notice they have the html suffix. Is that what you want? If not, you must change sh404sef configuration: remove the suffix, then purge URLs again.

Hope this helps

let me know

rgds

 
Tuesday, 14 April 2015 12:11 UTC
[email protected]
How to return my settings?
Because I have changed a lot of links

how remove html sufix ? I can not find the settings !

Tuesday, 14 April 2015 14:59 UTC
wb_weeblr
Hi,

If you changed them manually, they are preserved when URLs are purged.
Changing the html setting is done in basic sh404SEF config: https://weeblr.com/images/screenshots/6kOd7GEFwODYF0cr8jR04lczwKvSls.png
How did you do it the first time???

Rgds
 
Tuesday, 14 April 2015 16:24 UTC
[email protected]
tanx

how i can set ".html" for all items link except all VM related items like "menu" and "products"
Tuesday, 14 April 2015 16:37 UTC
wb_weeblr
Hi

You cant'. "html" suffix is just like in Joomla; it's a global setting, not per item.
Why would you want to keep the "html" suffix? Do you have to keep old existing URLs from a previous site?

Rgds
 
Tuesday, 14 April 2015 17:41 UTC
[email protected]
hi

The main page url is: xxxx.com
you can view all addresses on main page link, sadly after removing links some links removed or has not any ".html"!!!
healthy links in orginal version of website has ".html" and some of them has not this issue makes some problem with registering/submiting links on google and seo problems too!!!
Tuesday, 14 April 2015 18:05 UTC
wb_weeblr
Well I can see that some links have .html and some other don't. I'm not sure how this was done in the past.

But with sh404SEF, the ".html" suffix is the same for all components, it's global. I don't know how you can remove it from the other links, unless you do it by hand, which is a huge work I think.

Rgds
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.