Uploaded image for project: 'Support Team Tools'
  1. Support Team Tools
  2. STT-302

PHPBB_VERSION_NUMBER used before it's set

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Unverified Fix
    • Resolution: Fixed
    • Support Toolkit
    • None

    Description

      PHPBB_VERSION_NUMBER is set in stk/index.php on line 48, but we use it when we set the language on line 32. The check for 3.0.2 in stk/includes/function.php on line 302 now fails since it's using "PHPBB_VERSION_NUMBER" as the value instead of an actual version number. This results in an incorrect language path being generated.

      Language file ./language/en/en/common.php couldn't be opened.
       
      BACKTRACE
       
      FILE: (not given by php)
      LINE: (not given by php)
      CALL: stk_msg_handler()
       
      FILE: [ROOT]/includes/session.php
      LINE: 2098
      CALL: trigger_error()
       
      FILE: [ROOT]/includes/session.php
      LINE: 2057
      CALL: user->set_lang()
       
      FILE: [ROOT]/stk/includes/functions.php
      LINE: 344
      CALL: user->add_lang()
       
      FILE: [ROOT]/stk/index.php
      LINE: 32
      CALL: stk_add_lang()

      Attachments

        Activity

          People

            Erik Frèrejean Erik Frèrejean
            Noxwizard Patrick Webster
            Archiver:
            Noxwizard Patrick Webster

            Dates

              Created:
              Updated:
              Resolved:
              Archived: