[solved] authorizenet.php on error after update to 2.6.0a

Started by mbrando, May 21, 2014, 17:20:57 PM

Previous topic - Next topic

mbrando

Hello,

After updating to 2.6.0a I am getting the following error:

Quote[21-May-2014 07:29:21 America/Chicago] PHP Fatal error:  Call to undefined method stdClass::get() in /home/xxxx/public_html/plugins/vmpayment/authorizenet/authorizenet.php on line 740

When I look at Line 740 it is in the middle of a comment:

Quote/**

    * This is for adding the input data of the payment method to the cart, after selecting

    *

    * @author Valerie Isaksen

    *

    * @param VirtueMartCart $cart

    * @return null if payment not selected; true if card infos are correct; string containing the errors id cc is not valid

    */

I'm also see errors in my error_log file like this too:

Quote[21-May-2014 07:29:21 America/Chicago] PHP Notice:  Undefined property: stdClass::$shipment_logos in /home/xxxx/public_html/administrator/components/com_virtuemart/plugins/vmpsplugin.php on line 761

and this

Quote[20-May-2014 23:05:33 America/Chicago] PHP Notice:  Undefined property: stdClass::$asset2_type in /home/xxxx/public_html/administrator/components/com_awocoupon/helpers/estore/estorecouponhandler.php on line 1239

Any suggestions on where to start?

- Mike


[attachment cleanup by admin]
Reliable Web Hosting www.JIKOmetrix.net

GJC Web Design

#1
there is no get() in the std authorize.php v2.6.0a 


hard to say why that error reporting appears so wrong

did you update your AIO?  Are you CERTAIN both the comp and AIO really updated?

the other two errors you show are just notices - ignore - nothing to do with this
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

mbrando

Hi,

I'll try to manually update to 2.60a.

- Mike
Reliable Web Hosting www.JIKOmetrix.net

jenkinhill

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

mbrando

I was going to bu the download page said only 2.6.0a was the latest compatible with Joomla 2.5

- Mike
Reliable Web Hosting www.JIKOmetrix.net

mbrando

Quote from: GJC Web Design on May 21, 2014, 17:30:46 PM
there is no get() in the std authorize.php v2.6.0a 

or in e.g. 2.0.26d or in any VM file in 2.6.0 except as a jquery call

hard to say why that error reporting appears so wrong

did you update your AIO?  Are you CERTAIN both the comp and AIO really updated?

the other two errors you show are just notices - ignore - nothing to do with this

I manually installed both VM 2.6.0a and the AIO via extension manager. It is not correct the error. Upon testing I get a white screen after clicking the confirm order button.

- Mike
Reliable Web Hosting www.JIKOmetrix.net

mbrando

Quote from: jenkinhill on May 21, 2014, 17:59:07 PM
You may as well go to 2.6.2!

I took a leap and downloaded and installed the com_virtuemart.2.6.2.zip and com_virtuemart.2.6.2_ext_aio.zip

It appears to have corrected the Authorize,net white screen, however the AIO appears broken now. No table version data is displayed.

- Mike



[attachment cleanup by admin]
Reliable Web Hosting www.JIKOmetrix.net

mbrando

Hello,

Updates are failing too. When I look at Joomla updates it shows an error when trying to update paypal. see attached.

- Mike



[attachment cleanup by admin]
Reliable Web Hosting www.JIKOmetrix.net

GJC Web Design

I would manually re-install the AOI package from the Joomla installer
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

mbrando

Quote from: GJC Web Design on May 21, 2014, 21:45:50 PM
I would manually re-install the AOI package from the Joomla installer

I did and it had no effect.

- Mike
Reliable Web Hosting www.JIKOmetrix.net

GJC Web Design

hmm - wouldn't worry about the individual plugin updating - have never seen this for VM plugins b4 so assume they are testing this out in 2.6.2

I see a new copy of 2.6.2 went up at 21/05/2014 08:00 pm  tonite - 2 hours ago -- did you use this?

Is the file administrator/components/com_virtuemart_allinone/classes/tmpl/overview.php  complete?

When you view the source of administrator/index.php?option=com_virtuemart_allinone is the html there?

double hmm  - just d/l'd and extracted com_virtuemart.2.6.2_ext_aio.zip and the comp is very different from 2.6.1
e.g. no language, assets or classes folders and files - hard to see how it could work as a live updater... maybe the live update section of this has been dropped?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

mbrando

Hello,

Not sure how to tell which one I used. I downloaded it from here http://virtuemart.net/download around 10:25am CST.

This is all I have in my folder: /administrator/components/com_virtuemart_allinone See attached.

view the source of administrator/index.php?option=com_virtuemart_allinone, looks like HTML is missing.

<table>

<tr>
<td align="center">
<button onclick="javascript:confirmation('Update VM plugin tables', '/administrator/index.php?option=com_virtuemart_allinone&amp;task=updateDatabase&amp;eee1cd04fb25d1297ecf86942b13038f=1');">

Update VM plugin tables </button>
</td>
</tr>
</table>


- Mike

[attachment cleanup by admin]
Reliable Web Hosting www.JIKOmetrix.net

mbrando

Hello,

Also looked in the /administrator/components/com_virtuemart_allinone/admin.virtuemart_allinone.php file and it looks like the source I posted above.

<script type="text/javascript">
<!--
function confirmation(message, destnUrl) {
var answer = confirm(message);
if (answer) {
window.location = destnUrl;
}
}
//-->
</script>

<table>

<tr>
<td align="center">
<?php
VmConfig::loadConfig();
VmConfig::loadJLang('com_virtuemart');

?>

<?php $link=JROUTE::_('index.php?option=com_virtuemart_allinone&task=updateDatabase&'.JSession::getFormToken().'=1' ); ?>
<button onclick="javascript:confirmation('<?php echo addslashesJText::_('COM_VIRTUEMART_UPDATE_VMPLUGINTABLES') ); ?>', '<?php echo $link?>');">

<?php echo JText::_('COM_VIRTUEMART_UPDATE_VMPLUGINTABLES'); ?>
</button>
</td>
</tr>
</table>




- Mike
Reliable Web Hosting www.JIKOmetrix.net

GJC Web Design

looks to me that they have dropped the live updater  - I know it is planned to get rid of it in the Joomla s version coming soon

It definitely isn't there for comp or AOI in the test vm2.9's I have been using

I wouldn't worry about it - it appears that that menu is only going to be used to update any table changes - not update the plugins etc
this appears as if it will be shifted to the native joomla update process
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

Yes the live updater is gone and Joomla's updater will be used now.
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