1 reply [Last post]
IT Guy 3000's picture
Offline
Joined: 05/11/2009
Juice: 121
Was this information Helpful?

Recently upgraded to the latest version of Ubercart for Drupal 5 (from 1.5 to 1.10) without issue, except when viewing existing orders via admin/store/orders/[number], there is no name/address in the "Ship to" and "Bill to" blocks under VIEW or INVOICE, just the phone number.

When selecting the EDIT tab when viewing an order, all customer data is there and displayed as expected.

Where should I look for the cause of this behavior and resolution? I've worked with several Ubercart installations and never seen this quirk.

IT Guy 3000's picture
Offline
Joined: 05/11/2009
Juice: 121
Solution

Friends,

Via this entry in the error logs:

preg_replace() [function.preg-replace]: Unknown modifier '>' in D:\Inetpub\biodynamics\sites\all\modules\ubercart\uc_store\uc_store.module on line 2042.

Found the problem/solution, which was addressed in a one-line patch that never made it into the 1.10 release.

The thread is here: http://drupal.org/node/880908

The patch is one line, here: http://drupal.org/files/issues/880908.patch

While 5.x/1.x is no longer supported, many of us are upgrading to the latest releases of both before going to 6.x/2.x, so perhaps this will help others iron out any issues while proceeding along an upgrade path. I like to be as error-free as possible before each upgrade, or at least know the error is addressed in the new code Eye-wink