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

Redirect fails with open_basedir enabled

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.0.8
    • 3.0.9-RC1
    • Other
    • None

    Description

      [phpBB Debug] PHP Notice: in file /includes/functions.php on line 2356: file_exists() [function.file-exists]: open_basedir restriction in effect. File(.) is not within the allowed path(s): (/:/usr/share/php/:/tmp/)
      [phpBB Debug] PHP Notice: in file /includes/functions.php on line 2361: file_exists() [function.file-exists]: open_basedir restriction in effect. File(.) is not within the allowed path(s): (/:/usr/share/php/:/tmp/)
      [phpBB Debug] PHP Notice: in file /includes/functions.php on line 2471: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)

      For Reference:
      https://www.phpbb.de/community/viewtopic.php?f=73&t=211426

      The problem is, "." is not valid as a directory. Adding a trailing slash for the file_exists-check solves it.

      Attachments

        Activity

          People

            nickvergessen Joas Schilling
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: