Unable to send fax
Brought to you by:
adminorama
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
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Apparently, the faxes do send fine.
Last edit: Anonymous 2015-08-18
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]