Code:
## Simple Video Manager Alpha 1.0
#
## This script should be able to be run from Admin->Tools->Install SQL Patches
#
DROP TABLE IF EXISTS zen_simple_video_manager;
CREATE TABLE zen_simple_video_manager (
id int(10) NOT NULL auto_increment,
name varchar(255) not null,
description text,
filename varchar(255) not null,
PRIMARY KEY (ID)
) TYPE=MyISAM;
DELETE FROM zen_configuration_group WHERE configuration_group_title = 'Simple Video Manager';
INSERT INTO zen_configuration_group VALUES ('', 'Simple Video Manager', 'Set Video Manager Settings', '1', '1');
UPDATE zen_configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();
SET @t4=0;
SELECT (@t4:=configuration_group_id) as t4
FROM zen_configuration_group
WHERE configuration_group_title= 'Simple Video Manager';
INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('', 'Set the absolute path to your video folder', 'SIMPLE_VIDEO_MANAGER_ABSOLUTE_PATH', '', 'Set the absolute path to your video folder. Be sure to leave the trailing \'/\' at the end. i.e: /var/www/vhost/accountname/public_html/store/videos/', @t4, 1, NOW(), NOW(), NULL, NULL);
INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('', 'Set relative path to your video folder', 'SIMPLE_VIDEO_MANAGER_RELATIVE_PATH', '', 'Relative path is the path that can be accessed by browser. Be sure to leave the trailing \'/\' at the end. i.e: /store/videos/', @t4, 1, NOW(), NOW(), NULL, NULL);
INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('', 'Allowed file types', 'SIMPLE_VIDEO_MANAGER_FILE_TYPES', 'flv', 'Set allowed video file types, separated by comma. i.e: avi,swf,rm', @t4, 1, NOW(), NOW(), NULL, NULL);
INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('', 'Video height', 'SIMPLE_VIDEO_MANAGER_VIDEO_HEIGHT', '350', 'Set video height', @t4, 1, NOW(), NOW(), NULL, NULL);
INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('', 'Video width', 'SIMPLE_VIDEO_MANAGER_VIDEO_WIDTH', '400', 'Set video width', @t4, 1, NOW(), NOW(), NULL, NULL);
INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('', 'Video autostart', 'SIMPLE_VIDEO_MANAGER_VIDEO_AUTO_START', 'true', 'Do you want to set the video to auto start playing?', @t4, 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),');
INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('', 'Max number of links', 'SIMPLE_VIDEO_MANAGER_MAX_LINK', '5', 'Set max number of links to be displayed in sidebox', @t4, 1, NOW(), NOW(), NULL, NULL);
I always have the same error