XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Fails because the function is passed the file name without the full path.
      Adding in the path (statically for quick fix) worked.

      web_interface/astpp/application/modules/systems/controllers/systems.php
      Starting at line 571:

      		$result_array = $result->result_array ();
      		if ($result->num_rows () > 0) {
      			$path = $result_array [0] ['path'];
      // For some reason we're getting just the file name - so fix this up
      $path = '/var/www/html/astpp/database_backup/' . $path ;
      			$filename = basename ( $path );
      			$len = filesize ( $path );
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            alexheylin alexheylin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: