Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When i try to view the gallery, it displays error messages like this:
query: UPDATE prog_gallery_images SET `exif_date` = ":exif_date" WHERE `i_nid`=":nid"; in /home/shemgp/public_html/tests/drupal_galleries/drupal/sites/all/modules/prog_gallery/prog_gallery.module on line 1537.
I think that's because db_query should use %d, %s, etc. instead of :exif_date? Maybe that's for drupal 7?
This patch works for me. I'm using Postgres.
Comment | File | Size | Author |
---|---|---|---|
prog_gallery-db_query.diff | 1.19 KB | shemgp |
Comments
Comment #1
Jānis Bebrītis CreditAttribution: Jānis Bebrītis commentedthanks, i`ll review it asap!
Comment #2
Jānis Bebrītis CreditAttribution: Jānis Bebrītis commentedI followed drupal coding standards when created this module, it suggested such syntax.
anyway, patch is applied and uploaded to cvs, thanks for contributing patch!
Comment #3
Jānis Bebrītis CreditAttribution: Jānis Bebrītis commented