News:

Support the VirtueMart project and become a member

Main Menu

Backend Orders Display - buttons not working

Started by austega, April 24, 2016, 05:57:24 AM

Previous topic - Next topic

austega

Our shop manager reported that, with no apparent or known trigger, the Save button at the top of the backend Virtuemart | Shop | Orders screen was no longer effecting a save but was instead taking the user to the site backend home screen. On testing it appears all buttons at the top of this screen (including searching and resetting the filter) have the same behaviour. This does not appear to be repeated on any other VM backend screens.

Changing a order status by opening up an order's details by clicking on the order number and then changing the order status is succesful, so the issue seems related solely to button behaviour on this order display screen.

This was discovered on the live site sag.org.au with J3.4.8, VM 3.0.9, PHP 5.4.45, Isis admin template, and Rockettheme Gantry 5/Callisto site template, but the behaviour is repeating on a new mirror test.sag.org.au site even after upgrading to J3.5.1 and VM 3.0.16. Changing the admin template to Hathor did not resolve the problem.

Akeeba Admin Tools Pro is installed on both sites. Renaming (disabling) the .htaccess file did not solve the issue. Turning on Firebug in Firefox did not identify any culprits in the Network tab. Nor did Chrome Development tools in Chrome, but I am relatively inexperienced with both tools. VM forum and general internet search has not discovered any matching symptoms and I have tried the general suggestions I found (as listed above).

I am not sure if this is relevant or what it means but turning on Debug and Maximal error reporting on test.sag.org.au and displaying the backend Order list shows the following looping errors:

Results 1 - 200 of 3419

Notice: Undefined property: stdClass::$order_create_invoice_pass in /home/sagorg/public_html/test/administrator/components/com_virtuemart/views/orders/view.html.php on line 279

Notice: Undefined property: stdClass::$order_create_invoice_pass in /home/sagorg/public_html/test/administrator/components/com_virtuemart/views/orders/view.html.php on line 287

Notice: Undefined property: stdClass::$order_create_invoice_pass in /home/sagorg/public_html/test/administrator/components/com_virtuemart/views/orders/view.html.php on line 279

Notice: Undefined property: stdClass::$order_create_invoice_pass in /home/sagorg/public_html/test/administrator/components/com_virtuemart/views/orders/view.html.php on line 287

Notice: Undefined property: stdClass::$order_create_invoice_pass in /home/sagorg/public_html/test/administrator/components/com_virtuemart/views/orders/view.html.php on line 279

Notice: Undefined property: stdClass::$order_create_invoice_pass in /home/sagorg/public_html/test/administrator/components/com_virtuemart/views/orders/view.html.php on line 287...


What should I do next? Suggestions gratefully received!


GJC Web Design

as the buttons are all Javascript based have u checked the console for any JS errors?
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

austega

Thanks for your reply GKJ.

Pls don't assume I am confidently (or competently) doing what I think you asked, but I don't think there are any JS errors displayed.

In firefox, when I try updating an order status using the update button - and the browser loads the backend home page instead - the Firebug Console JS tab reports:
--
Empty string passed to getElementById(). jquery.js:2827:12
Use of getAttributeNode() is deprecated. Use getAttribute() instead. mootools-core-uncompressed.js:3661:4
--

In Chrome, i can find the Console tab but not a JS tab within it. When I try clicking on the Update button the console lists
---
GET http://www.sag.org.au/administrator/templates/isis/favicon.ico 403 (Forbidden)
---
but this is showing on a range of backend pages which do not suffer the same button behaviour issue.

Did this answer your question or is there something else I should try in this space?

GJC Web Design

what admin template are u using?

tried both Isis and hathor

made sure esp. Chrome that your browser caches are emptied?
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

austega

Thanks. Am using Isis but had tried changing to Hathor with no impact on problem (tested in firefox).

Any other things to try or investigate?

GJC Web Design

sorry no...  but bit odd.. 2nd post today with this problem.. hmmm
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

austega

Thanks for trying.

I tried unsuccessfully to find the second post with the same problem that you mentioned. Can you help me find it? I would like to compare symptoms.

GJC Web Design

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