Closed (cannot reproduce)
Project:
Media Gallery
Version:
7.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Jan 2011 at 10:05 UTC
Updated:
28 May 2012 at 21:20 UTC
Jump to comment: Most recent
Comments
Comment #1
radoeka commentedI get the same error, for the following indices:
media_gallery_detail
media_gallery_lightbox
media_gallery_thumbnail
In total 24 lines are displayed with the error shown (using the indices shown above. the indices are used multiple times, in random order) in the issue description.
I disabled and re-enabled the module. No errors are shown now. It looks like the errors are shown only during the first enablement.
Comment #2
Aonoa commented24 lines here as well, and it's the same thing with Media Gallery-head.
Best regards,
Ao
Comment #3
rmarius commented+1
Comment #4
wobblefoot commentedSame error messages, but with the following versions:
Media Gallery 7.x-1.0-beta3
Media 7.x-1.0-beta3
Styles 7.x-2.0-alpha5
Multiple forms 7.x-1.0-beta1
From a fresh D7.0 installation I enabled styles, file styles, then media module. All okay. I then enabled multiple forms api mod - no problems. Above errors showed up when enabling media gallery...
Comment #5
the fatman commentedMe too
D7.0
Media Gallery 7.x-1.0-beta3
Media 7.x-1.0-beta3
Styles 7.x-2.0-alpha5
Comment #6
t7web commentedDitto on the errors...
Latest Install 7.0
Media Gallery 7.x-1.0-beta3
Media 7.x-1.0-beta3
Styles 7.x-2.0-alpha5
Multiple forms 7.x-1.0-beta1
Comment #7
madeby commentedYes, I get a long list as well:
Comment #8
cronix commentedSubscribing
Comment #9
esculcar commentedme too, subscribing
Comment #10
Renegadez commentedMe too sub
Comment #11
bowwowadmin commentedI found that it is the styles module because I got the error without any of the media modules installed.
Comment #12
chri-st commentedSame here
Comment #13
sbatyrov commentedSubscribing
Comment #14
uccio commentedSubscribing
Comment #15
jerrac commentedClean install of D7. Latest (as of March 28th, 2011) dev versions of Media, Styles, Multiform, and Media Gallery, downloaded and installed. Enabled the module seperately, the only time I got the errors was when I enabled Media Gallery. Same errors as previous comments, but I'll copy them here anyway.
Just created and a test gallery with one jpg image, and that seems to work fine. So this error doesn't appear to cause problems, at least that I've found yet.
Comment #16
Anonymous (not verified) commentedmedia gallery is now in beta4...I was able to install and enable the correct modules using the new readme. it got rid of the errors after I followed the new directions
http://drupalcode.org/project/media_gallery.git/blob_plain/refs/tags/7.x...
good luck!
Comment #17
scottrouse commentedI still get the same error message. Brand new, clean install of Drupal 7.0. Enabling only the Media Gallery module (7.x-1.0-beta4) and modules on which it is dependent (Media - latest dev, Multiform - 7.x-1.0-beta2, Styles and File Styles - 7.x-2.0-alpha5).
The error message is not persistent (goes away after reloading page), and I am able to successfully create galleries.
I unassigned edum1978. I assume you didn't mean to assign this issue to yourself. If I'm wrong, please feel free to re-assign.
Comment #18
adam_b commentedMe too - clean install from scratch with beta4 and I got the error messages, but they don't appear to indicate long-term problems.
Comment #19
jide commentedFollowed exactly the media_gallery README.txt instructions and got the same errors.
Comment #20
stephandale commentedMe too, but it's probably due to this bug in core: http://drupal.org/node/1001624
Comment #21
andyceo commentedI can confirm this bug. Subscribe. Yes, it may be really the core bug #1001624: Avoid "Undefined index" notice in field_info_max_weight() function of modules/field/field.info.inc
Comment #22
yugongtian commented+1
clean drupal only install this modules....
Notice: Undefined index: media_gallery_thumbnail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_lightbox in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_detail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_thumbnail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_lightbox in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_detail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_thumbnail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_thumbnail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_lightbox in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_lightbox in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_detail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_detail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_thumbnail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_lightbox in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_detail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_thumbnail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_lightbox in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_detail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_thumbnail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_thumbnail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_lightbox in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_lightbox in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_detail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Notice: Undefined index: media_gallery_detail in field_info_max_weight() (line 797 of E:\wamp\www\test7\modules\field\field.info.inc).
Comment #23
Jean Gionet commentedsame here on a new install
Comment #24
JohanPirlouit commentedHi everyone,
I also subscribe...
My Drupal version is 7.0 fresh install.
Some modules I installed and activated for my needs (and they work fine) before trying to install Media Gallery:
- IMCE 7.x-1.3
- CKEditor 7.x-1.1
- Webform 7.x-3.9
Required modules for Media Gallery are versions:
- Media 7.x-1.0-beta4
- Multiple forms 7.x-1.0-beta2
- Styles 7.x-2.0-alpha5
- ColorBox jQuery plugin 1.3.16
When I try to activate Media Gallery module (last release at this post time: 7.x-1.0-beta4) I receive those messages:
Regards,
Johan
Comment #25
JohanPirlouit commentedThis bug seems to be fixed, but with Drupal 7.x-dev. I just did the test and it works!
But I've got other bugs as I tell here > http://drupal.org/node/1001624#comment-4403958 (Drupal core bug with "modules/field/field.info.inc").
Regards,
Johan
Comment #26
Adam S commentedUpgradeing to drupal 7.x-dev solved the problem with these errors however I still can't upload an image to a gallery. The modal popups up and I attach the image. If I browse the library the image is there however it doesn't show on the gallery page.
EDIT: After several hours of playing around, I create a Drupal Gardens sandbox website where everything works. I export the whole website to figure out why it works except it didn't because it requires clean URL's on my local server. After enabling rewrite, clean URL's, deleting already existing galleries, and clearing the cache, it works fine. I figured that was the problem with the media_gallery module.
Having clean URL's enabled should be a dependency.
Comment #27
Carlos Miranda Levy commentedI confirm that applying this patch to the core field module fixes this error.
Comment #28
On_jtharpe commentedThis is still an issue for me I am running drupal 7.10. Any ideas?
Comment #29
dsemblano commentedSame here on Drupal 7.12.
I managed to resolve (after uninstalled this module) by deleting all occurrences containing "media_gallery" on the database (tables, data), before run update script. Of course, first backup your database.
Comment #30
lsolesen commentedDo you all still have the same issues with the latest Drupal version and beta7 of media_gallery?
Comment #31
lsolesen commentedCannot reproduce in 1.x-beta7.