Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-10463

Inherit template causes SQL error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-a1
    • 3.1.0-dev
    • Styles
    • None
    • PHP 5.3.0, MySQL 5.1.37, phpmyadmin 3.2.1, Firefox 8, Windows XP

      When inheriting template is enabled in template.cfg, when installing the style causes the following error:

      General Error
      SQL ERROR [ mysqli ]
       
      You have an error in your SQL syntax near ' bbcode_bitfield FROM phpbb_styles_template WHERE template_name = 'pro' at line 1 [1064]
       
      SQL
       
      SELECT template_id, template_name, template_path, , bbcode_bitfield FROM phpbb_styles_template WHERE template_name = 'prosilver' AND template_inherits_id = 0
       
      BACKTRACE
       
      FILE: [ROOT]/includes/db/mysqli.php
      LINE: 182
      CALL: dbal->sql_error()
       
      FILE: [ROOT]/includes/acp/acp_styles.php
      LINE: 2407
      CALL: dbal_mysqli->sql_query()
       
      FILE: [ROOT]/includes/acp/acp_styles.php
      LINE: 2288
      CALL: acp_styles->install_element()
       
      FILE: [ROOT]/includes/acp/acp_styles.php
      LINE: 1989
      CALL: acp_styles->install_style()
       
      FILE: [ROOT]/includes/acp/acp_styles.php
      LINE: 113
      CALL: acp_styles->install()
       
      FILE: [ROOT]/includes/functions_module.php
      LINE: 508
      CALL: acp_styles->main()
       
      FILE: [ROOT]/adm/index.php
      LINE: 73
      CALL: p_master->load_active()

            bantu Andreas Fischer [X] (Inactive)
            _Vinny_ Marcus Vinicius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: