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

Automatic Update: FTP -> File exist Check is not working properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.5
    • 3.0.2
    • Installation system
    • None
    • PHP Environment: 5.2.0
      Database: MySQL 5.0.51

      This whole functions is not working correctly:

      if (!$transfer->file_exists($phpbb_root_path, 'common.' . $phpEx))
      {
      $test_connection = 'ERR_WRONG_PATH_TO_PHPBB';
      }

      $phpbb_root_path is the global var for the directory of the phpbb forum, NOT the one you have filled in in the ftp form, which should be:
      $transfer->root_path

      if (!$transfer->file_exists($transfer->root_path, 'common.' . $phpEx))
      {
      $test_connection = 'ERR_WRONG_PATH_TO_PHPBB';
      }

      However, the function is still not working, not sure why not, but after I've removed it from the script, the installation just went fine .

            Acyd Burn Meik Sievertsen [X] (Inactive)
            morpheus007 morpheus007
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: