Probleempje

Installatie lukt niet? Plotseling een foutmelding. Of weet je niet hoe iets werkt. Problemen met phpBB2 kun je in dit archief opzoeken.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Makavelibrox
Berichten: 402
Lid geworden op: 01 jul 2005, 18:02
Contacteer:

Bericht door Makavelibrox » 01 okt 2005, 19:33

Categories hierarchy geeft deze error:
Makavelibrox schreef: SQL request not achieved:

* reason: 1054 - Unknown column 'icon_auth' in 'field list'
* file: class_install.php, line: 733
* request: INSERT INTO phpbb_icons (icon_name, icon_url, icon_auth, icon_types, icon_order) VALUES ('icon_note', 'images/icons/icon1.gif', '', '0', 10), ('icon_important', 'images/icons/icon2.gif', '', '1', 20), ('icon_idea', 'images/icons/icon3.gif', '', '', 30), ('icon_warning', 'images/icons/icon4.gif', '', '2, 3', 40), ('icon_question', 'images/icons/icon5.gif', '', '', 50), ('icon_cool', 'images/icons/icon6.gif', '', '', 60), ('icon_funny', 'images/icons/icon7.gif', '', '', 70), ('icon_angry', 'images/icons/icon8.gif', '', '', 80), ('icon_sad', 'images/icons/icon9.gif', '', '', 90), ('icon_mocker', 'images/icons/icon10.gif', '', '', 100), ('icon_shocked', 'images/icons/icon11.gif', '', '', 110), ('icon_complicity', 'images/icons/icon12.gif', '', '', 120), ('icon_bad', 'images/icons/icon13.gif', '', '', 130), ('icon_great', 'images/icons/icon14.gif', '', '', 140), ('icon_disgusting', 'images/icons/icon15.gif', '', '', 150), ('icon_winner', 'images/icons/icon16.gif', '', '', 160), ('icon_impressed', 'images/icons/icon17.gif', '', '', 170), ('icon_roleplay', 'images/icons/icon18.gif', '', '', 180), ('icon_fight', 'images/icons/icon19.gif', '', '', 190), ('icon_loot', 'images/icons/icon20.gif', '', '', 200), ('icon_picture', 'images/icons/icon21.gif', 'auth_mod', '', 210), ('icon_calendar', 'images/icons/icon22.gif', 'auth_mod', '', 220)

The database structure has been modified.
The cache/ directory is not available to store caches. Caches processes are so disabled.
Config table has been populated.
The authorisations presets table has been populated.
Om die error te verhelpen, moet ik phpmyadmin gebruiken en phpmyadmin geeft deze error aan:
Makavelibrox schreef: Welkom op phpMyAdmin 2.6.4-pl1

phpMyAdmin probeerde met de MySQL server te verbinden maar de server weigerde de verbinding. Controleer de host, de gebruikersnaam en het wachtwoord in config.inc.php en zorg er voor dat deze overeenkomen met de informatie die u van de Beheerder van de MySQL server kreeg.
Fout

MySQL retourneerde: Documentatie
#1045 - Access denied for user 'root'@'localhost' (using password: NO)

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 01 okt 2005, 19:48

Dan zijn de gegevens dus niet goed ingevuld ;)
Welk bestand van phpmyadmin bewerkte je? En was dat de eerste keer dat je dat deel tegenkwam in die file?

Makavelibrox
Berichten: 402
Lid geworden op: 01 jul 2005, 18:02
Contacteer:

Bericht door Makavelibrox » 01 okt 2005, 19:51

config.inc.php

Dan met de search de 1e optie die ik tegenkwam

Code: Selecteer alles

['Servers'][$i]['user']          = 'root';      // 'XXX';
$cfg['Servers'][$i]['password']      = '';          // 'XXX';

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 01 okt 2005, 19:58

Geef dat stuk eens, vanaf $i = 0;?

Makavelibrox
Berichten: 402
Lid geworden op: 01 jul 2005, 18:02
Contacteer:

Bericht door Makavelibrox » 01 okt 2005, 20:28

config.inc.php

Code: Selecteer alles

CENSORED
beetje lang uitgevallen :)
Laatst gewijzigd door Makavelibrox op 01 okt 2005, 20:54, 1 keer totaal gewijzigd.

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 01 okt 2005, 20:33

Maak van:

Code: Selecteer alles

$cfg['Servers'][$i]['host']          = 'localhost'; // MySQL hostname or IP address 
$cfg['Servers'][$i]['port']          = '';          // MySQL port - leave blank for default port 
$cfg['Servers'][$i]['socket']        = '';          // Path to the socket - leave blank for default socket 
$cfg['Servers'][$i]['connect_type']  = 'tcp';       // How to connect to MySQL server ('tcp' or 'socket') 
$cfg['Servers'][$i]['extension']     = 'mysql';     // The php MySQL extension to use ('mysql' or 'mysqli') 
$cfg['Servers'][$i]['compress']      = FALSE;       // Use compressed protocol for the MySQL connection 
                                                    // (requires PHP >= 4.3.0) 
$cfg['Servers'][$i]['controluser']   = '';          // XX 
                                                    // (this user must have read-only 
$cfg['Servers'][$i]['controlpass']   = '';          // access to the "mysql/user" 
                                                    // and "mysql/db" tables). 
                                                    // The controluser is also 
                                                    // used for all relational 
                                                    // features (pmadb) 
$cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)? 
$cfg['Servers'][$i]['user']          = 'root';      // 'XX'; 
$cfg['Servers'][$i]['password']      = '';          // XXX'; 
Dit:

Code: Selecteer alles

$cfg['Servers'][$i]['host']          = 'localhost'; // MySQL hostname or IP address 
$cfg['Servers'][$i]['port']          = '';          // MySQL port - leave blank for default port 
$cfg['Servers'][$i]['socket']        = '';          // Path to the socket - leave blank for default socket 
$cfg['Servers'][$i]['connect_type']  = 'tcp';       // How to connect to MySQL server ('tcp' or 'socket') 
$cfg['Servers'][$i]['extension']     = 'mysql';     // The php MySQL extension to use ('mysql' or 'mysqli') 
$cfg['Servers'][$i]['compress']      = FALSE;       // Use compressed protocol for the MySQL connection 
                                                    // (requires PHP >= 4.3.0) 
$cfg['Servers'][$i]['controluser']   = '';          // XX 
                                                    // (this user must have read-only 
$cfg['Servers'][$i]['controlpass']   = '';          // access to the "mysql/user" 
                                                    // and "mysql/db" tables). 
                                                    // The controluser is also 
                                                    // used for all relational 
                                                    // features (pmadb) 
$cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication method (config, http or cookie based)? 
$cfg['Servers'][$i]['user']          = 'JOUW_MYSQL_GEBRUIKERSNAAM';      // 'XX'; 
$cfg['Servers'][$i]['password']      = 'JOUW_MYSQL_WACHTWOORD';          // XXX'; 
En verander JOUW_MYSQL_GEBRUIKERSNAAM in de mysql gebruikersnaam, die ook in config.php staat, en JOUW_MYSQL_WACHTWOORD in jouw mysql wachtwoord ;)

Gebruikersavatar
Bee
Berichten: 13403
Lid geworden op: 29 aug 2004, 10:30

Bericht door Bee » 01 okt 2005, 20:35

Dit vind ik niet veilig genoeg voor een publiek toegankelijke phpMyAdmin. Zet de auth in ieder geval op http of cookie.
... Maar ik modereer (nog) niet.

Makavelibrox
Berichten: 402
Lid geworden op: 01 jul 2005, 18:02
Contacteer:

Bericht door Makavelibrox » 01 okt 2005, 20:54

Retestrak, het draait, nu ff verder klooien :D

Paulus, wil jij je code's ook CENSOREREN :bier:


EDIT: Te vreog gejuiched, de tabel phpbb_icons heb ik verwijderd, maar nu moet ik dit opnieuw creeren:

Code: Selecteer alles

BEGIN TRANSACTION
GO

ALTER TABLE [phpbb_forums] DROP COLUMN [forum_type]
GO

ALTER TABLE [phpbb_forums] ADD [forum_type] [char] (1)
GO

ALTER TABLE [phpbb_forums] ADD [forum_main] [smallint]
GO

ALTER TABLE [phpbb_forums] ADD [auth_global_announce] [smallint]
GO

ALTER TABLE [phpbb_forums] ADD [forum_last_title] [varchar] (255) NULL
GO

ALTER TABLE [phpbb_forums] ADD [forum_last_poster] [bigint]
GO

ALTER TABLE [phpbb_forums] ADD [forum_last_username] [varchar] (25) NULL
GO

ALTER TABLE [phpbb_forums] ADD [forum_last_time] [int]
GO

ALTER TABLE [phpbb_forums] ADD [forum_link] [varchar] (255) NULL
GO

ALTER TABLE [phpbb_forums] ADD [forum_link_hit_count] [smallint]
GO

ALTER TABLE [phpbb_forums] ADD [forum_link_hit] [bigint]
GO

ALTER TABLE [phpbb_forums] ADD [forum_link_start] [int]
GO

ALTER TABLE [phpbb_forums] ADD [forum_style] [smallint]
GO

ALTER TABLE [phpbb_forums] ADD [forum_nav_icon] [varchar] (255) NULL
GO

ALTER TABLE [phpbb_forums] ADD [forum_icon] [varchar] (255) NULL
GO

ALTER TABLE [phpbb_forums] ADD [forum_topics_ppage] [smallint]
GO

ALTER TABLE [phpbb_forums] ADD [forum_topics_sort] [varchar] (25) NULL
GO

ALTER TABLE [phpbb_forums] ADD [forum_topics_order] [varchar] (4) NULL
GO

ALTER TABLE [phpbb_forums] ADD [forum_index_pack] [smallint]
GO

ALTER TABLE [phpbb_forums] ADD [forum_index_split] [smallint]
GO

ALTER TABLE [phpbb_forums] ADD [forum_board_box] [smallint]
GO

ALTER TABLE [phpbb_forums] ADD [forum_subs_hidden] [smallint]
GO

UPDATE [phpbb_forums] SET
	forum_type = 'f',
	forum_main = 0,
	auth_global_announce = 0,
	forum_last_poster = 0,
	forum_last_time = 0,
	forum_link_hit_count = 0,
	forum_link_hit = 0,
	forum_link_start = 0,
	forum_style = 0,
	forum_topics_ppage = 0,
	forum_index_pack = 0,
	forum_index_split = 0,
	forum_board_box = 0,
	forum_subs_hidden = 0
GO

ALTER TABLE [phpbb_forums] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_forums_forum_type] NOT NULL DEFAULT ('f') FOR [forum_type],
	CONSTRAINT [DF_phpbb_forums_forum_main] NOT NULL DEFAULT (0) FOR [forum_main],
	CONSTRAINT [DF_phpbb_forums_auth_global_announce] NOT NULL DEFAULT (0) FOR [auth_global_announce],
	CONSTRAINT [DF_phpbb_forums_forum_last_poster] NOT NULL DEFAULT (0) FOR [forum_last_poster],
	CONSTRAINT [DF_phpbb_forums_forum_last_time] NOT NULL DEFAULT (0) FOR [forum_last_time],
	CONSTRAINT [DF_phpbb_forums_forum_link_hit_count] NOT NULL DEFAULT (0) FOR [forum_link_hit_count],
	CONSTRAINT [DF_phpbb_forums_forum_link_hit] NOT NULL DEFAULT (0) FOR [forum_link_hit],
	CONSTRAINT [DF_phpbb_forums_forum_link_start] NOT NULL DEFAULT (0) FOR [forum_link_start],
	CONSTRAINT [DF_phpbb_forums_forum_style] NOT NULL DEFAULT (0) FOR [forum_style],
	CONSTRAINT [DF_phpbb_forums_forum_topics_ppage] NOT NULL DEFAULT (0) FOR [forum_topics_ppage],
	CONSTRAINT [DF_phpbb_forums_forum_index_pack] NOT NULL DEFAULT (0) FOR [forum_index_pack],
	CONSTRAINT [DF_phpbb_forums_forum_index_split] NOT NULL DEFAULT (0) FOR [forum_index_split],
	CONSTRAINT [DF_phpbb_forums_forum_board_box] NOT NULL DEFAULT (0) FOR [forum_board_box],
	CONSTRAINT [DF_phpbb_forums_forum_subs_hidden] NOT NULL DEFAULT (0) FOR [forum_subs_hidden]
