Hi
Thanks for a great module but a did encounter some problem when a install the dev version on a Drupal 7rc2 site.
And now can a not uninstall it only get the errors bellow when a try to disable the video ftp function...

\includes\form.inc:825 17.5254 29007472 8. system_modules_submit()
\includes\form.inc:1385 17.5573 29069728 9. module_disable()
\modules\system\system.admin.inc:1174 17.5672 29079928 10. module_invoke()
\includes\module.inc:524 17.5673 29080680 11. call_user_func_array()
\includes\module.inc:793 17.5673 29080912 12. videoftp_disable()

Im only remove the checkbox in drupal for video ftp click save configuration then get a dark screen with the error message.
And after that when a reload the modul page video ftp is still active.
All other component except the core video are removed whiteout any problem.

Comments

sosiris’s picture

due to the new Database API, video.install in lines 89-103 should be (without php tags):

/**
 * Implementation of hook_uninstall().
 */
function video_uninstall() {
//  drupal_uninstall_schema('video');
// Delete all variables which begin with the namespaced "video_*".
  $video_vars = array();
  $query = "SELECT name FROM {variable} WHERE name LIKE '%video_%'";
  $video_vars = db_query($query);
  foreach ($video_vars as $result) {
    if (strpos($result->name, 'video') === 0) {
      variable_del($result->name);
    }
  }
}
hypertext200’s picture

Yes, this is from the D6 version, I will fix it.

hypertext200’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.