News:

Support the VirtueMart project and become a member

Main Menu

VirtueMart 2.0.1

Started by pugwash94, February 04, 2012, 14:07:49 PM

Previous topic - Next topic

jenkinhill

VM2.0.2 works fine with Joomla 2.5.1's native SEF. Not with J1.5, though.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

jcyphert

That's what it was... I turned off SEF for 1.5.25 and the error went away.

penart

I have the same problem when upgrading an eshop from vm 1.1.9 to vm 2.0.2.  I have joomla 1.5. Go to your joomla site menu and edit the menu item that points out to your eshop.  The vm2  has various types for the menu, not only one Type = Virtuemart that the 1.1.9 had.  If you correct the type of your eshop menu item, this error message in the front - end goes away. 

Regards,
Penelope

smithy73

Penelope,

Could you clarify something for me ?
Are you saying that in the Joomla Global Configuration you have Search Engine Friendly URLs set to YES and you are not getting errors in the front end ?
And of the 18 odd Virtuemart menu configurations - which one are you using ?

Many Thanks

ScooterStrick

 :o Yes, I too turned off SEF in Joomla and errors went away. I tried every possible work-around between Joom SEF and VirtMart SEO.. to no avail.
Is so wierd that it all worked fine for a week with pretty URL's !

Any ideas? Would really get back to SEF URL's or what is the purpose of it in the first place!

:'(

Poiter

I had the same error. Joomla 1.5 and VM 2.0.6 and the solution of penart works for me.
You have a lot of different menu choises and you have to choose the latest one. VirtueMart - VirtueMart Front page

idolism

#21
Hi there guys!

I found how to fix that error. It is really simple, just somebody has to read it.

Open menu.php and find line 127. Add quotes to $id just as it is shown below:

if (isset($this->_items["$id"]))

It works perfect for me.

I really don't know php much, but from another forum they spoke about the same error and I saw a reference to this page http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing and decided to read it.

Hope this helps :)

luizarios

Using Joomla 1.5.2 and VirtueMart 2.0.6 and had same problem, the message appeared if I marked Search Engine Friendly URLs (from the Global Configuration) to Yes and if I marked as NO then the error message would disappear. Here what I did:


  • on Global Configuration marked Search Engine Friendly URLs to NO and Use Apach mod_rewrite to NO too
  • Installed AceSEF
  • On the website root (the main folder), I renamed htaccess.txt to .htaccess
  • Went back to global configuration and marked Search Engine Friendly URLs as YES and Use Apache mod_rewrite as YES
Now it works, not sure if installing AceSEF made any diffrence and in fact I didn't install it to fix it but it did fix so I guess you guys could have a go and see if it works, the program is free and you can find here: http://extensions.joomla.org/extensions/site-management/sef/10019?qh=YTo2OntpOjA7czozOiJhY2UiO2k6MTtzOjI6ImFjIjtpOjI7czozOiJzZWYiO2k6MztzOjQ6InNlZnMiO2k6NDtzOjU6InNlZicuIjtpOjU7czo3OiJhY2Ugc2VmIjt9

Hope it works for you guys too. Best of luck :)

dezziner

Thankyou smithy73 your suggestion work for me. turn off the seo friendly url.

doc_denis

Hi, thank idolism for this solution, this ok for me on joomla 1.5.28 and VM 2.0.12f
in french ...my language
Merci pour votre solution qui fonctionne très pour ma config joomla 1.5.28 and VM 2.0.12f
ainsi, je garde SEF activé.

Quote from: idolism on June 20, 2012, 08:55:08 AM
Hi there guys!

I found how to fix that error. It is really simple, just somebody has to read it.

Open menu.php and find line 127. Add quotes to $id just as it is shown below:

if (isset($this->_items["$id"]))

It works perfect for me.

I really don't know php much, but from another forum they spoke about the same error and I saw a reference to this page http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing and decided to read it.

Hope this helps :)

SPWKits

Quote from: idolism on June 20, 2012, 08:55:08 AM
Hi there guys!

I found how to fix that error. It is really simple, just somebody has to read it.

Open menu.php and find line 127. Add quotes to $id just as it is shown below:

if (isset($this->_items["$id"]))

It works perfect for me.

I really don't know php much, but from another forum they spoke about the same error and I saw a reference to this page http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing and decided to read it.

Hope this helps :)


Thank you sooo much! You were absolutely correct. I am using Joomla 1.5 and VM 2.08e and this fixed the problem completely for me.

octoberx

#26
Quote from: idolism on June 20, 2012, 08:55:08 AM
Hi there guys!

I found how to fix that error. It is really simple, just somebody has to read it.

Open menu.php and find line 127. Add quotes to $id just as it is shown below:

if (isset($this->_items["$id"]))

It works perfect for me.

I really don't know php much, but from another forum they spoke about the same error and I saw a reference to this page http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing and decided to read it.

Hope this helps :)
Thanks, it's the solution! 8)
Joomla 1.5 / VM 2.20 - wamp server and php 5.3

jenkinhill

Just a note, Joomla 1.5 compatibility is no longer actively supported.  http://virtuemart.net/news/list-all-news/426-end-of-life-for-virtuemart-11-heidelpay-now-in-virtuemart-2012
"We decided to declare now the end of life for VirtueMart 1.1, and that the version 2 of VirtueMart is not any longer maintaining joomla 1.5 compatibility." 4 October 2012
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum