Zen Cart Logo
Forums / All Other Contributions/Addons / Not sure if this is a bug or operator error with EasyPopulate

Not sure if this is a bug or operator error with EasyPopulate

Locked

Views: 822

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
4 Nov 2009, 5:09 PM
#1
johnboycr avatar

johnboycr

Zen Follower

Join Date:
Jan 2009
Posts:
201
Plugin Contributions:
2

Not sure if this is a bug or operator error with EasyPopulate

I have installed EastPopulate on both my web server and my localhost
server. Everything works fine on the web server but when I try to download
the complete .csv file I get the following error:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 35 bytes) in
/UNIONFS/opt/lampp/htdocs/postlynx/admin/easypopulate.php on line 1074

Here is the actual code segment that fails:

	$tempcsvrow = array(); 

	foreach( $filelayout as $key => $value ){

		// only specific keys are used

1074 $tempcsvrow[] = $row[$key];

	}

	$filestring[] = $tempcsvrow;

I am running Zen Cart 1.3.8a. Running XAMPP on my local machine.

The origibal memory allocation was 8M. I changed the allocation to 16M
but it did not help. Is this a problem with EasyPopulate, a setup problem,
or a database issue? I really appreciate your thoughts.

4 Nov 2009, 5:32 PM
#2
johnboycr avatar

johnboycr

Zen Follower

Join Date:
Jan 2009
Posts:
201
Plugin Contributions:
2

Re: Not sure if this is a bug or operator error with EasyPopulate

I failed to state clearly that the problem is occuring on the localhost, not
on the web server. sorry!

4 Nov 2009, 5:47 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Not sure if this is a bug or operator error with EasyPopulate

Sounds like your PHP config max_memory is too low. Even 16M is very low.
Either increase that to something higher, like 64M, or use tiny import files, or don't use EP.

4 Nov 2009, 6:08 PM
#4
johnboycr avatar

johnboycr

Zen Follower

Join Date:
Jan 2009
Posts:
201
Plugin Contributions:
2

Re: Not sure if this is a bug or operator error with EasyPopulate

OOOOOPPPPPPSSSSS ! Operator ERROR ! I found the problem !

I had made a modification to the /admin/easypopulate.php code to include
v_call_for_price value in the upload/download of data. I forgot to make that
same mod on my localhost software. MY BAD!

Sorry to disturb ya'll with this as it was my own fault.