Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy Populate Error / Solutions


Zex

Recommended Posts

I've seen so many posts on this error, with only one that contains a solution that worked. (For me at least)

 

:thumbsup: Thanks to Mibble for all the help he/she has contributed to the group.

 

 

My thoughts on this Topic, To become a nesting ground for all of the solutions that people have come across for Easy Populate.

 

 

Once again Thanks everyone for all of your assistance.

 

PS. Thanks wyaheg for reposting the below code. :sweating: You saved me a ton of time. :thumbsup:

 

 

 

 

====================================================================

 

 

 

The SYMPTON :

 

When Uploading a data file, the first record is recognised and works correctly - all other records aren't recognised and the first 9 characters of each record are displayed as output.

 

sample output (for file containing 12 update records):

 

File uploaded.

Temporary filename: /tmp/phpjwqOig

User filename: EP2005Aug23-0012.txt

Size: 617

| CARWC001 | Threads | Caron Coll | Watercolou Updated

| CARWC002 | CARWL Thr | CARWF Thr | CARIS Thr | CARRA Thr | CARWC000 | DMC151 Th | DMC150 Th | DMCECRU T | DMCBLANC | DMCB5200 |

all records have EOREOR fields

 

==============================================

The PROBLEM :

 

the problem is caused by an incomatibility with PHP5

 

==============================================

The SOLUTION :

 

MODIFY /admin/easypopulate.php (approx line 712)

 

FIND

array_walk($readed, 'walk');

 

REPALCE WITH

//array_walk($readed, 'walk');

foreach ($readed as $readed_record) {

walk($readed_record);

}

 

===============================================

Link to comment
Share on other sites

  • 2 months later...

I get this error after making the above change in EP 2.8

 

 

Parse error: parse error, unexpected $ in /home/jhonez/public_html/liprippers/admin/easypopulate.php on line 2256

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...