Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-8264

Inherit bitfield trows errors

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • 3.0.x
    • 3.0.5
    • ACP
    • None
    • PHP Environment:
      Database:

    Description

      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 .

      Attachments

        Activity

          People

            Kellanved Kellanved [X] (Inactive)
            Raimon Raimon Meuldijk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: