VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: jahn on January 26, 2008, 11:50:14 AM

Title: [FIXED] error on checkout
Post by: jahn on January 26, 2008, 11:50:14 AM
Hello, i dont know since which release of svn, but today i test a full orderring of products, so i get this error:

Fatal error: Class 'mosContent' not found in ........./administrator/components/com_virtuemart/classes/ps_checkout.php on line 1750

Please Check

Thanks Jahn
Title: Re: error on checkout
Post by: jenkinhill on January 26, 2008, 13:10:39 PM
Please use the latest nightly and check again.

http://forum.virtuemart.net/index.php?topic=31381.0

Also when reporting issues can you give details of Joomla! version, database and PHP versions.
Title: Re: error on checkout
Post by: jahn on January 26, 2008, 13:18:38 PM
hello,

im sorry...

i have test with vm 1.1beta 2 svn rel. 1190.
Joomla SVN --> stable.
I use Virtuemart native in joomla without legacy plugin.
Php 5.2.4
Apache/1.3.33 (Unix)

greetings jahn
Title: Re: error on checkout
Post by: aravot on January 26, 2008, 20:56:13 PM
In which step of checkout do you get this message, what payment method and shipping method you have?
Title: Re: error on checkout
Post by: jahn on January 26, 2008, 22:28:48 PM
on the last step, the error message come instead of theconfirm message.
i use the standard shipping modul. it is with all payment methods.

i have found out that this error occurs only in native method with disabled legacy mode.

greetings jahn
Title: Re: error on checkout
Post by: aravot on January 26, 2008, 22:37:04 PM
Have you created a return policy link to joomla content item.
Title: Re: error on checkout
Post by: jahn on January 26, 2008, 22:38:53 PM
sorry but i dont know how can i make something like this, also i dont know what it is,
greeting jahn
Title: Re: error on checkout
Post by: aravot on January 26, 2008, 22:41:39 PM
I don't get that error, I have to search a bit more.
Title: Re: error on checkout
Post by: jahn on January 26, 2008, 22:42:41 PM
it is only in native version with disabled legacy plugin.
Title: Re: [CAN NOT REPLICATE] error on checkout
Post by: jahn on March 01, 2008, 16:52:09 PM
hello,

this error is not fixed, so if i change the legacy plugin off the error occurs.
Have anyone a idea?

now i use the actually version rel. 1283 and now it is line 1753 of ps_checkout.php

thanks jahn
Title: Re: [CAN NOT REPLICATE] error on checkout
Post by: mauri on March 01, 2008, 21:53:05 PM
Quote from: jahn on March 01, 2008, 16:52:09 PM
hello,

this error is not fixed, so if i change the legacy plugin off the error occurs.
Have anyone a idea?

now i use the actually version rel. 1283 and now it is line 1753 of ps_checkout.php

thanks jahn
I confirm that.
When you select in VM Configuration-Global tab these two:
1. Show information about "Return Policy" on the order confirmation page?
2. Long version of the return policy (link to a content item)
And J! legacy plugin is disabled unpublished.

I think the class mosContent is in Joomla! /plugins/system/legacy/content.php file. If legacy plugin is disabled unpublished, it (line 1753 of ps_checkout.php) cant find that class mosContent.

VM 1.1.0 version rel. 1283
J! 1.5.1

Edit: Not disbled, unpublished.
Title: Re: [CAN NOT REPLICATE] error on checkout
Post by: jahn on March 02, 2008, 12:27:21 PM
Thank you for confirmation, i have add it to the bug tracker.

thanks jahn
Title: Re: [CAN NOT REPLICATE] error on checkout
Post by: jahn on March 02, 2008, 12:50:03 PM
Hello,

i think its fixed in SVN rel. 1284.

thanks jahn
Title: Re: [CAN NOT REPLICATE] error on checkout
Post by: mauri on March 02, 2008, 13:45:13 PM
Quote from: jahn on March 02, 2008, 12:50:03 PM
Hello,

i think its fixed in SVN rel. 1284.

thanks jahn
The dev team is quickly  ;D
Rel 1284, the function dont call class mosContent anymore. Function gets article from db.
You can rename this thread FIXED.