[SOLVED] Joomdonation displays 0

  • Christian Johansen
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 2 months ago - 15 years 1 month ago #784 by Christian Johansen
[SOLVED] Joomdonation displays 0 was created by Christian Johansen
Hey !

Love your component for joomla, thanks a lot...

But ! I have a small problem, so far 2 people have donate money, and the modul shows 700 dkr, but the joom Donation component shows 0 kr

See Here :



Is there a quick fix for this ?

- Oxy
Attachments:
Last edit: 15 years 1 month ago by Tuan Pham Ngoc.

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #787 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re:Joomdonation displays 0
Hi
Did you active the campain before users make donations ?
Please let me know .
Regards,
Ossolution Team

Please Log in or Create an account to join the conversation.

  • Christian Johansen
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 2 months ago #799 by Christian Johansen
Replied by Christian Johansen on topic Re:Joomdonation displays 0
Hey...

Thanks for the reply...

Did you active the campain before users make donations ?


Yes it was...

There has been another donation on the site, and the component still writes "0"

You cansee it here :

dogspace.dk/donation?view=jdonation

- Oxy

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #872 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re:Joomdonation displays 0
Hi
We found and fixed the issue . The problem is that the default value for donated_amount column in table t0r4j_jd_campaingns is initialized by NULL, not 0 . So to fix the problem, please access to your database via phpmyadmin and run the following command :

1 .
Code:
ALTER TABLE `t0r4j_jd_campaigns` CHANGE `donated_amount` `donated_amount` DECIMAL( 10, 2 ) NULL DEFAULT '0.00'

2.
Code:
UPDATE `t0r4j_jd_campaigns` SET `donated_amount` = 0 WHERE `donated_amount` IS NULL

This issue only happend with the previous versions of Joom Donation . In the lastest version which I uploaded to server, the issue won't happend anymore .

Regards,
Ossolution Team

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt