Zen Cart Logo
Forums / Addon Payment Modules / Problem exporting 15,000 email addresses

Problem exporting 15,000 email addresses

Locked

Views: 1,476

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
28 Nov 2009, 3:31 AM
#1
twg avatar

twg

New Zenner

Join Date:
Apr 2006
Posts:
10
Plugin Contributions:
0

Problem exporting 15,000 email addresses

I tried to use the Add on and then installed it on ZenCart but whenever I click on export email addresses, it will not work and timeout..

It takes a long time and just timeout. My customer database is about 15,000.

Anyone can help?

Any other way to get an export of the email addresses in CSV format?

Thanks for the help!

28 Nov 2009, 7:52 AM
#2
tino_schlegel avatar

tino_schlegel

Totally Zenned

Join Date:
Nov 2007
Location:
Melbourne, Australia
Posts:
532
Plugin Contributions:
0

Re: Problem exporting 15,000 email addresses

It times out because your host probably stops the execution of a php script after some time (e.g. 60 sec or less) There is no way around. You can only export the emails in smaller groups so that is doesnt abort the export.

Maybe try to use export the emails from the database directly. It could be faster so that all 15k are exported at once.

28 Nov 2009, 8:02 AM
#3
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Problem exporting 15,000 email addresses

twg:

I tried to use the Add on and then installed it on ZenCart but whenever I click on export email addresses, it will not work and timeout..

It takes a long time and just timeout. My customer database is about 15,000.

Anyone can help?

Any other way to get an export of the email addresses in CSV format?

Thanks for the help!

Open the database with phpMyAdmin

Enter the following SQL query:

SELECT customers_email_address FROM customers WHERE 1

Press the 'export' button at the bottom of the page.
Tick the 'CSV' tickbox
Tick the 'save as file' checkbox
Press the 'Go' button (You'll be prompted where you wish to save the file on your local computer).

No guarantee that this'll avoid a timeout issue, but it'll certainly give you your best shot.

Cheers
Rod