Forums / General Questions / Delete Button in Orders > Customers Broken

Delete Button in Orders > Customers Broken

Locked

Started by bgroup99 on 24 Sep 2009, 4:54 AM · Views: 942

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
24 Sep 2009, 4:54 AM
#1
bgroup99 avatar

bgroup99

Zen Follower

Join Date:
Aug 2006
Posts:
197
Plugin Contributions:
0

Delete Button in Orders > Customers Broken

Running ZC version 1.3.8a fully patched

In Customers > Orders when I try to delete an order it takes me to the "Are you sure you want to delete this order?" dialog with 2 delete buttons. However, neither button works. The top one takes me back to the orders page and the bottom one doesn't do anything.

Mods Installed:

  • Email archive manager
  • Ultimate SEO URLS 2.106
  • User Tracking 1.3.6.2
  • Backup mySQL Admin 1.3
  • Integrated COWOA 1.3.8
  • Google Analytics 2.2.1 (Andrew)
  • Quantity Discounts v1.10
  • Create Simple Orders

I'm not sure when the button stopped working. I installed Create Simple Orders today and noticed it when I was testing the orders section functionality. The only file I overwrote was /public_html/store/admin/includes/classes/order.php. I restored an backup copy of this file when I noticed the problem, but the delete button was still non-functional, so I'm not sure what the cause is.

I search around on the ZC forum for awhile and couldn't find anything directly related. I saw some threads about not updating the html_output.php file correctly in the recent security update, so I confirmed that I had correctly updated the file, but the Delete button is still broken.

I'd very much appreciate any suggestions. I need to delete all my test orders :( If someone could even point me in the right direction in terms of files to look at I would be very grateful. At my wits end.

Thanks,
Nate

24 Sep 2009, 5:01 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Delete Button in Orders > Customers Broken

That button is handled by /admin/orders.php
Perhaps your version of that file has been damaged or incorrectly altered by an addon or customization.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

24 Sep 2009, 5:20 AM
#3
bgroup99 avatar

bgroup99

Zen Follower

Join Date:
Aug 2006
Posts:
197
Plugin Contributions:
0

Re: Delete Button in Orders > Customers Broken

The Create Simple Orders mod includes instructions for updating admin/orders.php. Something in the instructions must be mistaken, because when I restore a old copy of orders.php everything works fine. Looking into it further. Thanks DrByte!