Jerome Jourdain
New Member
- Joined
- Jul 11, 2018
- Messages
- 2
- Reaction score
- 0
Hi,
I have weird errors while trying to create an IVR on a fresh install of Incredible PBX 13 on Ubuntu 18.04 and everything is up-to-date.
hopefully someone will catch this issue
here what I think is the issue : General error: 1366 Incorrect integer value: 'None' for column 'announcement' at row 1::
just like if the system is awaiting for an interger value but the choices are not integers
seems like whatever I choose for the "annoncement" I have this error !
here is some errors (highlithed line with errors) :
/var/www/html/admin/libraries/utility.functions.php
I have weird errors while trying to create an IVR on a fresh install of Incredible PBX 13 on Ubuntu 18.04 and everything is up-to-date.
hopefully someone will catch this issue
here what I think is the issue : General error: 1366 Incorrect integer value: 'None' for column 'announcement' at row 1::
just like if the system is awaiting for an interger value but the choices are not integers
seems like whatever I choose for the "annoncement" I have this error !
here is some errors (highlithed line with errors) :
/var/www/html/admin/libraries/utility.functions.php
- if(is_object($extended_text) && method_exists($extended_text,"getMessage")) {
- $e = $extended_text;
- $extended_text = htmlentities($e->getMessage());
- $code = $e->getCode();
- throw new \Exception($text . "::" . $extended_text,$code,$e);
- } else {
- $extended_text = htmlentities($extended_text);
- throw new \Exception($text . "::" . $extended_text);
- }
- }
- $start .= "$k, ";
- $end .= ":$k, ";
- }
- $sql = substr($start, 0, -2).substr($end, 0, -2).")";
- $foo = $db->query($sql, $vals);
- if($db->IsError($foo)) {
- die_freepbx(print_r($vals,true).' '.$foo->getDebugInfo());
- }
- // Was this a new one?
- $id = FreePBX::Recordings()->addRecording("ivr-".$vars['name']."-recording-".time(),sprintf(_("Recording created for IVR named '%s'"),$vars['name']),"custom/".$filename);
- $vars['announcement'] = $id;
- } else {
- $vars['announcement'] = '';
- }
- }
- //get real dest
- $vars['id'] = ivr_save_details($vars);
- ivr_save_entries($vars['id'], $entries);
- needreload();
- if ( !$this->sorted_processfuncs ) {
- $this->sortprocessfuncs();
- }
- if ( is_array($this->processfuncs) ) {
- foreach ( array_keys($this->processfuncs) as $sortorder ) {
- foreach ( $this->processfuncs[$sortorder] as $func ) {
- $func($this->compname);
- }
- }
- // BMO: Process ConfigPageInit functions
- $bmo->Performance->Start("inits-$display");
- $bmo->GuiHooks->doConfigPageInits($display, $currentcomponent);
- $bmo->Performance->Stop("inits-$display");
- // now run each 'process' function and 'gui' function
- $bmo->Performance->Start("processconfigpage-$display");
- $currentcomponent->processconfigpage();
- $bmo->Performance->Stop("processconfigpage-$display");
- $bmo->Performance->Start("buildconfigpage-$display");