Rename 'donation' table to 'donations' in donation.install
mtwesley - May 25, 2009 - 22:46
| Project: | Donation |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Correct me if I am wrong, but I get this error upon install:
* user warning: Table 'drupal.donations' doesn't exist query: SELECT COUNT(*) FROM donations d in /var/www/drupal/public_html/sites/all/modules/donation/donation.module on line 458.
* user warning: Table 'drupal.donations' doesn't exist query: SELECT d.* FROM donations d ORDER BY timestamp DESC LIMIT 0, 25 in /var/www/drupal/public_html/sites/all/modules/donation/donation.module on line 458.So I assume that this, from line 21 of donation.install:
<?php
$schema['donation'] = array( /* ... */);
?>Should be:
<?php
$schema['donations'] = array( /* ... */);
?>I made no patch because I assume this is a quick fix, right?

#1
Thank you. Fixed.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.