Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I decided to install gallery2 as suggest in many posts around the place and followed the instructions exactly as applied in the install.txt of the (drupal) gallery module. When applying step 5 I got this error
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ')) AND g2_AccessMap.g_permission & 1 = 1' at line query: INSERT INTO watchdog (uid, type, message, severity, link, location, hostname, timestamp) VALUES (1, 'gallery', 'Unable to get Gallery image block Error (ERROR_STORAGE_FAILURE)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1166 (gallerystatus::error)
in modules/core/classes/GalleryStorage.class at line 245 (mysqldatabasestorage::search)
in modules/core/classes/Gallery.class at line 223 (gallerystorage::search)
in modules/core/classes/helpers/GalleryPermissionHelper_simple.class at line 89 (gallery::search)
in modules/core/classes/GalleryCoreApi.cl in /home/(removed)/public/includes/database.mysql.inc on line 66.
Now I am only guessing, but my guess it's to do with the gallery database and the drupal gallery module not knowing how to access it (or the password for that matter - it was installed using cpanel) I further believe this to be the case because I get too many page not found errors and especially when I do get into the gallery there are no images to see (ie through drupal) yet when I visit the actual gallery, everything is fine.
I'd like to add a select box item 'user type' to the 'Account information' group on the user edit page. So, I'm wondering if this is possible and if so how to go about it? Also, if I have to add the item as a separate group, is there any easy way to manipulate the ordering of group items? Had a fiddle altering weights of different group items but couldn't quite grasp why when I changed the weight sometimes it worked and other times not.
I'm currently making a "weekly schedule" module for Temple University's new CIS department website to keep track of the hours the computer labs are open. Currently I have a small prototype up that pulls a schedule from two tables in mysql here. I'm just wondering if anyone has any suggestions or feature requests before I wrap it in a drupal module.