Asset Gallery: System Error when accessing Custom Fields in UI

merv.forney's Avatar

merv.forney

02 Dec, 2014 02:08 PM

This appears to be the perfect plugin for a client requesting Galleries in their website.
I uploaded all the required files, upgrade appeared to finish normally but get this error when attempting to define my gallery custom field on the blog:

failed loading package AssetGallery for routine AssetGallery::load_customfield_type: Attempt to reload AssetGallery.pm aborted. Compilation failed in require

Movable Type Pro version 4.37 with:
Community Pack 1.652,
Configuration Assistant 2.1.12,
Professional Pack 1.311
Asset Gallery version: 1.2.8

After nosing around and re-reading the documentation I noticed some discrepancies on where the static files are place by Static.pm. The static files were put in mt-static => Support => plugins.

The code to be put in the header points to mt-static => plugins, etc.

My theme is in mt-static => support.

What am I missing? Do I have incompatible Config Assistant and Asset Gallery?
Seems like the file pointers to where things are supposed to be are not in the right place.

Help is immensely appreciated.
Merv Forney

PS: From the MT system log:
Asset Gallery died with: failed loading package AssetGallery for routine AssetGallery::init_app: Attempt to reload AssetGallery.pm aborted. Compilation failed in require at lib/MT.pm line 2946. at lib/MT.pm line 2946. MT::handler_to_coderef("MT", "\$AssetGallery::AssetGallery::init_app") called at lib/MT/Component.pm line 223 MT::Component::on_init_app(MT::Callback=HASH( 0xae4c7e8), MT::App::CMS=HASH(0xa49f748), "App", "MT::App::CMS") called at lib/MT/Callback.pm line 35 MT::Callback::invoke(MT::Callback=HASH(0xae4c 7e8), MT::App::CMS=HASH(0xa49f748), "App", "MT::App::CMS") called at lib/MT.pm line 639 eval {...} called at lib/MT.pm line 637 MT::run_callback(MT::App::CMS=HASH(0xa49f748) , MT::Callback=HASH(0xae4c7e8), MT::App::CMS=HASH(0xa49f748), "App", "MT::App::CMS") called at lib/MT.pm line 730 MT::run_callbacks(MT::App::CMS=HASH(0xa49f748 ), "MT::App::CMS::init_app", MT::App::CMS=HASH(0xa49f748), "App", "MT::App::CMS") called at lib/MT/App.pm line 694 MT::App::run_callbacks(MT::App::CMS=HASH(0xa4 9f748), "init_app", MT::App::CMS=HASH(0xa49f748), "App", "MT::App::CMS") called at lib/MT/App.pm line 654 MT::App::init(MT::App::CMS=HASH(0xa49f748), "App", "MT::App::CMS") called at lib/MT/App/CMS.pm line 24 MT::App::CMS::init(MT::App::CMS=HASH(0xa49f74 8), "App", "MT::App::CMS") called at lib/MT.pm line 275 MT::construct("MT::App::CMS", "App", "MT::App::CMS") called at lib/MT.pm line 268 MT::instance_of called at lib/MT.pm line 261 MT::new("MT::App::CMS", "App", "MT::App::CMS") called at lib/MT/Bootstrap.pm line 133 eval {...} called at lib/MT/Bootstrap.pm line 76 MT::Bootstrap::import("MT::Bootstrap", "App", "MT::App::CMS") called at mt.cgi line 11 main::BEGIN() called at mt.cgi line 11 eval {...} called at mt.cgi line 11

