Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Are these issues connected?

Are these issues connected?

Locked

Views: 979

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
27 Oct 2008, 12:54 PM
#1
r_nato avatar

r_nato

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Are these issues connected?

I am having three issues related to my store:

  1. UPS shipping cannot retrieve a shipping quote.

  2. Sales tax is not being figured, it is always zero.

  3. I cannot delete a customer. From this page in Admin:
    store/admin/customers.php

the first (and only) customer in the list shows up in the box at the right for 'edit', 'delete', 'email'

I click 'delete' and get the following:

Warning: reset(): Passed variable is not an array or object in /home/content/s/i/g/signalgates/html/store/admin/includes/classes/object_info.php on line 29

Warning: Variable passed to each() is not an array or object in /home/content/s/i/g/signalgates/html/store/admin/includes/classes/object_info.php on line 30

along with the confirm delete message in the box at right

I go ahead and click 'delete'. Nothing happens.

Also when I click on the customer name, I get a page which should (it seems) display all of that customer's stored info. It's titled 'Customers' just below the Admin menu.

This page shows nothing in the fields, where it should (I assume) show that customer's stored info. It also generates the above-mentioned error messages.

I'm currently taking a look at the code to see if something is not being set or otherwise what could be missing.

I can post further details on the admin settings above (e.g., yes UPS module is active) if desired. I'm hoping these three symptoms point to a common problem!!!

thanks in advance

27 Oct 2008, 2:04 PM
#2
r_nato avatar

r_nato

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Re: Are these issues connected?

... with regards to the inability to edit or delete a customer, the crazy thing is that the customer id (cID) is getting passed to customers.php?action=edit

shouldn't the customer ID value be enough to retrieve the customer's data from the table???

27 Oct 2008, 2:22 PM
#3
r_nato avatar

r_nato

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Re: Are these issues connected?

OK! I have discovered that my hacking of the account creation pages (yes, go ahead and laugh at me) caused 'customers_default_address_id' to not be set in the 'customers' table.

This incorrectly stored field was what caused the UPS module to not work. I have to do a minor edit so that I can get to the sales tax page and see if that is working now. I can now edit and delete customer accounts. Hooray!

27 Oct 2008, 2:25 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,606
Plugin Contributions:
0

Re: Are these issues connected?

Thank you for following up on the problem and the fix.

27 Oct 2008, 2:45 PM
#5
r_nato avatar

r_nato

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Re: Are these issues connected?

color me embarrassed!

but hey at least I figured it out.