Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
1 queries run....
Error in upgrade 2.2.1 (22008)
46 errors found
CREATE TABLE ibf_gallery_albums ( id bigint(10) unsigned NOT NULL auto_increment, member_id mediumint(8) unsigned NOT NULL default '0', public_album tinyint(1) unsigned NOT NULL default '0', name varchar(60) NOT NULL default '', description text NULL, images bigint(10) unsigned NOT NULL default '0', comments bigint(10) unsigned NOT NULL default '0', last_pic_id INT( 10 ) UNSIGNED NOT NULL DEFAULT '0', category_id INT(10) UNSIGNED DEFAULT '0', last_pic_date VARCHAR( 13 ) NOT NULL DEFAULT '0', last_pic_name VARCHAR( 255 ) NULL, def_view VARCHAR( 50 ) NOT NULL DEFAULT 'idate:DESC:*', PRIMARY KEY (id), KEY member_id (member_id), KEY public_album (public_album), KEY category_id (category_id) );
Table 'ibf_gallery_albums' already exists
CREATE TABLE ibf_gallery_bandwidth ( bid bigint(10) unsigned NOT NULL auto_increment, member_id mediumint(8) unsigned NOT NULL default '0', file_name varchar(60) NOT NULL default '', bdate int(10) unsigned NOT NULL default '0', bsize int(10) unsigned NOT NULL default '0', PRIMARY KEY (bid), KEY file_name (file_name), KEY member_id (member_id), KEY bdate (bdate) );
Table 'ibf_gallery_bandwidth' already exists
CREATE TABLE ibf_gallery_categories ( id int(10) unsigned NOT NULL auto_increment, last_pic_name VARCHAR( 255 ) NULL, parent int(10) unsigned NOT NULL default '0', name varchar(60) NOT NULL default '', description text NULL, c_order int(10) unsigned NOT NULL default '0', images bigint(10) unsigned NOT NULL default '0', comments bigint(10) unsigned NOT NULL default '0', perms_thumbs varchar(120) NOT NULL default '', perms_view varchar(120) NOT NULL default '', perms_images varchar(120) NOT NULL default '', perms_comments varchar(120) NOT NULL default '', perms_moderate varchar(120) NOT NULL default '', allow_ibfcode tinyint(1) unsigned NOT NULL default '1', allow_html TINYINT( 1 ) UNSIGNED DEFAULT 0 NOT NULL, password varchar(60) NOT NULL default '', approve_images tinyint(1) unsigned NOT NULL default '0', imgs_per_col int(5) unsigned NOT NULL default '4', imgs_per_row int(5) unsigned NOT NULL default '5', watermark_images tinyint(1) unsigned NOT NULL default '0', thumbnail tinyint(1) unsigned NOT NULL default '1', allow_comments tinyint(1) unsigned NOT NULL default '1', approve_comments tinyint(1) unsigned NOT NULL default '0', inc_post_count tinyint(1) unsigned NOT NULL default '1', status tinyint(1) unsigned NOT NULL default '1', last_pic_id INT( 10 ) UNSIGNED NOT NULL DEFAULT '0', def_view varchar(30) default 'idate:DESC:*', rate TINYINT( 1 ) UNSIGNED DEFAULT '1' NOT NULL, allow_movies TINYINT( 1 ) UNSIGNED DEFAULT '0' NOT NULL, allow_images TINYINT( 1 ) UNSIGNED DEFAULT '1' NOT NULL, category_only TINYINT(1) UNSIGNED DEFAULT '0', album_mode TINYINT( 1 ) UNSIGNED DEFAULT '0' NOT NULL, last_member_id MEDIUMINT( 8 ) UNSIGNED NULL, mod_images int( 10 ) UNSIGNED NOT NULL default '0', cat_rule_method tinyint( 1 ) UNSIGNED NOT NULL default '0', cat_rule_title varchar( 120 ) NOT NULL default '', cat_rule_text text NULL, mem_gallery text NULL, last_pic_date VARCHAR( 13 ) NOT NULL DEFAULT '0', PRIMARY KEY (id), KEY parent (parent) ) ;
Table 'ibf_gallery_categories' already exists
CREATE TABLE ibf_gallery_comments ( pid int(10) NOT NULL auto_increment, append_edit tinyint(1) default '0', edit_time int(10) default NULL, author_id mediumint(8) NOT NULL default '0', author_name varchar(32) default NULL, use_sig tinyint(1) NOT NULL default '0', use_emo tinyint(1) NOT NULL default '0', ip_address varchar(16) NOT NULL default '', post_date int(10) default NULL, comment text NULL, approved tinyint(1) default NULL, img_id int(10) NOT NULL default '0', edit_name varchar(255) default NULL, PRIMARY KEY (pid), KEY img_id (img_id,author_id), KEY author_id (author_id), KEY ( post_date ) ) ;
Table 'ibf_gallery_comments' already exists
CREATE TABLE ibf_gallery_ecardlog ( id bigint(10) unsigned NOT NULL auto_increment, img_id bigint(10) unsigned NOT NULL default '0', edate int(10) unsigned NOT NULL default '0', member_id mediumint(8) unsigned NOT NULL default '0', receiver_name varchar(60) NOT NULL default '', receiver_email varchar(60) NOT NULL default '', title varchar(60) NOT NULL default '', msg text NULL, bg varchar(7) NOT NULL default '', font varchar(7) NOT NULL default '', border varchar(7) NOT NULL default '', PRIMARY KEY (id) ) ;
Table 'ibf_gallery_ecardlog' already exists
CREATE TABLE ibf_gallery_favorites ( id bigint(10) unsigned NOT NULL auto_increment, img_id bigint(10) unsigned NOT NULL default '0', member_id mediumint(8) unsigned NOT NULL default '0', PRIMARY KEY (id), KEY member_id (member_id) );
Table 'ibf_gallery_favorites' already exists
CREATE TABLE ibf_gallery_form_fields ( id int(10) unsigned NOT NULL auto_increment, name varchar(60) NOT NULL default '', description varchar(120) NOT NULL default '', type varchar(10) NOT NULL default '', content text NULL, required tinyint(1) unsigned NOT NULL default '0', position int(10) unsigned NOT NULL default '0', deleteable tinyint(1) unsigned NOT NULL default '0', PRIMARY KEY (id) );
Table 'ibf_gallery_form_fields' already exists
CREATE TABLE ibf_gallery_images ( id bigint(10) unsigned NOT NULL auto_increment, member_id mediumint(8) unsigned NOT NULL default '0', category_id smallint(5) unsigned NOT NULL default '0', album_id bigint(10) unsigned NOT NULL default '0', caption varchar(60) NOT NULL default '', description text NULL, directory VARCHAR( 60 ) NOT NULL default '', masked_file_name varchar(60) NOT NULL default '', medium_file_name varchar(75) NOT NULL default '', file_name varchar(60) NOT NULL default '', file_size int(10) unsigned NOT NULL default '0', file_type varchar(50) NOT NULL default '', approved tinyint(1) unsigned NOT NULL default '0', thumbnail tinyint(1) unsigned NOT NULL default '0', views bigint(10) unsigned NOT NULL default '0', comments int(10) unsigned NOT NULL default '0', idate int(10) unsigned NOT NULL default '0', ratings_total int(10) unsigned NOT NULL default '0', ratings_count int(10) unsigned NOT NULL default '0', rating tinyint( 2 ) unsigned NOT NULL default '0', pinned tinyint(1) unsigned NOT NULL default '0', lastcomment INT( 10 ) UNSIGNED DEFAULT 0 NOT NULL, media TINYINT( 1 ) UNSIGNED NOT NULL, credit_info text NULL, copyright varchar( 120 ) NOT NULL default '', metadata text NULL, media_thumb varchar(75) not null default '0', PRIMARY KEY (id), KEY category_id (category_id), KEY album_id (album_id), KEY approved (approved), KEY member_id (member_id) ) ;
Table 'ibf_gallery_images' already exists
CREATE TABLE ibf_gallery_ratings ( id bigint(10) unsigned NOT NULL auto_increment, member_id mediumint(8) unsigned NOT NULL default '0', img_id bigint(10) unsigned NOT NULL default '0', rdate int(10) unsigned NOT NULL default '0', rate smallint(1) unsigned NOT NULL default '0', PRIMARY KEY (id), KEY member_id (member_id), KEY img_id(img_id) ) ;
Table 'ibf_gallery_ratings' already exists
CREATE TABLE ibf_gallery_media_types ( id int(10) unsigned NOT NULL auto_increment, icon varchar(60) NOT NULL default '', title varchar(80) NOT NULL default '', mime_type varchar(50) NOT NULL default '', extension varchar(32) NOT NULL default '', allowed tinyint(1) unsigned NOT NULL default '0', allow_user_thumb tinyint(1) unsigned NOT NULL default '0', display_code text NULL, default_type TINYINT( 1 ) UNSIGNED DEFAULT '0' NOT NULL, PRIMARY KEY (id) ) ;
Table 'ibf_gallery_media_types' already exists
CREATE TABLE ibf_gallery_upgrade_history ( gallery_upgrade_id int(10) NOT NULL auto_increment, gallery_version_id int(10) NOT NULL default '0', gallery_version_human varchar(200) NOT NULL default '', gallery_upgrade_date int(10) NOT NULL default '0', gallery_upgrade_mid int(10) NOT NULL default '0', gallery_upgrade_notes text NULL, PRIMARY KEY (gallery_upgrade_id) );
Table 'ibf_gallery_upgrade_history' already exists
CREATE TABLE ibf_gallery_subscriptions ( sub_id INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , sub_mid INT( 10 ) NOT NULL DEFAULT '0', sub_type VARCHAR( 25 ) NOT NULL DEFAULT 'image', sub_toid INT( 10 ) NOT NULL DEFAULT '0', sub_added VARCHAR( 13 ) NOT NULL DEFAULT '0', sub_last VARCHAR( 13 ) NOT NULL DEFAULT '0', KEY ( sub_mid ) );
Table 'ibf_gallery_subscriptions' already exists
ALTER TABLE ibf_members ADD gallery_perms VARCHAR( 10 ) DEFAULT '1:1:1' NOT NULL
Duplicate column name 'gallery_perms'
ALTER TABLE ibf_groups ADD g_max_diskspace INT( 10 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_max_diskspace'
ALTER TABLE ibf_groups ADD g_max_upload INT( 10 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_max_upload'
ALTER TABLE ibf_groups ADD g_max_transfer INT( 10 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_max_transfer'
ALTER TABLE ibf_groups ADD g_max_views INT( 10 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_max_views'
ALTER TABLE ibf_groups ADD g_create_albums TINYINT( 1 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_create_albums'
ALTER TABLE ibf_groups ADD g_album_limit INT( 10 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_album_limit'
ALTER TABLE ibf_groups ADD g_img_album_limit INT( 10 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_img_album_limit'
ALTER TABLE ibf_groups ADD g_slideshows TINYINT( 1 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_slideshows'
ALTER TABLE ibf_groups ADD g_favorites TINYINT( 1 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_favorites'
ALTER TABLE ibf_groups ADD g_comment TINYINT( 1 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_comment'
ALTER TABLE ibf_groups ADD g_rate TINYINT( 1 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_rate'
ALTER TABLE ibf_groups ADD g_ecard TINYINT( 1 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_ecard'
ALTER TABLE ibf_groups ADD g_edit_own TINYINT( 1 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_edit_own'
ALTER TABLE ibf_groups ADD g_del_own TINYINT( 1 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_del_own'
ALTER TABLE ibf_groups ADD g_move_own TINYINT( 1 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_move_own'
ALTER TABLE ibf_groups ADD g_mod_albums TINYINT( 1 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_mod_albums'
ALTER TABLE ibf_groups ADD g_img_local TINYINT( 1 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_img_local'
ALTER TABLE ibf_groups ADD g_movies TINYINT( 1 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_movies'
ALTER TABLE ibf_groups ADD g_movie_size INT( 10 ) UNSIGNED default '0' NOT NULL
Duplicate column name 'g_movie_size'
ALTER TABLE ibf_groups ADD g_multi_file_limit SMALLINT(2) UNSIGNED DEFAULT 0
Duplicate column name 'g_multi_file_limit'
ALTER TABLE ibf_groups ADD g_zip_upload TINYINT(1) UNSIGNED DEFAULT 0
Duplicate column name 'g_zip_upload'
ALTER TABLE ibf_groups ADD g_can_search_gallery TINYINT( 1 ) UNSIGNED DEFAULT '0' NOT NULL
Duplicate column name 'g_can_search_gallery'
ALTER TABLE ibf_groups ADD g_gallery_use TINYINT( 1 ) NOT NULL DEFAULT '1';
Duplicate column name 'g_gallery_use'
ALTER TABLE ibf_groups ADD g_album_private TINYINT( 1 ) NOT NULL DEFAULT '1';
Duplicate column name 'g_album_private'
INSERT INTO ibf_cache_store ( cs_key , cs_value , cs_extra , cs_array ) VALUES ( 'gallery_media_types', '', '', '1' );
Duplicate entry 'gallery_media_types' for key 1
INSERT INTO ibf_cache_store ( cs_key , cs_value , cs_extra , cs_array ) VALUES ( 'gallery_stats', '', '', '1' );
Duplicate entry 'gallery_stats' for key 1
INSERT INTO ibf_cache_store ( cs_key , cs_value , cs_extra , cs_array ) VALUES ( 'gallery_post_form', '', '', '1' );
Duplicate entry 'gallery_post_form' for key 1
INSERT INTO ibf_cache_store ( cs_key , cs_value , cs_extra , cs_array ) VALUES ( 'gallery_albums', '', '', '1' );
Duplicate entry 'gallery_albums' for key 1
INSERT INTO ibf_gallery_form_fields VALUES (1, 'Caption', '', 'text', '', 0, 2, 0);
Duplicate entry '1' for key 1
INSERT INTO ibf_gallery_form_fields VALUES (2, 'Description', '', 'text', '', 0, 3, 0);
Duplicate entry '2' for key 1
INSERT INTO ibf_gallery_form_fields VALUES (3, 'Image to upload', '', 'file', '', 1, 5, 0);
Duplicate entry '3' for key 1
INSERT INTO ibf_gallery_form_fields VALUES (4, 'Upload Photo', '', 'sepr', '', 0, 4, 0);
Duplicate entry '4' for key 1
INSERT INTO ibf_gallery_form_fields VALUES (5, 'Photo Information', '', 'sepr', '', 0, 1, 0);
Duplicate entry '5' for key 1
правильно указана папка для аплоада фоток? права на папку выставлены правильно? правильно ли настроен сервер? для начала бы надо было сообщить ещё и ошибку которую пишет скрипт
Fatal error: Call to undefined function: cats_no_albums() in /home2/u17111/107clubru/www/forums/sources/components_public/gallery/category.php on line 658
$output .= $this->ipsclass->compiled_templates['skin_gallery_cats']->cats_no_albums( $all_imgs );
проблема со скином, скорее всего поможет перекеширование шаблонов, или настроить надо нормально в админке, каталоги добавить или альбомы, чтобы в них можно было постить имаги.
просто нету этой функции в skin_gallery_cats.Call to undefined function: cats_no_albums()
<table class="ipbtable">
<tr>
<td style='padding-left:0px;' width="20%" nowrap="nowrap"> </td>
<td style='padding-right:0px;' align="right" width="80%">{$info['post_button']}</td>
</tr>
</table>
<table class='ipbtable' cellspacing='1'>
<tr>
<td align="center">
<h3>{$this->ipsclass->lang['no_albums_found']}</h3>
</td>
</tr>
</table>
<table class="ipbtable">
<tr>
<td style='padding-left:0px;' width="20%" nowrap="nowrap"> </td>
<td style='padding-right:0px;' align="right" width="80%">{$info['post_button']}</td>
</tr>
</table>
почему непонять на что?
просто нету этой функции в skin_gallery_cats.
Попробуй вручную добавить шаблон cats_no_albums в группе skin_gallery_cats.
Входящая переменная $info
Содержимое шаблона
Код:<table class="ipbtable"> <tr> <td style='padding-left:0px;' width="20%" nowrap="nowrap"> </td> <td style='padding-right:0px;' align="right" width="80%">{$info['post_button']}</td> </tr> </table> <table class='ipbtable' cellspacing='1'> <tr> <td align="center"> <h3>{$this->ipsclass->lang['no_albums_found']}</h3> </td> </tr> </table> <table class="ipbtable"> <tr> <td style='padding-left:0px;' width="20%" nowrap="nowrap"> </td> <td style='padding-right:0px;' align="right" width="80%">{$info['post_button']}</td> </tr> </table>