video embed still not working - gallery log attached

cprusa

Joined: 2012-08-07
Posts: 2
Posted: Fri, 2012-08-10 22:54

Still having a problem with video embed not working all in my gallery 3.02. I noticed when comparing the page source of successful embed pages and ones that did not work properly was that the java script below the <body> tag is not showing up in the problematic pages.

Good embed pages -

<body>
<script type="text/javascript">
$(document).ready(function() {
$("#g-photo").replaceWith("<div id=\"g-movie\" class=\"ui-helper-clearfix\"><iframe class=\"youtube-player\" type=\"text/html\" width=\"650\" height=\"480\" src=\"http://www.youtube.com/embed/1kt07pmzTGM\" frameborder=\"0\"></iframe></div>");
});
</script>

The problem embed pages are missing this java script.

I also noticed when running fix your gallery that I received the message "The view_5 property does not exist in the Access_intent_Model class". My web Host has confirmed that allow url f_open is still enabled.

Here is the gallery log file after running "fix my gallery":

Task Fix your Gallery started (task id 72)
exception 'Kohana_Exception' with message 'The view_5 property does not exist in the Access_intent_Model class' in /home/siweath/public_html/gallery3/system/libraries/ORM.php:398
Stack trace:
#0 /home/siweath/public_html/gallery3/modules/gallery/helpers/access.php(528): ORM_Core->__get('view_5')
#1 /home/siweath/public_html/gallery3/modules/gallery/helpers/access.php(280): access_Core::_update_access_view_cache(Object(Group_Model), Object(Item_Model))
#2 /home/siweath/public_html/gallery3/modules/gallery/helpers/gallery_task.php(586): access_Core::recalculate_album_permissions(Object(Item_Model))
#3 /home/siweath/public_html/gallery3/modules/gallery/helpers/task.php(90): gallery_task_Core::fix(Object(Task_Model))
#4 /home/siweath/public_html/gallery3/modules/gallery/controllers/admin_maintenance.php(194): task_Core::run('gallery_task::f...', Array)
#5 /home/siweath/public_html/gallery3/modules/gallery/controllers/admin.php(62): Admin_Maintenance_Controller->run('72')
#6 [internal function]: Admin_Controller->__call('72')
#7 /home/siweath/public_html/gallery3/system/core/Kohana.php(331): ReflectionMethod->invokeArgs(Array, Array)
#8 /home/siweath/public_html/gallery3/system/core/Event.php(208): Kohana_Core::instance('maintenance', Array)
#9 /home/siweath/public_html/gallery3/application/Bootstrap.php(67): Event_Core::run(Object(Admin_Controller), Array)
#10 /home/siweath/public_html/gallery3/index.php(102): require('/home/siweath/p...')
#11 {main}

I noticed when I disable the "noffmeg" module this error went away. I disabled it and then deleted it via ftp. I reinstalled a fresh copy of the noffmpeg module and enabled it. The error message came right back when I ran fix your gallery again. I also noticed that I'm unable to edit album permissions in the gallery. The permissions are still editable via ftp. No thumbnails are being made for new uploads whether its a photo or a video. The thumbnails do show after a rebuild from the admin area. But the embedded. Videos still do not play but show a thumb after a rebuild. My php info shows that gd & allow url f_open are enabled. Here is the link for reference: http://si-weather.com/gallery3/phpinfo.php

Thanks for any help with this issue.