GO


ALTER TABLE [phpbb_auth_access] ADD [auth_global_announce] [smallint]
GO

UPDATE [phpbb_auth_access] SET
	auth_global_announce = 0
GO

ALTER TABLE [phpbb_auth_access] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_auth_access_auth_global_announce] NOT NULL DEFAULT (0) FOR [auth_global_announce]
GO


ALTER TABLE [phpbb_topics] ADD [topic_sub_type] [bigint]
GO

ALTER TABLE [phpbb_topics] ADD [topic_sub_title] [varchar] (255) NULL
GO

ALTER TABLE [phpbb_topics] ADD [topic_first_username] [varchar] (25) NULL
GO

ALTER TABLE [phpbb_topics] ADD [topic_last_poster] [bigint]
GO

ALTER TABLE [phpbb_topics] ADD [topic_last_username] [varchar] (25) NULL
GO

ALTER TABLE [phpbb_topics] ADD [topic_last_time] [int]
GO

ALTER TABLE [phpbb_topics] ADD [topic_icon] [smallint]
GO

ALTER TABLE [phpbb_topics] ADD [topic_duration] [int]
GO

ALTER TABLE [phpbb_topics] CHANGE [topic_title] [topic_title] [varchar] (255)
GO

UPDATE [phpbb_topics] SET
	topic_sub_type = 0,
	topic_last_poster = 0,
	topic_last_time = 0,
	topic_icon = 0,
	topic_duration = 0,
	topic_title = ''
GO

ALTER TABLE [phpbb_topics] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_topics_topic_sub_type] NOT NULL DEFAULT (0) FOR [topic_sub_type],
	CONSTRAINT [DF_phpbb_topics_topic_last_poster] NOT NULL DEFAULT (0) FOR [topic_last_poster],
	CONSTRAINT [DF_phpbb_topics_topic_last_time] NOT NULL DEFAULT (0) FOR [topic_last_time],
	CONSTRAINT [DF_phpbb_topics_topic_icon] NOT NULL DEFAULT (0) FOR [topic_icon],
	CONSTRAINT [DF_phpbb_topics_topic_duration] NOT NULL DEFAULT (0) FOR [topic_duration],
	CONSTRAINT [DF_phpbb_topics_topic_title] NOT NULL DEFAULT ('') FOR [topic_title]
GO


ALTER TABLE [phpbb_posts] ADD [post_icon] [smallint]
GO

UPDATE [phpbb_posts] SET
	post_icon = 0
GO

ALTER TABLE [phpbb_posts] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_posts_post_icon] NOT NULL DEFAULT (0) FOR [post_icon]
GO


ALTER TABLE [phpbb_posts_text] ADD [post_sub_title] [varchar] (255) NULL
GO

ALTER TABLE [phpbb_posts_text] CHANGE [post_subject] [post_subject] [varchar] (255) NULL
GO


ALTER TABLE [phpbb_users] ADD [user_unread_date] [int]
GO

ALTER TABLE [phpbb_users] ADD [user_unread_topics] [text] NULL
GO

ALTER TABLE [phpbb_users] ADD [user_keep_unreads] [smallint]
GO

ALTER TABLE [phpbb_users] ADD [user_topics_sort] [varchar] (25)
GO

ALTER TABLE [phpbb_users] ADD [user_topics_order] [varchar] (4)
GO

ALTER TABLE [phpbb_users] ADD [user_smart_date] [smallint]
GO

ALTER TABLE [phpbb_users] ADD [user_dst] [smallint]
GO

ALTER TABLE [phpbb_users] ADD [user_board_box] [smallint]
GO

ALTER TABLE [phpbb_users] ADD [user_index_pack] [smallint]
GO

ALTER TABLE [phpbb_users] ADD [user_index_split] [smallint]
GO

ALTER TABLE [phpbb_users] ADD [user_session_logged] [smallint]
GO

UPDATE [phpbb_users] SET
	user_unread_date = 0,
	user_keep_unreads = 0,
	user_topics_sort = '',
	user_topics_order = '',
	user_smart_date = 0,
	user_dst = 0,
	user_board_box = 0,
	user_index_pack = 0,
	user_index_split = 0,
	user_session_logged = 0
GO

ALTER TABLE [phpbb_users] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_users_user_unread_date] NOT NULL DEFAULT (0) FOR [user_unread_date],
	CONSTRAINT [DF_phpbb_users_user_keep_unreads] NOT NULL DEFAULT (0) FOR [user_keep_unreads],
	CONSTRAINT [DF_phpbb_users_user_topics_sort] NOT NULL DEFAULT ('') FOR [user_topics_sort],
	CONSTRAINT [DF_phpbb_users_user_topics_order] NOT NULL DEFAULT ('') FOR [user_topics_order],
	CONSTRAINT [DF_phpbb_users_user_smart_date] NOT NULL DEFAULT (0) FOR [user_smart_date],
	CONSTRAINT [DF_phpbb_users_user_dst] NOT NULL DEFAULT (0) FOR [user_dst],
	CONSTRAINT [DF_phpbb_users_user_board_box] NOT NULL DEFAULT (0) FOR [user_board_box],
	CONSTRAINT [DF_phpbb_users_user_index_pack] NOT NULL DEFAULT (0) FOR [user_index_pack],
	CONSTRAINT [DF_phpbb_users_user_index_split] NOT NULL DEFAULT (0) FOR [user_index_split],
	CONSTRAINT [DF_phpbb_users_user_session_logged] NOT NULL DEFAULT (0) FOR [user_session_logged]
GO


ALTER TABLE [phpbb_groups] ADD [group_status] [smallint]
GO

ALTER TABLE [phpbb_groups] ADD [group_user_id] [bigint]
GO

ALTER TABLE [phpbb_groups] ADD [group_user_list] [text]
GO

UPDATE [phpbb_groups] SET
	group_status = 0,
	group_user_id = 0,
	group_user_list = 0
GO

