Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23
  1. #21
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Moved Site - Compatibility Issues?

    Quote Originally Posted by janellez View Post
    [01-Aug-2011 09:08:10] PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /home/xyz/public_html/fakeadmin/customers.php on line 1099
    That's appearing because when the store is attempting to look up the country associated with the selected customer's address, it's not finding a valid entry. That could be a result of the country being missing from your database's countries table, or the customer's address_book entry doesn't exist or has a country number associated with it that doesn't match a country in your countries table.
    That sort of thing commonly happens when people do incomplete imports of database tables (typically when taking shortcuts to guess at what info comprises customer data and guessing incorrectly, and ending up missing tables.). Maybe for you your import of data for your customers was incomplete ... ie your database import between servers didn't happen properly.
    Quote Originally Posted by janellez View Post
    [01-Aug-2011 09:08:10] PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in /home/xyz/public_html/fakeadmin/customers.php on line 1101
    [01-Aug-2011 09:08:10] PHP Warning: reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /home/xyz/public_html/fakeadmin/includes/classes/object_info.php on line 29
    [01-Aug-2011 09:08:10] PHP Warning: Variable passed to each() is not an array or object in /home/xyz/public_html/fakeadmin/includes/classes/object_info.php on line 30
    all of those are consequences of the prior error.

    Quote Originally Posted by janellez View Post
    [01-Aug-2011 07:45:38] PHP Warning: Invalid argument supplied for foreach() in /home/xyz/public_html/includes/modules/shipping/usps.php on line 278

    After the upgrade I was having trouble with international shipping so I installed the module USPS Shipping Module Update - RateV4 - IntlRateV2.
    That's a shipping issue only.
    I can't see how that would be related to customer information missing.
    .

    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.

  2. #22
    Join Date
    Sep 2007
    Posts
    128
    Plugin Contributions
    0

    Default Re: Moved Site - Compatibility Issues?

    Ok - that kind of gives me a starting point. I didn't think I took any shortcuts - using sqldumper - as I have several times before without issue.

    I have the old backups of the database before the move (and access to the database on the old server). I'm trying to think of how I could restore them again without losing the data that has accumulated in the weeks between the move and now.

  3. #23
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Moved Site - Compatibility Issues?

    Quote Originally Posted by janellez View Post
    using sqldumper
    Not familiar with that tool.
    Recommended approach: https://www.zen-cart.com/tutorials/i...hp?article=103
    Quote Originally Posted by janellez View Post
    I have the old backups of the database before the move (and access to the database on the old server). I'm trying to think of how I could restore them again without losing the data that has accumulated in the weeks between the move and now.
    You don't want to restore the entire database, else you'll lose everything added since then.

    A good starting point would be to do a fresh export of both databases, and compare all the data. Naturally you'll see new records in the new one, and you can ignore those for now. Study all the discrepancies in the rest of the data though. Then figure out a plan for fixing that.
    A good text-file comparison tool like WinMerge or BeyondCompare will save you hours of headaches.
    .

    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.

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Moved site and now have BIG ISSUES
    By shags38 in forum General Questions
    Replies: 22
    Last Post: 29 May 2012, 06:18 AM
  2. Image issues - Moved site to new provider
    By matchlock in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Jun 2011, 10:31 PM
  3. IE Compatibility Issues
    By dgent in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 5 Nov 2010, 01:55 PM
  4. Browser compatibility issues useing IE
    By Turtleman in forum General Questions
    Replies: 2
    Last Post: 29 Jan 2007, 02:56 PM
  5. Browser compatibility issues
    By Rhitty in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 15 Jan 2007, 01:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg