Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

After upgrade cannot edit invoices management
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1
  • 2

TOPIC: After upgrade cannot edit invoices management

After upgrade cannot edit invoices management 11 years, 12 months ago #35351

I cannot edit any invoice or create someone...

When i do it i becomes a white page and nothing happens.

I put server debugging level in maximum so i see whats wrong.

i become the white page whit this message:

Fatal error: Cannot pass parameter 2 by reference in /var/www/web120648/html/ticketstore/administrator/components/com_vminvoice/tables/vm2orderuserinfo.php on line 76

I try to deactivate this line but it come the same error.

What should i do?

thank you in advance
Last Edit: 11 years, 12 months ago by soylatino.
The topic has been locked.

Re: After upgrade cannot edit invoices management 11 years, 11 months ago #35431

I have exactly the same problem after I updated to VM 2.0.16....

We urgent need an update of vminvoice!!!

Thank you in advance
The topic has been locked.

Re: After upgrade cannot edit invoices management 11 years, 11 months ago #35460

Hello,

Just install VM Invoice and got the same error:

$WEB_HOME/administrator/components/com_vminvoice/tables/vm2orderuserinfo.php on line 76, referer: $WEB_HOME/administrator/index.php?option=com_vminvoice&controller=invoices&task=editOrder&cid=14

Joomla! Version Joomla! 2.5.7 Stable [ Ember ] 13-September-2012 14:00 GMT
Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
Virtuemart 2.0.16
The topic has been locked.

Re: After upgrade cannot edit invoices management 11 years, 11 months ago #35465

Six days and no answer at all... good support

It because of VirtueMartModelUserfields::prepareFieldDataSave :

prior to version 16 it's looks like
public function prepareFieldDataSave($fieldType, $fieldName, $value, &$post,$params)

now it's:
public function prepareFieldDataSave($field, &$data)

I do not know VirtueMart and VM Invoice inside, so I fixed like this:
$JOOMLA_HOME/administrator/components/com_vminvoice/tables/vm2orderuserinfo.php
string 76
$data[$requestPrefix.$varname] = VirtueMartModelUserfields::prepareFieldDataSave($userfieldType,$requestPrefix.$varname,$data[$requestPrefix.$varname],$data,$params);}

replaced with this two lines:
$val = array("$requestPrefix.$varname" => $data[$requestPrefix.$varname]);
$data[$requestPrefix.$varname] = VirtueMartModelUserfields::prepareFieldDataSave((object)array("type" => $userfieldType, "name" => $requestPrefix.$varname, "params" => $params), $val );}
Last Edit: 11 years, 11 months ago by rapitoz.
The topic has been locked.

Re: After upgrade cannot edit invoices management 11 years, 11 months ago #35502

I have the same problem, used the code to above to fix but if i make an order in the admin it only fils in the email address . Now if i look from the client view in the front-end the order is there but only with the email and no other client info(name ,address ex..)

Im also on VM 2.0.16 (joom 2.5.8) and this is my first day using this add-on and still hoping it will work.
The topic has been locked.

Re: After upgrade cannot edit invoices management 11 years, 11 months ago #35503

Dear rapitoz!

You save my day!!! Everything is ok now!

it could not be possible that we have to make brainstorming cause the support doesnt help us.
very bad. anyways

So i can confirm it works with this modification.
have a nice day
The topic has been locked.
  • Page:
  • 1
  • 2
User Login Empty