Menu

#2 Unable to send fax

open
nobody
None
6
2010-07-07
2010-07-07
Anonymous
No

Faxing via the web interface fails.

Apache error_log as follows:

[Wed Jul 07 09:22:51 2010] [error] [client 172.18.4.103] PHP Notice: Undefined index: err in /srv/www/htdocs/fax/faxy/errorcodes.php on line 3, referer: http://xxx.com/fax/faxy/uptest.php?err=004
[Wed Jul 07 09:22:51 2010] [error] [client 172.18.4.103] PHP Fatal error: Cannot break/continue 1 level in /srv/www/htdocs/fax/faxy/uploader.php on line 16, referer: http://xxx.com/fax/faxy/uptest.php?err=004
[Wed Jul 07 09:22:51 2010] [error] [client 172.18.4.103] File does not exist: /srv/www/htdocs/fax/faxy/faxy_lib.js, referer: http://xxx.com/fax/faxy/uptest.php?err=004

Discussion

  • Anonymous

    Anonymous - 2010-07-07

    Apparently, the faxes do send fine.

     

    Last edit: Anonymous 2015-08-18
  • YoFayed

    YoFayed - 2011-12-15

    The missing "faxy_lib.js" file is the same as "faxy_js.php.js", so you can rename the file, but you might have to edit the file to remove some invalid characters. Below is a copy of my "faxy_lib.js" file after editing:

    [code] function checkError (msg) {
    if (msg != "" && msg != null) {
    alert(msg);
    }
    }
    function addFolder() {
    var folder = prompt('Provide a name for the new folder');
    if (folder != "" && folder != null) {
    document.getElementById("foldername").setAttribute("href","sys.php?cmd=addfolder&folder="+folder);
    } else {
    document.getElementById("foldername").setAttribute("href","javascript:void(0)");
    }
    }
    function rinomina(oldName) {
    var faxname = prompt('Provide a new name for this fax');
    if (faxname != "" && faxname != null) {
    document.getElementById("renameit").setAttribute("href","sys.php?cmd=renameFax&path="+oldName+"&name="+faxname);
    } else {
    document.getElementById("renameit").setAttribute("href","javascript:void(0)");
    }
    }
    function sposta(oldName) {
    var faxlocation = prompt('Insert the destination folder');
    if (faxlocation != "" && faxlocation != null) {
    document.getElementById("moveit").setAttribute("href","sys.php?cmd=moveFax&path="+oldName+"&location="+faxlocation);
    } else {
    document.getElementById("moveit").setAttribute("href","javascript:void(0)");
    }
    }[/code]

     

Log in to post a comment.

MongoDB Logo MongoDB