katie929 Posted February 12, 2008 Posted February 12, 2008 Help please I have no customer details on Orders.php. I can see email and phone number, but no adress fields. Same on invoice and packingslip. I have looked for a solution for 3 days but nothing. Can anyone please suggest something please.
bobg7 Posted February 12, 2008 Posted February 12, 2008 What version are you on, what contributions have you added, have you made any changes to any .php files? Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going.
katie929 Posted February 12, 2008 Author Posted February 12, 2008 I believe I use v2.2 . And I use fancier invoice and packingslip, order editor 5_0_61 and QTPRO 4.3, and some other.
katie929 Posted February 14, 2008 Author Posted February 14, 2008 I think it's something in orders.php ... The last thing I changed was this: I had this error: Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/www/vhosts/domain.com/httpsdocs/admin/customers.php on line 763 Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/vhosts/domain.com/httpsdocs/admin/customers.php on line 765 Solution: This is because PHP5 handles arrays differently, they must be defined before used, or in this case, merged. Edit the admin/customers.php file: Change: line 763: $customer_info = array_merge($country, $info, $reviews); line 765: $cInfo_array = array_merge($customers, $customer_info); To: line 763: $customer_info = array_merge((array)$country, (array)$info, (array)$reviews); line 765: $cInfo_array = array_merge((array)$customers, (array)$customer_info); That did solve the error problem, but can this be the cause for losing addresses on my invoice and orders.php?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.