Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

dougeefresh

Archived
  • Posts

    12
  • Joined

  • Last visited

Profile Information

  • Real Name
    DK

dougeefresh's Achievements

  1. I decided dig thru the 200+ pages of answers in this thread and I found the answer to my problem listed above. Just to reiterate, here's what choosealogin suggested: First check to see what version of PHP 5 you are running. If you're not sure, go to admin > tools > server info ...php version # will be at the top. I suspect it's PHP5. IF THAT IS THE CASE, In your easypopulate.php file Find array_walk($readed, 'walk'); replace with this //array_walk($readed, 'walk'); foreach ($readed as $readed_record) { walk($readed_record); } If it's NOT php5, don't change anything at this point. Thanks, choosealogin!
  2. Here is the result I get when I run EP import from the file I downloaded using EP. --------------- Easy Populate 2.76c-MS2 (tried different versions to no vail) File uploaded. Temporary filename: /var/tmp/phplYC2co User filename: EP_test2.txt Size: 26130 | 1 | gnc-psylli | vitamin( | product | | 30 | 1 | 3/22/2006 | 10000 | 0 | color | 1 | 0 | Yellow | 2 | Size | size| 5 | Large | Large | 5 | Large | Large | 6 | X-Large | X-Large | 7 | Medium | Medium | 8 | Small | Small | 12 | 0-3 | 13 | 3-6 | 14 | 6-12 | 15 | 12-18 | 16 | 0 | 0 | 17 | 1 | 1 | 18 | 2 | 2 | 19 | 3 | 3 | 20 | size | 21 | 18-24 | 4 | Color | color | 1 | Yellow | Yellow | 1 | Yellow | Yellow | 2 | Blue | 2 | Blue | 3 | White | White | 3 | White | White | 4 | Black | Black | 4 | Black | Black | 6 | purchse | 9 | 0 | 1 | 10 | 22 | Twin (2?| 11 | 43 | Triple( | GNC | natural | fiber | --None-- | Active Updated | 2 gnc-ps | 3 gnc-ps | 4 gnc-ps | 5 gnc-ps | 6 gnc-ps | 7 gnc-ps | 8 gnc-ps | 9 gnc-ps | 10 gnc-p | 11 gnc-p | 13 gnc-p | 12 gnc-p | 14 gnc-p | 15 gnc-p | 16 gnc-p | 17 gnc-p | 18 gnc-p | 19 gnc-p | 20 gnc-p | ------------------------ Since I didn't have any model names, I added numbers starting at 1 up until 20. As you can see, the first record gets processed without a problem and I get Updated. When it gets to the second record(row), it shows 6 first charaters (gnc-ps in this case) of the image file name (since that's the column right after the model number column) , craps out, then move on to the next row. Same thing happens until it reaches the end. Notice there is no | (which I suspect is a tab-deliminator?) between record 2 and the next column data (gnc-ps) in all the rows other than the first row (which gets processed correctly). I checked the data many times but couldn't find anything different between the first product and second product(+rest) info. Anyway, the first product is the only that gets updated at this point. :angry:
  3. OK. I was wrong. EP actually updates the first proudct in the Excel file (not counting the header) then stops.
  4. Same problem as above. File gets uploaded fine but the changes don't show up in database. Any ideas?
×
×
  • Create New...