Closed (fixed)
Project:
ecard
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
8 Aug 2008 at 08:32 UTC
Updated:
27 Feb 2009 at 19:10 UTC
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
Comment #1
kars-t commentedHi seems not to be fixed but I can't reproduce it right now. I will look into this.
Comment #2
andant commentedThis 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.
Comment #3
andant commentedOkay 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.
Comment #4
kars-t commentedUhm 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.