VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: austega on April 24, 2016, 05:57:24 AM

Title: Backend Orders Display - buttons not working
Post by: austega on April 24, 2016, 05:57:24 AM
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!

Title: Re: Backend Orders Display - buttons not working
Post by: GJC Web Design on April 24, 2016, 11:25:54 AM
as the buttons are all Javascript based have u checked the console for any JS errors?
Title: Re: Backend Orders Display - buttons not working
Post by: austega on April 25, 2016, 05:10:50 AM
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?
Title: Re: Backend Orders Display - buttons not working
Post by: GJC Web Design on April 25, 2016, 11:07:46 AM
what admin template are u using?

tried both Isis and hathor

made sure esp. Chrome that your browser caches are emptied?
Title: Re: Backend Orders Display - buttons not working
Post by: austega on April 25, 2016, 14:09:58 PM
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?
Title: Re: Backend Orders Display - buttons not working
Post by: GJC Web Design on April 25, 2016, 16:20:25 PM
sorry no...  but bit odd.. 2nd post today with this problem.. hmmm
Title: Re: Backend Orders Display - buttons not working
Post by: austega on April 25, 2016, 23:43:07 PM
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.
Title: Re: Backend Orders Display - buttons not working
Post by: GJC Web Design on April 26, 2016, 09:52:50 AM
can't find it.. :(

may have dreamt it..  :(