Broken links in fax visor

Discussion in 'General' started by just4fun, Jul 23, 2009.

  1. just4fun

    Joined:
    Dec 8, 2008
    Messages:
    17
    Likes Received:
    0
    After upgrading to Elastix 1.5.2-2 listing of received faxes consist of broken links.
    https://192.168.80.20/faxes//fax.pdf = for every fax , but the whole fax list looks the same as before.
    Trying to open the fax follow to the error "URL /faxes//fax.pdf was not found on this server."
    Also the e-mail message from fax server contain the broken link with epmty attachment.

    I suppose something changes in the folder that the received and sent faxes are going. The new folder is /var/www/html/faxes/recvd and /var/www/html/faxes/send while the old was simply /var/www/html/recvd and /var/www/html/send.
    Tying to change the hardcoded path in the php files couse no help.

    All current faxes are in the /var/www/html/recvd folder.

    Please any help?
     
  2. Megabyte

    Joined:
    Mar 28, 2009
    Messages:
    327
    Likes Received:
    0
    try this

    An error in one of the lines of /var/www/html/libs/paloSantoFax.class.php (in line 146)
    caused this problem.
    Change the line from

    if(is_array($result))
    to
    if(isset($result))

    Once this is done, the display will return.
     
  3. just4fun

    Joined:
    Dec 8, 2008
    Messages:
    17
    Likes Received:
    0
    Many thank for your answer. Something wrong with my script. The line's has commented and not even running as i can understood. [​IMG]
     
  4. just4fun

    Joined:
    Dec 8, 2008
    Messages:
    17
    Likes Received:
    0
    I've tried to remove the comments to enable the commented code, but after that the Fax application stop loading at all.
     
  5. Megabyte

    Joined:
    Mar 28, 2009
    Messages:
    327
    Likes Received:
    0
    Ok why dont you try to install avantfax, the install its automatic, try it that i think you just enable beta repos in the elastix update tab and in the console run yum install avantfax.
     
  6. Megabyte

    Joined:
    Mar 28, 2009
    Messages:
    327
    Likes Received:
    0
    Another thing, i dont like the upgrade from 1.3 to 1.5 i always recomend a clean install because many things get broken with the upgrade.
     
  7. just4fun

    Joined:
    Dec 8, 2008
    Messages:
    17
    Likes Received:
    0
    Thank you for your help.
    Code:
    yum install avantfax
    Resulted in
    Code:
    Setting up Install Process
    Parsing package install arguments
    No package avantfax available.
    Nothing to do
    I've also tried
    Code:
    yum install hylafax
    One package was updated but with no help.
     
  8. Megabyte

    Joined:
    Mar 28, 2009
    Messages:
    327
    Likes Received:
    0
    Hi try downloading this script you can do it directly in your elastix pbx with "wget www.lolacolay.com/ramon/avantfax-3.1.6.sh" later run the script with "sh ./avantfax-3.1.6.sh"



    this script will do the install for you, the script was written by ramoncio one of the biggest contributors of this forum.
     
  9. just4fun

    Joined:
    Dec 8, 2008
    Messages:
    17
    Likes Received:
    0
    Many thanks for your help. Script did the wright job!

    Although I've never use the Avantfax before. The Hylafax Fax Visor is start working!

    Best Regards!
     

Share This Page