Closed (fixed)
Project:
ecard
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2008 at 00:08 UTC
Updated:
7 Mar 2009 at 16:30 UTC
Hi! I just installed E-Card and everything seems to be working well excpt after I make an E-card, it sends me to the thanks page and gives a link to the copy. When I press the link it just sends me to a page that says: "Your ecard id is not valid either it may be an error or it expired"
Comments
Comment #1
ChristieLuv commentedOh it also happens when someone tries to see the page from the web address in the email sent when someone makes a card. So the page created after someone sends a card to an email, isn't being created somehow, and people are sent to a url that gives an error.
Comment #2
ChristieLuv commentedI found out some more about it. I tried it on a clean install of drupal with no additional hacks accept cck and it still was doing the same thing, even on different content types. Can you help me out?
Comment #3
mssarath commentedplease tell me the version of drupal you are using?
that error is normally appear, when someone click on the link where the card is expired. please have a look at the ecard settings, whether its correct , ie, configuration of cron to delete the card ? (card expiry date)
in the url of the card, you can see some random number generated, please check whether the random number present in ecard table in the database.
thanks,
sarath
Comment #4
ChristieLuv commentedHi! Thank you so much for your help! I got your email too! I'm using Drupal 5.7 and I'm using the Ecard version 5.x-1.3.
Do you mean the expiry date as in where it says "Days to keep ecards:" in the settings? I tried making a card with that setting on both 0 and 100 but I got the same results.
When I looked in the database there is a table named "VB_drupal_content_type_ecard" which only shows the content e cards that were created with the "Create New Content" page, instead of the e cards that can be emailed.
I also found a table that is just named "Ecard" without the VB or Drupal in the name. That looks like the one because it has fields for email, message and things like that but when I went to browse the table there was no data in it, as if no one submitted anything, while at the same time I've made three e cards already. So that may be a clue to what the issue is.
Comment #5
mssarath commentedHi,
sorry, i thought i made a release fixed on this issue, i just checked, its not , i will make one.
for quick fix, please open ecard.install you can see create table ecard just put {} to ecard so it looks like CREATE TABLE {ecard}
let me know how it goes
thanks,
sarath
Comment #6
ralfvk commentedI have the same problem and just tested your hint.
No way, error still occurs...
Comment #7
kars-t commentedclosed for inactivity
Comment #8
ralfvk commentedI figured out the problem.
After upgrading my site, I found that the table prefix of the ecard entry was completely missing.
Just moving the data to a new table with the appropriate prefix solved the problem