Closed (won't fix)
Project:
shazamgallery
Version:
master
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2006 at 20:51 UTC
Updated:
10 May 2006 at 07:48 UTC
Fatal error: Unknown function: _image_get_sizes() in C:\Program Files\xampp\htdocs\drupal-4.7.0-rc4\modules\shazamgallery\shazamgallery.module on line 22
The line:
foreach (_image_get_sizes() as $size) {
breaks access control in 4.7rc4 as _image_get_sizes() does not appear to exist. Is it part of another module? I commented out that block and was able to get some basic access control setup.
There are also calls to _image_get_vid() which appears to not exist. If some other module is required, can that be documented (if it is, then more clearly :) somewhere.
Comments
Comment #1
Boraa commentedI think that it's connected with new version of Image. That function was removed. To fix it you may add this into image.module.
Comment #2
garphythis piece of code keep on creating new vocabulary for each viewed image : i mean, each time an image is viewed, a new category is created.