I get the following error:
warning: Missing argument 2 for ecard_form() in C:\AppServ\www\sziget2008\modules\ecard\ecard.module on line 197.
I choose a content type (story), but when i try to make an e-card, no happen anything, i just can a simple story-type page. Where is the problem?
Thx.

Comments

kars-t’s picture

Assigned: azoli » kars-t

Hi seems not to be fixed but I can't reproduce it right now. I will look into this.

andant’s picture

This is also an issue on my install of the ecard module.

Any ideas what might be causing it? I'll have a look around in the meantime and let you know if I find a fix or cause.

andant’s picture

Okay that was an easy solution.

The problem (at least for me) was caused by not understanding how to send an ecard. I assumed one had to go to http://domain.com/ecard .

This then produces the error described by the original poster.

I've now set it up to work for image nodes and for other people's reference the ecard option is now automatically included below the image. this is how you send an ecard.

kars-t’s picture

Status: Active » Fixed

Uhm okay,

there is a menu entry "ecard". It calls the ecard form wich needs 2 arguments.
But this is not needed. /ecard is not used at all. I removed this from the module. *shrugs*

As andant said:
You have to configure the module that it attaches the send form to a node type in "/admin/settings/ecard". /ecard is of no use.

Latest dev fixes this. Please test it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.