Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

I do not get thumbs automaticly

Help
2012-12-11
2013-06-14
  • Ernst May-Jung
    Ernst May-Jung
    2012-12-11

    Hi,

    Iv'e updated vom 2.2.5 to 3.3.3
    If I manually execute

     bin/faxrcvd.php recvq/fax000002308.tif ttyS0
    

    all works fine, and I will get thumbnails.

    When I recive a fax an faxrcvd.php is triggerd automaticly there are no thumbs.

    Here are the errors:

    [11-Dec-2012 21:21:19 UTC] PHP Notice:  Undefined index: CallID1 in /home/www/fax/includes/functions.php on line 859
    [11-Dec-2012 21:21:19 UTC] PHP Notice:  Undefined index: CallID1 in /home/www/fax/includes/functions.php on line 859
    [11-Dec-2012 21:21:19 UTC] PHP Warning:  mkdir(): Permission denied in /home/www/fax/includes/functions.php on line 785
    [11-Dec-2012 21:21:19 UTC] PHP Warning:  scandir(/home/www/fax/tmp/69fa73a7/): failed to open dir: No such file or directory in /home/www/fax/includes/functions.php on line 1208
    [11-Dec-2012 21:21:19 UTC] PHP Warning:  scandir(): (errno 2): No such file or directory in /home/www/fax/includes/functions.php on line 1208
    [11-Dec-2012 21:21:19 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/www/fax/includes/functions.php on line 1213
    [11-Dec-2012 21:21:19 UTC] PHP Warning:  file_get_contents(/home/www/fax/faxes/recvd/2012/12/11/4977569383/000002811/thumb.gif): failed to open stream: No such file or directory in /home/www/fax/includes/htmlMimeMail5.php on line 1014
    

    If got these Messages with "ini_set('error_log','/tmp/faxerror.log');" in the first rows of faxrcvd.php.
    The log then is created by User 'uucp'.

    I don't know what CallID1 is, and how it is used. I allso don't know nothing about scandir.

    Dos anybody have an hint for me how to fix the problem with the thumbnails?

    Ernst

     
  • Ernst May-Jung
    Ernst May-Jung
    2012-12-12

    Hi Ernst,

    I solved myself. For the next time I search for this error:
    Look at the rights of 'avantfax/tmp'.
    No tmp-file, no thumb.

    - Ernst

     
  • jonytrifulca
    jonytrifulca
    2013-06-14

    Thanks Ernst i migrate and have this problem, now all ok!! Thanks again!!