Pagina 1 din 1

'forum_last_poster_avatar' doesn't have a default value

Scris: 27-Ian-2013, 09:47:51
de lagunax
Buna ziua .
Am instalat acest mod : avatar_of_poster_on_index_and_viewforum_1_3_0.zip .
Folosesc ultima versiune de phpbb .
Totul functioneaza la acest mod , inafara de o problema aparuta in acp .
La crearea unui nou forum ami da eroarea :

Cod: Selectaţi tot

Eroare generală
SQL ERROR [ mysqli ]

Field 'forum_last_poster_avatar' doesn't have a default value [1364]

SQL

INSERT INTO phpbb_forums (parent_id, forum_type, forum_status, forum_parents, forum_name, forum_link, forum_desc, forum_desc_uid, forum_desc_options, forum_desc_bitfield, forum_rules, forum_rules_uid, forum_rules_options, forum_rules_bitfield, forum_rules_link, forum_image, forum_style, display_subforum_list, forum_subforumslist_type, display_on_index, forum_topics_per_page, enable_indexing, enable_icons, enable_prune, prune_days, prune_viewed, prune_freq, forum_options, forum_flags, left_id, right_id) VALUES (0, 1, 0, '', 'yuytutyu', '', '', '', 7, '', '', '', 7, '', '', '', 0, 1, 0, 0, 0, 1, 0, 0, 7, 7, 1, 0, 48, 1023, 1024)

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/includes/db/dbal.php
LINE: 757
CALL: trigger_error()

FILE: [ROOT]/includes/db/mysqli.php
LINE: 182
CALL: dbal->sql_error()

FILE: [ROOT]/includes/acp/acp_forums.php
LINE: 1026
CALL: dbal_mysqli->sql_query()

FILE: [ROOT]/includes/acp/acp_forums.php
LINE: 189
CALL: acp_forums->update_forum_data()

FILE: [ROOT]/includes/functions_module.php
LINE: 507
CALL: acp_forums->main()

FILE: [ROOT]/adm/index.php
LINE: 74
CALL: p_master->load_active()
si nu se creaza nici forumul .
Cum pot rezolva .
Multumesc.

Re: Problema avatar_of_poster_on_index_and_viewforum_1_3_0.z

Scris: 27-Ian-2013, 16:08:08
de lagunax
Am rezolvat problema .
Rezolvarea :
A apărut o eroare la crearea sau editarea unui forum
Aplicați plasturele următoarele:

Cod: Selectaţi tot

# 
#-----[ OPEN ]------------------------------------------------ 
# 
includes / acp / acp_forums . php 
# 
#-----[ FIND ]------------------------------------------------ 
# 
                     // On add, add empty forum_options... else do not consider it (not updating it) 
# 
#-----[ BEFORE, ADD ]----------------------------------------- 
# 
//-- mod : apiv ---------------------------------------------------------------- 
//-- add 
$forum_data += array ( 'forum_last_poster_avatar'   =>   '' ); 
//-- fin mod : apiv ------------------------------------------------------------ 
# 
#-----[ SAVE/CLOSE ALL FILES ]-------------------------------- 
# 
# EoM
O zi buna .

Re: 'forum_last_poster_avatar' doesn't have a default value

Scris: 01-Feb-2013, 22:45:58
de gamerii
Pai si unde sa bagam acest plasture cum lai numit uh . in ce zona .. Spuneti umpic mai explicit ......

Re: 'forum_last_poster_avatar' doesn't have a default value

Scris: 02-Feb-2013, 19:02:51
de bogdan
Citeste si tu printre randuri.

Ca sa te orientezi mai bine: http://www.phpbb.ro/knowledge/kb_show.p ... Caut%C4%83