-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 13
-
Fix Version/s: 13
-
Component/s: Announcements, Asterisk Modules, Recordings
-
Labels:None
-
ToDo:
-
Asterisk Version:Asterisk 13
-
Distro Version:FreePBX 13.0.1beta3.60
-
Distro:FreePBX Distro
Last Recordings module upgrade to 12.0.8 to 13.0.1beta5 is creating an exception error. Apparently it is trying to look for directories with Announcement names and IVR destinations.
This is the error I get:
7. Whoops\Exception\ErrorException
/var/www/html/admin/modules/recordings/install.php58
6. Whoops\Run handleError
<#unknown>0
5. rename
/var/www/html/admin/modules/recordings/install.php58
4. include_once
/var/www/html/admin/libraries/modulefunctions.class.php2363
3. module_functions _doinclude
/var/www/html/admin/libraries/modulefunctions.class.php2315
2. module_functions _runscripts
/var/www/html/admin/libraries/modulefunctions.class.php1878
1. module_functions install
/var/www/html/admin/page.modules.php283
0. include
/var/www/html/admin/config.php354
$recordings = $sth->fetchAll(\PDO::FETCH_ASSOC);
foreach($recordings as $recording) {
$files = explode("&",$recording['filename']);
$filenames = array();
foreach($files as $file) {
//move all custom files first
if(preg_match("/^custom\/(.*)/",$file,$matches)) {
rename($dir."/".$recording['filename'],$dir."/en/".$matches[1]);
$filenames[] = $matches[1];
} elseif(preg_match("/^\w{2}\_\w{2}|\w{2}\//",$file)) {
Unable to revert Recording module to get to working condition.
- duplicates
-
FREEPBX-10085 recordings update fails to install - whoops
-
- Closed
-