ALTER TABLE [phpbb_groups] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_groups_group_status] NOT NULL DEFAULT (0) FOR [group_status],
	CONSTRAINT [DF_phpbb_groups_group_user_id] NOT NULL DEFAULT (0) FOR [group_user_id],
	CONSTRAINT [DF_phpbb_groups_group_user_list] NOT NULL DEFAULT ('') FOR [group_user_list]
GO


ALTER TABLE [phpbb_themes] ADD [images_pack] [varchar] (100)
GO

ALTER TABLE [phpbb_themes] ADD [custom_tpls] [varchar] (100)
GO

UPDATE [phpbb_themes] SET
	themes_images_pack = '',
	themes_custom_tpls = ''
GO

ALTER TABLE [phpbb_themes] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_themes_images_pack] NOT NULL DEFAULT ('') FOR [images_pack],
	CONSTRAINT [DF_phpbb_themes_custom_tpls] NOT NULL DEFAULT ('') FOR [custom_tpls]
GO


CREATE TABLE [phpbb_users_cache] (
  [user_id] [bigint],
  [cache_id] [varchar] (5),
  [cache_data] [text] NULL,
  [cache_time] [int] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

ALTER TABLE [phpbb_users_cache] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_users_cache_user_id] NOT NULL DEFAULT (0) FOR [user_id],
	CONSTRAINT [DF_phpbb_users_cache_cache_id] NOT NULL DEFAULT ('') FOR [cache_id],
	CONSTRAINT [PK_phpbb_users_cache] PRIMARY KEY CLUSTERED ([user_id], [cache_id]) ON [PRIMARY]
GO


CREATE TABLE [phpbb_presets] (
  [preset_id] [bigint] IDENTITY (1,1) NOT NULL,
  [preset_type] [varchar] (5),
  [preset_name] [varchar] (50)
) ON [PRIMARY]
GO

ALTER TABLE [phpbb_presets] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_presets_preset_type] NOT NULL DEFAULT ('') FOR [preset_type],
	CONSTRAINT [DF_phpbb_presets_preset_name] NOT NULL DEFAULT ('') FOR [preset_name],
	CONSTRAINT [PK_phpbb_presets] PRIMARY KEY CLUSTERED ([preset_id]) ON [PRIMARY]
GO


CREATE TABLE [phpbb_presets_data] (
  [preset_id] [bigint],
  [preset_auth] [varchar] (50),
  [preset_value] [smallint]
) ON [PRIMARY]
GO

ALTER TABLE [phpbb_presets_data] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_presets_data_preset_id] NOT NULL DEFAULT (0) FOR [preset_id],
	CONSTRAINT [DF_phpbb_presets_data_preset_auth] NOT NULL DEFAULT ('') FOR [preset_auth],
	CONSTRAINT [DF_phpbb_presets_data_preset_value] NOT NULL DEFAULT (0) FOR [preset_value],
	CONSTRAINT [PK_phpbb_presets_data] PRIMARY KEY CLUSTERED ([preset_id], [preset_auth]) ON [PRIMARY]
GO


CREATE TABLE [phpbb_icons] (
  [icon_id] [bigint] IDENTITY (1,1) NOT NULL,
  [icon_name] [varchar] (50),
  [icon_url] [varchar] (255),
  [icon_auth] [varchar] (50),
  [icon_types] [varchar] (255) NULL,
  [icon_order] [bigint]
) ON [PRIMARY]
GO

ALTER TABLE [phpbb_icons] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_icons_icon_name] NOT NULL DEFAULT ('') FOR [icon_name],
	CONSTRAINT [DF_phpbb_icons_icon_url] NOT NULL DEFAULT ('') FOR [icon_url],
	CONSTRAINT [DF_phpbb_icons_icon_auth] NOT NULL DEFAULT ('') FOR [icon_auth],
	CONSTRAINT [DF_phpbb_icons_icon_order] NOT NULL DEFAULT (0) FOR [icon_order],
	CONSTRAINT [PK_phpbb_icons] PRIMARY KEY CLUSTERED ([icon_id]) ON [PRIMARY]
GO


CREATE TABLE [phpbb_cp_fields] (
  [field_id] [bigint] IDENTITY (1,1) NOT NULL,
  [field_name] [varchar] (50),
  [panel_id] [bigint],
  [field_order] [bigint],
  [field_attr] [text]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

ALTER TABLE [phpbb_cp_fields] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_cp_fields_field_name] NOT NULL DEFAULT ('') FOR [field_name],
	CONSTRAINT [DF_phpbb_cp_fields_panel_id] NOT NULL DEFAULT (0) FOR [panel_id],
	CONSTRAINT [DF_phpbb_cp_fields_field_order] NOT NULL DEFAULT (0) FOR [field_order],
	CONSTRAINT [DF_phpbb_cp_fields_field_attr] NOT NULL DEFAULT ('') FOR [field_attr],
	CONSTRAINT [PK_phpbb_cp_fields] PRIMARY KEY CLUSTERED ([field_id]) ON [PRIMARY]
GO


CREATE TABLE [phpbb_cp_panels] (
  [panel_id] [bigint] IDENTITY (1,1) NOT NULL,
  [panel_shortcut] [varchar] (30),
  [panel_name] [varchar] (50),
  [panel_main] [bigint],
  [panel_order] [bigint],
  [panel_file] [varchar] (50),
  [panel_auth_type] [char] (1),
  [panel_auth_name] [varchar] (50),
  [panel_hidden] [smallint]
) ON [PRIMARY]
GO

ALTER TABLE [phpbb_cp_panels] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_cp_panels_panel_shortcut] NOT NULL DEFAULT ('') FOR [panel_shortcut],
	CONSTRAINT [DF_phpbb_cp_panels_panel_name] NOT NULL DEFAULT ('') FOR [panel_name],
	CONSTRAINT [DF_phpbb_cp_panels_panel_main] NOT NULL DEFAULT (0) FOR [panel_main],
	CONSTRAINT [DF_phpbb_cp_panels_panel_order] NOT NULL DEFAULT (0) FOR [panel_order],
	CONSTRAINT [DF_phpbb_cp_panels_panel_file] NOT NULL DEFAULT ('') FOR [panel_file],
	CONSTRAINT [DF_phpbb_cp_panels_panel_auth_type] NOT NULL DEFAULT ('') FOR [panel_auth_type],
	CONSTRAINT [DF_phpbb_cp_panels_panel_auth_name] NOT NULL DEFAULT ('') FOR [panel_auth_name],
	CONSTRAINT [DF_phpbb_cp_panels_panel_hidden] NOT NULL DEFAULT (0) FOR [panel_hidden],
	CONSTRAINT [PK_phpbb_cp_panels] PRIMARY KEY CLUSTERED ([panel_id]) ON [PRIMARY]
GO


CREATE TABLE [phpbb_cp_patches] (
  [patch_id] [bigint] IDENTITY (1,1) NOT NULL,
  [patch_file] [varchar] (255),
  [patch_time] [int],
  [patch_version] [varchar] (25),
  [patch_date] [varchar] (8),
  [patch_ref] [varchar] (255),
  [patch_author] [varchar] (255)
) ON [PRIMARY]
GO

ALTER TABLE [phpbb_cp_patches] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_cp_patches_patch_file] NOT NULL DEFAULT ('') FOR [patch_file],
	CONSTRAINT [DF_phpbb_cp_patches_patch_time] NOT NULL DEFAULT (0) FOR [patch_time],
	CONSTRAINT [DF_phpbb_cp_patches_patch_version] NOT NULL DEFAULT ('') FOR [patch_version],
	CONSTRAINT [DF_phpbb_cp_patches_patch_date] NOT NULL DEFAULT ('') FOR [patch_date],
	CONSTRAINT [DF_phpbb_cp_patches_patch_ref] NOT NULL DEFAULT ('') FOR [patch_ref],
	CONSTRAINT [DF_phpbb_cp_patches_patch_author] NOT NULL DEFAULT ('') FOR [patch_author],
	CONSTRAINT [PK_phpbb_cp_patches] PRIMARY KEY CLUSTERED ([patch_id]) ON [PRIMARY]
GO


CREATE TABLE [phpbb_auths_def] (
  [auth_id] [smallint] IDENTITY (1,1) NOT NULL,
  [auth_type] [char] (1),
  [auth_name] [varchar] (50),
  [auth_desc] [varchar] (255),
  [auth_title] [smallint],
  [auth_order] [bigint]
) ON [PRIMARY]
GO

ALTER TABLE [phpbb_auths_def] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_auths_def_auth_type] NOT NULL DEFAULT ('') FOR [auth_type],
	CONSTRAINT [DF_phpbb_auths_def_auth_name] NOT NULL DEFAULT ('') FOR [auth_name],
	CONSTRAINT [DF_phpbb_auths_def_auth_desc] NOT NULL DEFAULT ('') FOR [auth_desc],
	CONSTRAINT [DF_phpbb_auths_def_auth_title] NOT NULL DEFAULT (0) FOR [auth_title],
	CONSTRAINT [DF_phpbb_auths_def_auth_order] NOT NULL DEFAULT (0) FOR [auth_order],
	CONSTRAINT [PK_phpbb_auths_def] PRIMARY KEY CLUSTERED ([auth_id]) ON [PRIMARY]
GO


CREATE TABLE [phpbb_auths] (
  [group_id] [bigint],
  [obj_type] [char] (1),
  [obj_id] [bigint],
  [auth_name] [varchar] (50),
  [auth_value] [smallint]
) ON [PRIMARY]
GO

ALTER TABLE [phpbb_auths] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_auths_group_id] NOT NULL DEFAULT (0) FOR [group_id],
	CONSTRAINT [DF_phpbb_auths_obj_type] NOT NULL DEFAULT ('') FOR [obj_type],
	CONSTRAINT [DF_phpbb_auths_obj_id] NOT NULL DEFAULT (0) FOR [obj_id],
	CONSTRAINT [DF_phpbb_auths_auth_name] NOT NULL DEFAULT ('') FOR [auth_name],
	CONSTRAINT [DF_phpbb_auths_auth_value] NOT NULL DEFAULT (0) FOR [auth_value],
	CONSTRAINT [PK_phpbb_auths] PRIMARY KEY CLUSTERED ([group_id], [obj_type], [obj_id], [auth_name]) ON [PRIMARY]
GO


CREATE TABLE [phpbb_topics_attr] (
  [attr_id] [bigint] IDENTITY (1,1) NOT NULL,
  [attr_name] [varchar] (50),
  [attr_fname] [varchar] (50) NULL,
  [attr_fimg] [varchar] (50) NULL,
  [attr_tname] [varchar] (50) NULL,
  [attr_timg] [varchar] (50) NULL,
  [attr_order] [bigint],
  [attr_field] [varchar] (50) NULL,
  [attr_cond] [varchar] (2) NULL,
  [attr_value] [smallint] NULL,
  [attr_auth] [varchar] (50) NULL
) ON [PRIMARY]
GO

ALTER TABLE [phpbb_topics_attr] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_topics_attr_attr_name] NOT NULL DEFAULT ('') FOR [attr_name],
	CONSTRAINT [DF_phpbb_topics_attr_attr_order] NOT NULL DEFAULT (0) FOR [attr_order],
	CONSTRAINT [PK_phpbb_topics_attr] PRIMARY KEY CLUSTERED ([attr_id]) ON [PRIMARY]
GO

ALTER TABLE [phpbb_config] ADD [config_static] [smallint]
GO

UPDATE [phpbb_config] SET
	config_static = 0
GO

ALTER TABLE [phpbb_config] WITH NOCHECK ADD
	CONSTRAINT [DF_phpbb_config_config_static] NOT NULL DEFAULT (0) FOR [config_static]
GO

# indexes addition
CREATE INDEX [IX_phpbb_cp_fields_CH_1] ON [phpbb_cp_fields]([panel_id], [field_name]) ON [PRIMARY]
GO

CREATE INDEX [IX_phpbb_auths_CH_1] ON [phpbb_auths]([group_id], [obj_type]) ON [PRIMARY]
GO

CREATE INDEX [IX_phpbb_auths_CH_2] ON [phpbb_auths]([obj_type], [obj_id]) ON [PRIMARY]
GO

CREATE INDEX [IX_phpbb_topics_CH_1] ON [phpbb_topics]([topic_last_time]) ON [PRIMARY]
GO

CREATE INDEX [IX_phpbb_posts_CH_1] ON [phpbb_posts]([post_icon]) ON [PRIMARY]
GO

CREATE INDEX [IX_phpbb_groups_CH_1] ON [phpbb_groups]([group_user_id]) ON [PRIMARY]
GO

CREATE INDEX [IX_phpbb_config_CH_1] ON [phpbb_config]([config_static]) ON [PRIMARY]
GO

COMMIT
GO
hoe ga ik dit aanpakken?

Gebruikersavatar
Bee
Berichten: 13403
Lid geworden op: 29 aug 2004, 10:30

Bericht door Bee » 01 okt 2005, 21:20

Code: Selecteer alles

CREATE TABLE phpbb_icons ( 
  icon_id bigint IDENTITY(1,1) NOT NULL, 
  icon_name varchar(50), 
  icon_url varchar(255), 
  icon_auth varchar(50), 
  icon_types varchar(255) NULL, 
  icon_order bigint 
);
Probeer die eens
... Maar ik modereer (nog) niet.

Makavelibrox
Berichten: 402
Lid geworden op: 01 jul 2005, 18:02
Contacteer:

Bericht door Makavelibrox » 01 okt 2005, 21:27

Er staat wel onderaan:

Nieuwe tabel aanmaken in database

Naam:
Velden:

Start

Naam lijkt me phpbb_icons, maar wat moet velden dan zijn?

Gebruikersavatar
Bee
Berichten: 13403
Lid geworden op: 29 aug 2004, 10:30

Bericht door Bee » 01 okt 2005, 21:30

De code die ik gaf in het invoervak zetten die onder het tabblad SQL bovenaan staat.
... Maar ik modereer (nog) niet.

Makavelibrox
Berichten: 402
Lid geworden op: 01 jul 2005, 18:02
Contacteer:

Bericht door Makavelibrox » 03 okt 2005, 14:56

Ik weet al waarom het niet lukt, ik had de tabel mssql_full_2_1_1RC6 laten zien, in plaats van mysql_full_2_1_1RC6 :oops: :oops:

hier is de mysql_full_2_1_1RC6, het bestand dat ik nodig heb, om de phpbb_icons te creëren.

Code: Selecteer alles

#--------- forums
#
ALTER TABLE phpbb_forums DROP forum_type;
ALTER TABLE phpbb_forums ADD forum_type CHAR(1) BINARY NOT NULL DEFAULT 'f' AFTER forum_status;
ALTER TABLE phpbb_forums ADD forum_main SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0' AFTER forum_status;
ALTER TABLE phpbb_forums ADD auth_global_announce TINYINT( 2 ) NOT NULL DEFAULT '0' AFTER auth_announce;
ALTER TABLE phpbb_forums ADD forum_last_title VARCHAR( 255 );
ALTER TABLE phpbb_forums ADD forum_last_poster MEDIUMINT( 8 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_forums ADD forum_last_username VARCHAR( 25 );
ALTER TABLE phpbb_forums ADD forum_last_time INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_forums ADD forum_link VARCHAR( 255 );
ALTER TABLE phpbb_forums ADD forum_link_hit_count TINYINT( 1 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_forums ADD forum_link_hit BIGINT(20) UNSIGNED NOT NULL DEFAULT '0';
ALTER TABLE phpbb_forums ADD forum_link_start INT(11) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_forums ADD forum_style TINYINT( 4 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_forums ADD forum_nav_icon VARCHAR( 255 );
ALTER TABLE phpbb_forums ADD forum_icon VARCHAR( 255 );
ALTER TABLE phpbb_forums ADD forum_topics_ppage TINYINT( 2 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_forums ADD forum_topics_sort VARCHAR( 25 );
ALTER TABLE phpbb_forums ADD forum_topics_order VARCHAR( 4 );
ALTER TABLE phpbb_forums ADD forum_index_pack TINYINT( 1 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_forums ADD forum_index_split TINYINT( 1 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_forums ADD forum_board_box TINYINT( 1 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_forums ADD forum_subs_hidden TINYINT( 1 ) NOT NULL DEFAULT '0';

#--------- auths
#
ALTER TABLE phpbb_auth_access ADD auth_global_announce TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER auth_announce;

#--------- topics
ALTER TABLE phpbb_topics ADD topic_sub_type mediumint(5) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_topics ADD topic_sub_title VARCHAR( 255 ) DEFAULT NULL;
ALTER TABLE phpbb_topics ADD topic_first_username VARCHAR( 25 );
ALTER TABLE phpbb_topics ADD topic_last_poster MEDIUMINT( 8 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_topics ADD topic_last_username VARCHAR( 25 );
ALTER TABLE phpbb_topics ADD topic_last_time INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_topics ADD topic_icon SMALLINT( 3 ) UNSIGNED NOT NULL DEFAULT '0';
ALTER TABLE phpbb_topics ADD topic_duration INT( 11 ) NOT NULL DEFAULT '0';

ALTER TABLE phpbb_topics CHANGE topic_title topic_title VARCHAR( 255 ) NOT NULL;

#--------- posts
#
ALTER TABLE phpbb_posts ADD post_icon SMALLINT( 3 ) UNSIGNED NOT NULL DEFAULT '0';

#--------- posts text
#
ALTER TABLE phpbb_posts_text ADD post_sub_title VARCHAR( 255 ) DEFAULT NULL;
ALTER TABLE phpbb_posts_text CHANGE post_subject post_subject VARCHAR( 255 ) DEFAULT NULL;

#--------- users
#
ALTER TABLE phpbb_users ADD user_unread_date INT( 11 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_users ADD user_unread_topics TEXT;
ALTER TABLE phpbb_users ADD user_keep_unreads TINYINT( 1 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_users ADD user_topics_sort VARCHAR( 25 ) NOT NULL;
ALTER TABLE phpbb_users ADD user_topics_order VARCHAR( 4 ) NOT NULL;
ALTER TABLE phpbb_users ADD user_smart_date TINYINT( 1 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_users ADD user_dst TINYINT( 1 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_users ADD user_board_box TINYINT( 1 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_users ADD user_index_pack TINYINT( 1 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_users ADD user_index_split TINYINT( 1 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_users ADD user_session_logged TINYINT( 1 ) NOT NULL DEFAULT '0';

#--------- groups
#
ALTER TABLE phpbb_groups ADD group_status TINYINT( 2 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_groups ADD group_user_id MEDIUMINT( 8 ) NOT NULL DEFAULT '0';
ALTER TABLE phpbb_groups ADD group_user_list TEXT NOT NULL;

#--------- styles
#
ALTER TABLE phpbb_themes ADD images_pack VARCHAR( 100 ) NOT NULL DEFAULT '' AFTER style_name;
ALTER TABLE phpbb_themes ADD custom_tpls VARCHAR( 100 ) NOT NULL DEFAULT '' AFTER images_pack;

#--------- user cache
#
CREATE TABLE phpbb_users_cache (
  user_id MEDIUMINT(8) NOT NULL DEFAULT '0',
  cache_id VARCHAR(5) NOT NULL DEFAULT '',
  cache_data LONGTEXT,
  cache_time INT(11) DEFAULT '0',
  PRIMARY KEY  ( user_id, cache_id )
);

#--------- presets names
#
CREATE TABLE phpbb_presets (
  preset_id MEDIUMINT(5) UNSIGNED NOT NULL AUTO_INCREMENT,
  preset_type VARCHAR(5) NOT NULL DEFAULT '',
  preset_name VARCHAR(50) NOT NULL DEFAULT '',
  PRIMARY KEY ( preset_id )
);

#--------- presets data
#
CREATE TABLE phpbb_presets_data (
  preset_id MEDIUMINT(5) UNSIGNED NOT NULL DEFAULT '0',
  preset_auth VARCHAR(50) NOT NULL DEFAULT '',
  preset_value TINYINT(1) DEFAULT NULL,
  PRIMARY KEY ( preset_id, preset_auth )
);

#--------- messages icons
#
CREATE TABLE phpbb_icons (
  icon_id MEDIUMINT(3) NOT NULL AUTO_INCREMENT,
  icon_name VARCHAR(50) NOT NULL DEFAULT '',
  icon_url VARCHAR(255) NOT NULL DEFAULT '',
  icon_auth VARCHAR(50) NOT NULL DEFAULT '',
  icon_types VARCHAR(255) DEFAULT NULL,
  icon_order MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY  (icon_id)
);

#--------- control panels fields
#
CREATE TABLE phpbb_cp_fields (
  field_id MEDIUMINT(8) UNSIGNED NOT NULL AUTO_INCREMENT,
  field_name VARCHAR(50) NOT NULL DEFAULT '',
  panel_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
  field_order MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
  field_attr TEXT NOT NULL DEFAULT '',
  PRIMARY KEY  (field_id),
  KEY panel_id (panel_id,field_name)
);

#--------- control panels defs
#
CREATE TABLE phpbb_cp_panels (
  panel_id MEDIUMINT(8) UNSIGNED NOT NULL AUTO_INCREMENT,
  panel_shortcut VARCHAR(30) NOT NULL DEFAULT '',
  panel_name VARCHAR(50) NOT NULL DEFAULT '',
  panel_main MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
  panel_order MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
  panel_file VARCHAR(50) NOT NULL DEFAULT '',
  panel_auth_type CHAR(1) BINARY NOT NULL DEFAULT '',
  panel_auth_name VARCHAR(50) NOT NULL DEFAULT '',
  panel_hidden TINYINT(1) NOT NULL DEFAULT '0',
  PRIMARY KEY  (panel_id)
);

#--------- control panels patches
#
CREATE TABLE phpbb_cp_patches (
  patch_id MEDIUMINT(8) UNSIGNED NOT NULL AUTO_INCREMENT,
  patch_file VARCHAR(255) NOT NULL DEFAULT '',
  patch_time int(11) NOT NULL DEFAULT '0',
  patch_version VARCHAR(25) NOT NULL DEFAULT '',
  patch_date VARCHAR(8) NOT NULL DEFAULT '',
  patch_ref VARCHAR(255) NOT NULL DEFAULT '',
  patch_author VARCHAR(255) NOT NULL DEFAULT '',
  PRIMARY KEY  (patch_id)
);

#--------- auths definitions
#
CREATE TABLE phpbb_auths_def (
  auth_id SMALLINT(5) UNSIGNED NOT NULL AUTO_INCREMENT,
  auth_type CHAR(1) BINARY NOT NULL DEFAULT '',
  auth_name VARCHAR(50) NOT NULL DEFAULT '',
  auth_desc VARCHAR(255) NOT NULL DEFAULT '',
  auth_title TINYINT(1) NOT NULL DEFAULT '0',
  auth_order MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
  PRIMARY KEY  (auth_id)
);

#--------- extended auths table
#
CREATE TABLE phpbb_auths (
  group_id MEDIUMINT(8) NOT NULL DEFAULT '0',
  obj_type CHAR(1) BINARY NOT NULL DEFAULT '',
  obj_id MEDIUMINT(8) NOT NULL DEFAULT '0',
  auth_name VARCHAR(50) NOT NULL DEFAULT '',
  auth_value TINYINT(1) NOT NULL DEFAULT '0',
  PRIMARY KEY  (group_id,obj_type,obj_id,auth_name),
  KEY group_id (group_id,obj_type),
  KEY obj_type (obj_type,obj_id)
);

#--------- topic title attribute table
#
CREATE TABLE phpbb_topics_attr (
  attr_id mediumint(5) unsigned NOT NULL auto_increment,
  attr_name varchar(50) NOT NULL DEFAULT '',
  attr_fname varchar(50) DEFAULT NULL,
  attr_fimg varchar(50) DEFAULT NULL,
  attr_tname varchar(50) DEFAULT NULL,
  attr_timg varchar(50) DEFAULT NULL,
  attr_order mediumint(8) NOT NULL DEFAULT '0',
  attr_field varchar(50) DEFAULT NULL,
  attr_cond char(2) DEFAULT NULL,
  attr_value smallint(3) NOT NULL DEFAULT 0,
  attr_auth varchar(50) DEFAULT NULL,
  PRIMARY KEY  (attr_id)
);

#--------- config
#
ALTER TABLE phpbb_config ADD config_static SMALLINT(1) UNSIGNED NOT NULL DEFAULT '0';

#--------- indexes addition
#
ALTER TABLE phpbb_topics ADD INDEX ( topic_last_time );
ALTER TABLE phpbb_posts ADD INDEX ( post_icon );
ALTER TABLE phpbb_groups ADD INDEX ( group_user_id );
ALTER TABLE phpbb_config ADD INDEX ( config_static );
Wat blijkt nou, zonder die phpbb_icons tabel is het ook niet mogelijk om in forums te komen, dus gebruikers kunnen enkel de hoofdfora zien, maar niet in de subfora komen. en ik trouwens ook niet.
Dan krijgen we deze error te zien:

Code: Selecteer alles

SQL requests not achieved

DEBUG MODE

SQL Error : 1146 Table 'pieterc_phpb12.phpbb_icons' doesn't exist

SELECT * FROM phpbb_icons ORDER BY icon_order

Line : 791
File : class_config.php
Bee, als ik dat trucje van jou probeer, krijg ik deze error te zien in phpmyadmin:

Code: Selecteer alles

Fout

SQL-query:

CREATE TABLE phpbb_icons(
icon_id bigintIDENTITY( 1, 1 ) NOT NULL ,
icon_name varchar( 50 ) ,
icon_url varchar( 255 ) ,
icon_auth varchar( 50 ) ,
icon_types varchar( 255 ) NULL ,
icon_order bigint
)

MySQL retourneerde: Documentatie
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IDENTITY(1,1) NOT NULL,
  icon_name varchar(50),
  icon_url varchar(255),
  i' at line 2 
En de tabel staat ook niet in "het rijtje links".

Iemand een idee, hoe ik dit kan oplossen? :bier:

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 03 okt 2005, 16:10

Code: Selecteer alles

CREATE TABLE phpbb_icons( 
icon_id bigint IDENTITY( 1, 1 ) NOT NULL , 
icon_name varchar( 50 ) , 
icon_url varchar( 255 ) , 
icon_auth varchar( 50 ) , 
icon_types varchar( 255 ) NULL , 
icon_order bigint 
); 
Doet die het wel?

Makavelibrox
Berichten: 402
Lid geworden op: 01 jul 2005, 18:02
Contacteer:

Bericht door Makavelibrox » 03 okt 2005, 17:15

Nope :(

Code: Selecteer alles

Fout

SQL-query:

CREATE TABLE phpbb_icons(
icon_id bigintIDENTITY( 1, 1 ) NOT NULL ,
icon_name varchar( 50 ) ,
icon_url varchar( 255 ) ,
icon_auth varchar( 50 ) ,
icon_types varchar( 255 ) NULL ,
icon_order bigint
)

MySQL retourneerde: Documentatie
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IDENTITY( 1, 1 ) NOT NULL ,
icon_name varchar( 50 ) ,
icon_url varchar( 255 ) ' at line 2 

Gebruikersavatar
Bee
Berichten: 13403
Lid geworden op: 29 aug 2004, 10:30

Bericht door Bee » 03 okt 2005, 18:33

Code: Selecteer alles

CREATE TABLE phpbb_icons( 
icon_id bigint NOT NULL , 
icon_name varchar( 50 ) , 
icon_url varchar( 255 ) , 
icon_auth varchar( 50 ) , 
icon_types varchar( 255 ) NULL , 
icon_order bigint 
); 
En deze, met spatie.
... Maar ik modereer (nog) niet.

Makavelibrox
Berichten: 402
Lid geworden op: 01 jul 2005, 18:02
Contacteer:

Bericht door Makavelibrox » 04 okt 2005, 15:21

Code: Selecteer alles

Uw SQL-query is succesvol uitgevoerd. (Query duurde 0.0194 sec)
SQL-query: 
CREATE TABLE phpbb_icons(
icon_id bigint NOT NULL ,
icon_name varchar( 50 ) ,
icon_url varchar( 255 ) ,
icon_auth varchar( 50 ) ,
icon_types varchar( 255 ) NULL ,
icon_order bigint
)
:thumb: Bee :thumb:

Ik begin het langzaam aan te snappen, gewoon de code die bij #--------- messages icons staat invoeren.

Ik kan nu ook weer in de forums komen :)

maar nog steeds zijn de icoontjes op niet te zien, zoals hier te zien is.

iemand een idee hoe ik dit op kan oplossen?

Gebruikersavatar
Bee
Berichten: 13403
Lid geworden op: 29 aug 2004, 10:30

Bericht door Bee » 04 okt 2005, 16:33

Heb je ook icoontjes toegevoegd via het administratiepaneel. Geen icoontjes in de database is geen icoontjes zichtbaar.
... Maar ik modereer (nog) niet.

Makavelibrox
Berichten: 402
Lid geworden op: 01 jul 2005, 18:02
Contacteer:

Bericht door Makavelibrox » 04 okt 2005, 19:59

Heb ik niet gedaan :oops: , hoe moet dat :)

De Baas van CH reageerde zo op mijn vraag:
This is not linked to the icons table at all : none of your graphical elements are visible, neither the CSS pics. Ensure all paths are correctly sat in ACP : it is not the case here. If you don't know how to proceed, check the knowledge base and the support forum @ phpBB.com : this is not an issue linked to CH.
Dus ik kwam na lang zoeken bij dit deel:
http://www.phpbb.com/kb/article.php?article_id=192

maar dat is volgens mij alleen een icoon van je forum, en niet van elk icoontje van bijv. profiel of zoeken.

Hoe kan ik dit doen?

Edit: Is dit misschien iets?
http://www.phpbb.com/phpBB/viewtopic.php?t=151755

Makavelibrox
Berichten: 402
Lid geworden op: 01 jul 2005, 18:02
Contacteer:

Bericht door Makavelibrox » 04 okt 2005, 20:55

templates/ptifo/images re-uploaded en probleem verholpen.

Bedankt voor iedereen die mij heeft geholpen.

het probleem is nu gefixed :D

Gesloten