UCSCLibrary / YouTubeImport

This Omeka plugin adds the ability to import Youtube videos into Omeka as items while preserving as much metadata as possible
8 stars 10 forks source link

Fatal error on install, and then Omeka_Record_Exception when viewing any item #31

Open ambivalentmaybe opened 6 years ago

ambivalentmaybe commented 6 years ago

We have a small, new, Omeka install. When installing the YouTube plugin I got this message, though going back to the site the plugin appeared was installed and appeared to be working:

Fatal error: Uncaught Error: Class 'YoutubeImport_ImportHelper' not found in /var/www/stories/plugins/YouTubeImport/YouTubeImportPlugin.php:101

With the YouTube plugin installed and activated, whenever we attempt to view an item, we get this error (though the items can be edited without encountering errors):

Omeka_Record_Exception: There is no element "Item Type Metadata", "Player"! in /var/www/stories/application/models/Mixin/ElementText.php:292

When I deactivate the YouTube plugin the errors don't occur. They re-occur if I reactive the plugin.

NedHenry commented 6 years ago

Thanks a lot for reporting this. It is a probable bug. We don't have a ton of development resources for this plugin at the moment, and would welcome any help from the community in addressing this. Thanks again!

On Thu, Nov 1, 2018 at 1:14 PM ambivalentmaybe notifications@github.com wrote:

We have a small, new, Omeka install. When installing the YouTube plugin I got this message, though going back to the site the plugin appeared was installed and appeared to be working:

Fatal error: Uncaught Error: Class 'YoutubeImport_ImportHelper' not found in /var/www/stories/plugins/YouTubeImport/YouTubeImportPlugin.php:101

With the YouTube plugin installed and activated, whenever we attempt to view an item, we get this error (though the items can be edited without encountering errors):

Omeka_Record_Exception: There is no element "Item Type Metadata", "Player"! in /var/www/stories/application/models/Mixin/ElementText.php:292

When I deactivate the YouTube plugin the errors don't occur. They re-occur if I reactive the plugin.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/UCSCLibrary/YouTubeImport/issues/31, or mute the thread https://github.com/notifications/unsubscribe-auth/AGCJ-P3vEv5PWkpKPwP7FCsTkzfmOlgEks5uq1Y5gaJpZM4YI5O- .

dauten commented 5 years ago

I had no issue installing the plugin but got the same Omeka Record Exception when trying to view items with it active. As a workaround until its fixed, create a new Item Type with the Element "Player" and items will load fine.