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

Missing $phpEx causes Error during Update-Process

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.6
    • 3.0.4
    • Update system
    • None
    • PHP Environment: 5.2.10
      Database:

      Hi,

      while updating from 3.0.4 to 3.0.5 I got the following error:

      [phpBB Debug] PHP Notice: in file /install/install_update.php5 on line 1568: include(./../install/update/index.php) [function.include]: failed to open stream: No such file or directory
      [phpBB Debug] PHP Notice: in file /install/install_update.php5 on line 1568: include() [function.include]: Failed opening './../install/update/index.php' for inclusion (include_path='.:/usr/lib/php5')

      It's caused by lines 1554 and 1568 @ install/install_update.php, because I'm not using the standard extension ".php":

      include($phpbb_root_path . 'install/update/index.php');

      should be

      include($phpbb_root_path . 'install/update/index.' . $phpEx);

      to prevent this error.

            bantu Andreas Fischer [X] (Inactive)
            sneils sneils
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: