Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-13675

Whoops Error when update to ver 13.0.34

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Recordings
    • Labels:
      None
    • Distro:
      FreePBX Distro

      Description

      I have directory under spool/asterisk/sounds/custom/

      When update to version 13.0.34 Whoops Error

      
      Whoops \ Exception \ ErrorException (E_WARNING)
      rename(/var/lib/asterisk/sounds/custom/update,/var/lib/asterisk/sounds/he/custom/update): Directory not empty
      /var/www/html/admin/modules/recordings/install.php
      	$sth->execute(array(implode('&',$filenames), $recording['id']));
      }
       
      if(file_exists($dir."/custom")) {
      	$files = glob($dir."/custom/*");
      	foreach($files as $file) {
      		$parts = pathinfo($file);
      		rename($file,$dir."/".$default."/custom/".$parts['filename']);
      		FreePBX::Recordings()->addRecording($parts['filename'],"Migrated file","custom/".$parts['filename']);
      	}
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                xrobau Rob Thomas
                Reporter:
                sr377 sr377
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.