Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26
  1. #21
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Problems importing osc database

    You might find that posting an ad for paid assistance in the Commercial Help Wanted area may connect you with someone who has experience in doing those kinds of data conversions and can identify whatever pieces you happen to be missing in attempting this task.
    .

    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
    Nov 2007
    Location
    USA
    Posts
    889
    Plugin Contributions
    5

    Default Re: Problems importing osc database

    Okay thanks.

  3. #23
    Join Date
    Nov 2007
    Location
    USA
    Posts
    889
    Plugin Contributions
    5

    Default Re: Problems importing osc database

    I have successfully imported most of what I want from OSC to ZEN and am running into this error in the clients accounts. If I enter data then the error goes away. SHould I just delete the accounts and let the clients create new ones?

    Also, was there a trick to doing the import regardless of how many language packs used in OSC? Wondering if the umlauts triggered something.

    Warning: reset(): Passed variable is not an array or object in admin/includes/classes/object_info.php on line 29

    Warning: Variable passed to each() is not an array or object in admin/includes/object_info.php on line 30


    <?php

    class objectInfo {

    // class constructor
    function objectInfo($object_array) {
    //this line should be added, but should be tested first:
    (line 29) // if (!is_array($object_array)) return;
    (line 30) reset($object_array);
    while (list($key, $value) = each($object_array)) {
    $this->$key = zen_db_prepare_input($value);
    }
    }
    }
    ?>

  4. #24
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Problems importing osc database

    Did you keep the "customers" and "customers_info" and "address_book" tables in sync with each other?

    You'll see that sort of error if you're missing address_book records for a given customer.

    An improvement was made in v1.3.8 which prevents the warning error from happening if it finds data that's out of sync.
    .

    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.

  5. #25
    Join Date
    Nov 2007
    Location
    USA
    Posts
    889
    Plugin Contributions
    5

    Default Re: Problems importing osc database

    I upgraded to v1.3.8 before I started the adventure and took you previous advice.

    I will go back and check. Thanks.

    Come so far. Almost there.

  6. #26
    Join Date
    Nov 2007
    Location
    USA
    Posts
    889
    Plugin Contributions
    5

    Default Re: Problems importing osc database

    OSC DB imported into ZEN DB properly. All set thanks!
    Cheers!
    v2.2.1

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. v139h Problem Importing SQL database to new database ready for testing Zencart 1.5
    By gillpotsoffun in forum Upgrading to 1.5.x
    Replies: 8
    Last Post: 24 Aug 2015, 11:24 PM
  2. Problems with importing database in phpMyadmin..
    By adi2009 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 18 Jan 2011, 12:53 AM
  3. OSC database: what's 'OSC'?
    By gnotapipe in forum General Questions
    Replies: 3
    Last Post: 26 May 2006, 08:43 PM

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