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

Could not get style data via MySQL DB auto_increment_offset != 1

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.4
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      Description

      After phpBB3 installed, I got the error message:

      SQL ERROR [ mysqli ]

      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 '' at line 3 [1064]

      SQL

      SELECT * FROM phpbb_styles s WHERE s.style_id =

      BACKTRACE

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

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

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

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

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

      FILE: [ROOT]/index.php
      LINE: 29
      CALL: phpbb\user->setup()

      I made a simple patch taking a try to get a style for default usage.

      https://github.com/phpbb/phpbb/pull/3679

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              changyy changyy [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: