-
Bug
-
Resolution: Fixed
-
3.0.x
-
None
-
PHP Environment:
Database:
When you install a style without a bitfield, you get the next undefined error ;
[phpBB Debug] PHP Notice: in file /includes/acp/acp_styles.php on line 3278: Undefined variable: inherit_bf
|
If you use the ;
# Defining a different template bitfield
|
template_bitfield = lNg=
|
you will get the next error ;
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 ' template_bitfield FROM phpbb_styles_template WHERE template_name = ' at line 1 [1064]
|
|
SQL
|
|
SELECT template_id, template_name, template_path, template_storedb, , template_bitfield FROM phpbb_styles_template WHERE template_name = 'prosilver' AND template_inherits_id = 0
|
|
BACKTRACE
|
|
FILE: includes/db/mysqli.php
|
LINE: 163
|
CALL: dbal->sql_error()
|
|
FILE: includes/acp/acp_styles.php
|
LINE: 3235
|
CALL: dbal_mysqli->sql_query()
|
|
FILE: includes/acp/acp_styles.php
|
LINE: 3110
|
CALL: acp_styles->install_element()
|
|
FILE: includes/acp/acp_styles.php
|
LINE: 2787
|
CALL: acp_styles->install_style()
|
|
FILE: includes/acp/acp_styles.php
|
LINE: 155
|
CALL: acp_styles->install()
|
|
FILE: includes/functions_module.php
|
LINE: 507
|
CALL: acp_styles->main()
|
|
FILE: adm/index.php
|
LINE: 74
|
CALL: p_master->load_active()
|
I believe it is related to r9408 .