And ...
Unnamed plugin died with: failed loading package AssetGallery for routine AssetGallery::load_customfield_type: Can't locate Digest/SHA1.pm in @INC (@INC contains: /home/overlook/www/www/cgi-bin/mt/plugins/Fac ebookCommenters/extlib /home/overlook/www/www/cgi-bin/mt/plugins/Fac ebookCommenters/lib /home/overlook/www/www/cgi-bin/mt/plugins/Ass etGallery/lib /home/overlook/www/www/cgi-bin/mt/plugins/Not ifier/lib /home/overlook/www/www/cgi-bin/mt/plugins/Sty leCatcher/lib /home/overlook/www/www/cgi-bin/mt/plugins/Enh ancedMemberListing/lib /home/overlook/www/www/cgi-bin/mt/plugins/Mul tiBlog/lib /home/overlook/www/www/cgi-bin/mt/plugins/Mot ion/lib /home/overlook/www/www/cgi-bin/mt/plugins/Ord er/lib /home/overlook/www/www/cgi-bin/mt/plugins/Qui ckRebuild/lib /home/overlook/www/www/cgi-bin/mt/plugins/spa mlookup/lib /home/overlook/www/www/cgi-bin/mt/plugins/Tin yMCE/lib /home/overlook/www/www/cgi-bin/mt/plugins/mt- patch-user-profile-cf-5622f70/extlib /home/overlook/www/www/cgi-bin/mt/plugins/mt- patch-user-profile-cf-5622f70/lib /home/overlook/www/www/cgi-bin/mt/plugins/fee ds-app-lite/lib /home/overlook/www/www/cgi-bin/mt/plugins/Typ ePadAntiSpam/lib /home/overlook/www/www/cgi-bin/mt/plugins/Wid getManager/lib /home/overlook/www/www/cgi-bin/mt/plugins/Emu lateIE/lib /home/overlook/www/www/cgi-bin/mt/plugins/Com munityActionStreams/lib /home/overlook/www/www/cgi-bin/mt/plugins/Act ionStreams/extlib /home/overlook/www/www/cgi-bin/mt/plugins/Act ionStreams/lib /home/overlook/www/www/cgi-bin/mt/addons/Comm unity.pack/lib /home/overlook/www/www/cgi-bin/mt/addons/Comm ercial.pack/lib /home/overlook/www/www/cgi-bin/mt/addons/Conf igAssistant.pack/extlib /home/overlook/www/www/cgi-bin/mt/addons/Conf igAssistant.pack/lib /home/overlook/www/www/cgi-bin/mt/extlib /home/overlook/www/www/cgi-bin/mt/extlib lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at /home/overlook/www/www/cgi-bin/mt/plugins/Ass etGallery/lib/AssetGallery.pm line 6. BEGIN failed--compilation aborted at /home/overlook/www/www/cgi-bin/mt/plugins/Ass etGallery/lib/AssetGallery.pm line 6. Compilation failed in require at lib/MT.pm line 2946. at lib/MT.pm line 2946. MT::handler_to_coderef("MT", "\$AssetGallery::AssetGallery::load_customfie ld_type") called at lib/MT/Component.pm line 526 MT::Component::registry(MT::Plugin=HASH(0x9f0 9d08), "customfield_types") called at lib/MT/Component.pm line 558 MT::Component::registry("MT::Component", "customfield_types") called at lib/MT.pm line 353 MT::registry("MT", "customfield_types") called at /home/overlook/www/www/cgi-bin/mt/addons/Comm ercial.pack/lib/CustomFields/Util.pm line 38 CustomFields::Util::load_meta_fields(MT::Call back=HASH(0x990bc0c), MT::App::CMS=HASH(0x9540c0c), HASH(0x9575ea0)) called at lib/MT.pm line 2973 MT::__ANON__(MT::Callback=HASH(0x990bc0c), MT::App::CMS=HASH(0x9540c0c), HASH(0x9575ea0)) called at lib/MT/Callback.pm line 35 MT::Callback::invoke(MT::Callback=HASH(0x990b c0c), MT::App::CMS=HASH(0x9540c0c), HASH(0x9575ea0)) called at lib/MT.pm line 639 eval {...} called at lib/MT.pm line 637 MT::run_callback(MT::App::CMS=HASH(0x9540c0c) , MT::Callback=HASH(0x990bc0c), MT::App::CMS=HASH(0x9540c0c), HASH(0x9575ea0)) called at lib/MT.pm line 730 MT::run_callbacks(MT::App::CMS=HASH(0x9540c0c ), "MT::App::CMS::post_init", MT::App::CMS=HASH(0x9540c0c), HASH(0x9575ea0)) called at lib/MT/App.pm line 694 MT::App::run_callbacks(MT::App::CMS=HASH(0x95 40c0c), "post_init", MT::App::CMS=HASH(0x9540c0c), HASH(0x9575ea0)) called at lib/MT.pm line 1167 MT::init(MT::App::CMS=HASH(0x9540c0c), "App", "MT::App::CMS") called at lib/MT/App.pm line 648 MT::App::init(MT::App::CMS=HASH(0x9540c0c), "App", "MT::App::CMS") called at lib/MT/App/CMS.pm line 24 MT::App::CMS::init(MT::App::CMS=HASH(0x9540c0 c), "App", "MT::App::CMS") called at lib/MT.pm line 275 MT::construct("MT::App::CMS", "App", "MT::App::CMS") called at lib/MT.pm line 268 MT::instance_of called at lib/MT.pm line 261 MT::new("MT::App::CMS", "App", "MT::App::CMS") called at lib/MT/Bootstrap.pm line 133 eval {...} called at lib/MT/Bootstrap.pm line 76 MT::Bootstrap::import("MT::Bootstrap", "App", "MT::App::CMS") called at mt.cgi line 11 main::BEGIN() called at mt.cgi line 11 eval {...} called at mt.cgi line 11

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac