Problem with cBB Follower


no_avatar
Bens1912
 
Posts: 3
Joined: Wed Dec 01, 2021 5:30 am
 Wed Dec 01, 2021 6:05 am • via Web
Hi,

I have a problem with cBB follower. I tested on a new forum without another ext and I got the same error message when I activate the extension in the ACP :

Code: Select all
GENERAL ERROR
SQL ERROR [ mysqli ]

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

SQL

INSERT INTO phpbb_bbcodes (bbcode_match, bbcode_tpl, display_on_posting, bbcode_tag, first_pass_match, first_pass_replace, second_pass_match, second_pass_replace, bbcode_id) VALUES ('[mention id={NUMBER;optional} color={COLOR;optional}]{TEXT}[/mention]', '<xsl:choose>\n <xsl:when test=\"@color\">\n <a class=\"mention\" data-id=\"{@id}\" data-color=\"{@color}\" style=\"color:{@color};\">{TEXT}</a>\n </xsl:when>\n <xsl:otherwise>\n <a class=\"mention\" data-id=\"{@id}\">{TEXT}</a>\n </xsl:otherwise>\n </xsl:choose>', 0, 'mention', '/(?!)/', '', '/(?!)/', '', 13)

BACKTRACE

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

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 1023
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 202
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 345
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/canidev/core/bbcode_manager.php
LINE: 129
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/canidev/follower/migrations/v200.php
LINE: 176
CALL: canidev\core\bbcode_manager->insert()

FILE: (not given by php)
LINE: (not given by php)
CALL: canidev\follower\migrations\v200->install_bbcode()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 715
CALL: call_user_func_array()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 662
CALL: phpbb\db\migrator->run_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 437
CALL: phpbb\db\migrator->process_data_step()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 352
CALL: phpbb\db\migrator->try_apply()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 288
CALL: phpbb\db\migrator->try_apply()

FILE: [ROOT]/phpbb/db/migrator.php
LINE: 241
CALL: phpbb\db\migrator->update_do()

FILE: [ROOT]/phpbb/extension/base.php
LINE: 78
CALL: phpbb\db\migrator->update()

FILE: [ROOT]/ext/canidev/follower/ext.php
LINE: 79
CALL: phpbb\extension\base->enable_step()

FILE: [ROOT]/phpbb/extension/manager.php
LINE: 231
CALL: canidev\follower\ext->enable_step()

FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 209
CALL: phpbb\extension\manager->enable_step()

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

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()


Can you help me find out where the problem comes from please ?

Thanks
User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Mon Dec 06, 2021 10:59 pm • via Web
Hi,

Test with this:
Upload the file attached to this post to the folder /ext/canidev/core/ on your server, overwriting the existing file.
Attachments
bbcode_manager.php
(4.4 KB) Downloaded 192 times

Who is online

Users browsing this forum: No registered users and 0 guests