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

create_schema_files.php is not creating the oracle or postgres' schema file properly

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.10-RC3, 3.0.10, 3.1.0-dev, 3.1.0
    • Fix Version/s: 3.0.12-RC1
    • Component/s: Other
    • Labels:
      None
    • Environment:
      PHP 5.3.8, MySQL 5.5.16,Apache/2.2.21,
      SO: WINNT 6.1 x64

      Description

      create_schema_files.php is creating the oracle and postgres' schema files in such way that some parts of it have one extra \r than it should for the new lines creating new lines as "\r\r\n".
      After some research, I can also conclude that this system wouldn't work properly if used in a linux system. The cause of this is relying on the "t" option in the fopen().
      The main problem behind this is the "\r\n" written in the heredoc for both oracle and postgres and then using, at the same time, the "t" option in the mode.
      The fix for this is almost complete.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            bantu Andreas Fischer
            Reporter:
            brunoais brunoais
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development