Jump to content

Ошибка мускула при переносе темы.


Recommended Posts

Добрый вечер, вся надежда на вас.Ошибка заключается в том что при переносе, разделение темы выпадет ошибка мускула:


SQL ERROR [ mysqli ]


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


SQL


INSERT INTO phpbb_topics (forum_id, icon_id, topic_attachment, topic_approved, topic_reported, topic_title, topic_poster, topic_time, topic_time_limit, topic_views, topic_replies, topic_replies_real, topic_status, topic_type, topic_first_post_id, topic_first_poster_colour, topic_first_poster_name, topic_last_post_id, topic_last_poster_id, topic_last_poster_colour, topic_last_poster_name, topic_last_post_subject, topic_last_post_time, topic_last_view_time, topic_moved_id, topic_bumped, topic_bumper, poll_title, poll_start, poll_length, poll_max_options, poll_last_vote) VALUES (3, 0, 0, 1, 0, 'Обсуждения и анализ наших рейдов.', 128, 1284613143, 0, 16, 3, 3, 2, 0, 369, '', 'Аббас', 372, 2, '00c0f', 'Мелчоир', 'Re: Обсуждения и анализ наших рейдов.', 1284715596, 1284716335, 109, 0, 0, '', 0, 0, 1, 0)


BACKTRACE


[b]FILE:[/b] includes/db/mysqli.php

[b]LINE:[/b] 163

[b]CALL:[/b] dbal->sql_error()


[b]FILE:[/b] includes/mcp/mcp_main.php

[b]LINE:[/b] 716

[b]CALL:[/b] dbal_mysqli->sql_query()


[b]FILE:[/b] includes/mcp/mcp_main.php

[b]LINE:[/b] 93

[b]CALL:[/b] mcp_move_topic()


[b]FILE:[/b] includes/functions_module.php

[b]LINE:[/b] 507

[b]CALL:[/b] mcp_main->main()


[b]FILE:[/b] includes/functions_module.php

[b]LINE:[/b] 802

[b]CALL:[/b] p_master->load_active()


[b]FILE:[/b] mcp.php

[b]LINE:[/b] 169

[b]CALL:[/b] p_master->load()

я понимаю что ошибку "Field 'topic_first_poster_rank_img' doesn't have a default value [1364]" на официальном форуме уже обсасывали о есть решение проблемы , и это решение уже применено, но ошибка сама есть. Так же есть тема на офф форуме. Но там почему то упорно молчат, как ее решить..

Пожалуйта помогите с решение проблемы.

P.S вы планирует обновлять сполер? =)

Link to comment
Share on other sites

В инструкции по установке мода (которая в xml-файле) сказано, что надо выполнить пару мускульных запросов, а именно

ALTER TABLE `phpbb_topics` CHANGE `topic_first_poster_rank_img` `topic_first_poster_rank_img` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL;
ALTER TABLE `phpbb_topics` CHANGE `topic_first_poster_rank_title` `topic_first_poster_rank_title` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL;[/code]

Спойлер до 23 сентября будет обновлен.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...