Page 20 of 26 FirstFirst ... 101819202122 ... LastLast
Results 191 to 200 of 252
  1. #191
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: OsCommerce Data Importer - Errors

    Quote Originally Posted by willie bee View Post
    PLEASE DISREGARD MY FIRST TWO POSTS.

    I have ran the importer fine. The only problem is maybe a time out on the orders converter file?

    I have over 15000 orders.

    This is what i get on the screen.

    and it stops.
    If you are importing the old data from another server the time between the two servers might be timing out.
    If you can move the old database to the new (same server) and see if it still times out.

    Skip
    • 446F63746F722057686F •

  2. #192
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: OsCommerce Data Importer - Errors

    They are on the same server

  3. #193
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: OsCommerce Data Importer - Errors

    Is there a way you can modify the script to do a certain amount of rows at a time while importing because the order history is what is timing out I belive. The other two scripts were fine.

    it's like over 15000 order history.

  4. #194
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: OsCommerce Data Importer - Errors

    Try edit import_osc_orders.php
    Around line 304 find
    Code:
    /* start of export of orders */
            source_osc();
    Change to look like
    Code:
     /* start of export of orders */
            set_time_limit(0);
            source_osc();
    See if that fixes the error or shifts it to import. If import fails add the same set_time_limit(0); to the import code.

    Skip
    • 446F63746F722057686F •

  5. #195
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: OsCommerce Data Importer - Errors

    It did not.

    See if that fixes the error or shifts it to import. If import fails add the same set_time_limit(0); to the import code.

    Where?

  6. #196
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: OsCommerce Data Importer - Errors

    /********** start of import of Orders */
    set_time_limit(0);
    target_zen(); // Get target db info

    is what i did is that rigth becuase it still stops at around 8400

    ................................................................................ ................................................................................ .......................................8000 -|
    ................................................................................ ................................................................................ .......................................8200 -|
    ................................................................................ ................................................................................ .......................................8400 -|
    ..................

    anywhere where it said target_zen and target_osc. I put that no time limit code. There were several.
    Last edited by willie bee; 22 Mar 2011 at 12:47 AM.

  7. #197
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: OsCommerce Data Importer - Errors

    Would it be possible to split these?

    Orders
    Orders Products
    Orders Products Attributes
    Orders Products Download
    Orders Status
    Orders Status History
    Orders Total
    Currencies

    and have them do it all each separatey? Then I can find out which scection is timing out.

    I'm sure it is orders status or orders status history. It's about 15K orders.

  8. #198
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: OsCommerce Data Importer - Errors

    Would it be possible to split these?

    Orders
    Orders Products
    Orders Products Attributes
    Orders Products Download
    Orders Status
    Orders Status History
    Orders Total
    Currencies

    and have them do it all each separatey? Then I can find out which scection is timing out.
    That is the way it is done now you just can't get pass Exporting Orders.


    Try this edit import_osc_orders.php
    Around line 304 find
    Code:
    /* start of export of orders */
            source_osc();
    Change to look like
    Code:
     /* start of export of orders */
            ini_set("memory_limit","512M");
            set_time_limit(0);
            source_osc();
    Tell me if this gets a higher record count then 8400

    Skip
    • 446F63746F722057686F •

  9. #199
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: OsCommerce Data Importer - Errors

    Quote Originally Posted by skipwater View Post
    That is the way it is done now you just can't get pass Exporting Orders.


    Try this edit import_osc_orders.php
    Around line 304 find
    Code:
    /* start of export of orders */
            source_osc();
    Change to look like
    Code:
     /* start of export of orders */
            ini_set("memory_limit","512M");
            set_time_limit(0);
            source_osc();
    Tell me if this gets a higher record count then 8400

    Skip
    I took a clean file from your zip, made the change and it still stops at the same place.

  10. #200
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: OsCommerce Data Importer - Errors

    Look at you orders table in the OSC database with phpMyAdmin around records 8410 up and see if there is bad data in one of the records.


    Skip
    • 446F63746F722057686F •

 

 
Page 20 of 26 FirstFirst ... 101819202122 ... LastLast

Similar Threads

  1. CRE Loaded to Zen Cart Data Importer [support thread]
    By skipwater in forum All Other Contributions/Addons
    Replies: 44
    Last Post: 7 Oct 2010, 10:04 PM
  2. oscommerce data
    By nezah.net in forum General Questions
    Replies: 3
    Last Post: 13 Feb 2008, 07:22 AM
  3. Problems following data import from OScommerce
    By wdkstudio in forum General Questions
    Replies: 4
    Last Post: 24 Nov 2007, 09:04 AM
  4. Scripts to migrate data from osCommerce?
    By marke in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 19 Apr 2007, 01:37 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