VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: badgers on March 01, 2012, 23:35:47 PM

Title: Confirm Order Failure
Post by: badgers on March 01, 2012, 23:35:47 PM
Hello friends,

I receive this error when I confirm my order:

Warning: Missing argument 5 for vmPSPlugin::processConfirmedOrderPaymentResponse(), called in /home/content/29/8816229/html/plugins/vmpayment/standard/standard.php on line 148 and defined in /home/content/29/8816229/html/administrator/components/com_virtuemart/plugins/vmpsplugin.php on line 947

Warning: require_once(/home/content/29/8816229/html/libraries/tcpdf/tcpdf.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/29/8816229/html/components/com_virtuemart/controllers/invoice.php on line 191

Fatal error: require_once() [function.require]: Failed opening required '/home/content/29/8816229/html/libraries/tcpdf/tcpdf.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/29/8816229/html/components/com_virtuemart/controllers/invoice.php on line 191

I currently have Joomla 1.7.3 and VM 2.0.2

I always relied on VM in this past but I have been having a lot of troubles with it lately. Is there a fix for this problem?
Title: Re: Confirm Order Failure
Post by: badgers on March 02, 2012, 07:32:31 AM
anything?
Title: Re: Confirm Order Failure
Post by: jenkinhill on March 02, 2012, 12:58:29 PM
Maybe you have an older version of vmPSPlugin.php ?

The most recent version is in SVN.  http://forum.virtuemart.net/index.php?topic=96313.msg317392#msg317392

Also see http://forum.virtuemart.net/index.php?topic=96263.msg316640#msg316640 but not sure if that is related.

I have never seen that error with any of my multiple installs of VM2.0.x
Title: Re: Confirm Order Failure
Post by: badgers on March 02, 2012, 14:29:30 PM
I have verified that I have the current file.

It appears that all hope is lost. I don't know what else to do.
Title: Re: Confirm Order Failure
Post by: ipo on March 02, 2012, 17:54:44 PM
I have the exact same error. I'm running on joomla 2.5.1 and virtuemart 2.0.2.  The error appeared in the test site I set up with backup of my main shop, using Akeeba backup. I've used Akeeba kickstart to set up backup. I've tried downloading both invoice.php and vmpsplugin.php from SVN, but no success.
Title: Re: Confirm Order Failure
Post by: Milbo on March 03, 2012, 13:20:40 PM
The aio is not correct installed.

The plugins do not fit to the core. I think he updated the core, but not the plugins.
Title: Re: Confirm Order Failure
Post by: dwkoster on March 04, 2012, 01:48:39 AM
Hello badgers

i'm not a pro.
but i have  joomla 1.7.4 with VM 2.0.2.
And i had the exact same error log. Afther the update last week.

i just solft the issue by installing "com_virtuemart.2.0.2_ext_aio.zip"

http://virtuemart.net/component/ars/repository/virtuemart-2-aio/virtuemart-2-aio-2-0-2/com_virtuemart.2.0.2_ext_aio.zip

good luck

Title: Re: Confirm Order Failure
Post by: ipo on March 04, 2012, 11:40:28 AM
Thank you very much. Installing AIO 2.0.2 helped.

Cheers
Title: Re: Confirm Order Failure
Post by: badgers on March 05, 2012, 15:04:40 PM
Thank you very much. That worked!
Title: Re: Confirm Order Failure
Post by: Milbo on March 05, 2012, 16:47:31 PM
Hmm, yes we need a manual describing the stuff better. The aio "all in once" is meant for "All Extensions installed with one file". Virtuemart is now a lot more a real core architecture. VM1 was a full store and they make it extendable. Vm2 is a core which works almost not without some extensions. Similar to joomla.

So when there is an update, you must almost always install both, the core "com_virtuemart.2.0.3.zip" and also the aio "com_virtuemart.2.0.3_extract_first.zip".
Title: Re: Confirm Order Failure
Post by: MvdO on March 07, 2012, 16:40:57 PM
I'm probably asking for the obvious, but i can't find the solution. I have the same error message with my installation (joomla 2.5.1 and VM 2.0.2).

I've tried to update the AIO, but then i get "-1 - An Error appeared, unable to copy"  :-\  (freely translated from dutch).

Can some1 plz help me... I'm getting really desperate to get things working.

the url (test url): http://create-n-communicate.nl/aldoscreen/webshop/

THnx
Title: Re: Confirm Order Failure
Post by: MvdO on March 08, 2012, 11:49:52 AM
OK.  for now i've seen to have updated aio and customers can confirm their orders. Only in the confirmation screen (not the email) there's a warning:


Warning: Missing argument 5 for vmPSPlugin::processConfirmedOrderPaymentResponse(), called in /home/dacreate/domains/create-n-communicate.nl/public_html/aldoscreen/webshop/plugins/vmpayment/standard/standard.php on line 148 and defined in /home/dacreate/domains/create-n-communicate.nl/public_html/aldoscreen/webshop/administrator/components/com_virtuemart/plugins/vmpsplugin.php on line 947"

Underneath this warning there's the confirmation message and I do get confirmation mails for customer and shop owner.

How can I get rid of this?
Title: Re: Confirm Order Failure
Post by: alatak on March 08, 2012, 17:05:37 PM
Hi,

I have checked the code.
I think you have updated the component but NOT the one called com_virtuemart_aio.
Can you check that both have the same version?
Title: Re: Confirm Order Failure
Post by: Milbo on March 08, 2012, 17:46:31 PM
You can also extract the aio and copy the stuff manually with ftp and then use the button update tables in the aio
Title: Re: Confirm Order Failure
Post by: cocobolo on March 09, 2012, 20:17:41 PM
@MvdO :
You are Dutch, correct?
I had exactly the same problem today. And I fixed it :-)
Send me a private message and maybe I can walk you through it
Title: Re: Confirm Order Failure
Post by: alatak on March 09, 2012, 21:18:54 PM
Hi,

If you extract the AIO manually, and transfer via FTP be aware that you have to move some folders in the correct place:
1)  move the content of the folder "admin/librairies" in Joomla folder "librairies"
2)  move the content of the folder "admin/plugins" to "plugins" Joomla folder
3) move the content of the folder "admin/modules" to "modules" Joomla folder
Title: Re: Confirm Order Failure
Post by: Milbo on May 13, 2013, 13:15:24 PM
In case you get this problem again
Fatal error: Call to undefined method TCPDF::AliasNbPages() in .../www\j25\libraries\joomla\document\pdf\pdf.php on line 230

Maybe your version of tcpdf is not the correct one. Our new release 2.0.21+ will have a newer tcpdf version than provided on the JED.