Shopoperation: No orderemails get sent

Author Message

Christiane Kloss

Wednesday 09 November 2005 5:58:27 am

I'm using Ez 3.6.3.
Shopping works perfect except for the checkout.
A look at the database shows, that orders get activated. I could verify this by debugging.

But the next step "sendOrderEmails" will not be accessed.

The admin-views of the web-shop are okay.
As this is no production-site I'm using sendmail and this is working fine with several informationcollection-forms.

So what else could be the problem?
Any hints are very welcome

Christiane

Clemens T

Wednesday 09 November 2005 3:21:50 pm

Check if your cronjobs are running!

Bruce Morrison

Wednesday 09 November 2005 8:50:51 pm

Hi Christiane

I'm 99% certian that shop order emails are sent once the checkout is complate and that they do not rely on the notification cronjob.

Are you able to send email from the system at all? Try the tipafriend functon to check.

http://yoursite/content/tipafriend should bring up the tipafriend form. Try send it to yourself. if you don't get an email then check the ez debug and/or the mailserver logs.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Christiane Kloss

Thursday 10 November 2005 1:37:59 am

Hi Bruce,
as I mentioned before, the site has several forms, generating and sending very 'nice' emails...

Christiane

Clemens T

Thursday 10 November 2005 3:27:03 am

OK, run this:
>php runcronjobs.php -d
in your shell

and let us know what the output is.

Greets,
clemens

Christiane Kloss

Thursday 10 November 2005 6:40:45 am

Hello Bruce, hello Clemens!
Many thx for your help, but it's not a cronjob. The mails get generated and sent immediately after confirming the order.

I think I found what I was looking for:
http://ez.no/community/bugs/shop_sends_no_confirmation_mails_sendorderemails_not_called

Greeetings
Christiane

Clemens T

Thursday 10 November 2005 7:10:04 am

OK.
NP, good that you got it fixed!
Ez rulez hehe

Christiane Kloss

Thursday 10 November 2005 9:32:15 am

Meanwhile I managed to update the source code -
and it's working well!

Jippieh!!!
Christiane

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:32:16
Script start
Timing: Jan 31 2025 01:32:16
Module start 'layout'
Timing: Jan 31 2025 01:32:16
Module start 'content'
Timing: Jan 31 2025 01:32:16
Module end 'content'
Timing: Jan 31 2025 01:32:16
Script end

Main resources:

Total runtime0.0239 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.2344151.2109
Module start 'layout' 0.00520.0037 739.4453220.6875
Module start 'content' 0.00890.0136 960.13281,005.8047
Module end 'content' 0.02250.0014 1,965.937537.9922
Script end 0.0239  2,003.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.0386140.0002
Check MTime0.00104.2767140.0001
Mysql Total
Database connection0.00093.750710.0009
Mysqli_queries0.00239.738130.0008
Looping result0.00000.066910.0000
Template Total0.00094.010.0009
Template load0.00083.184810.0008
Template processing0.00020.749510.0002
Override
Cache load0.00052.289610.0005
General
dbfile0.00218.963680.0003
String conversion0.00000.044940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs