PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Signature Image not displaying in email notification

  1. DGRComms
    Member

    Hi,

    I am using the signature add-on on various forms and the signature is not working. I have tried all the options I read about include the url version.

    Code used {Signature:58:url}
    This is what I get https://www.hibcc.org/?page=gf_signature&signature=505a513b393910.74830323

    I have ticked the disable autoformatting using the above code.

    I have also left it unticked and use this code
    (img src="{Signature of Official Representative:32}" alt="signature for {Contact Person (First):3.3} {Contact Person (Last):3.6}" )
    and a broken image shows.

    Any ideas how I can get this to work?

    I received my email using Google mail, the hosting server is windows with PHP with the library and I am running the latest version of your plugin and wordpress.

    Thanks

    Posted 11 years ago on Wednesday September 19, 2012 | Permalink
  2. Please send me a WordPress administrator login for your site, or export the form as XML (Forms menu > Import/Export > then the top menu item "Export Forms") and send it to chris@rocketgenius.com and I will take a look at the notification for you. If the notification is correct, then it will be something with the Windows hosting.

    Posted 11 years ago on Thursday September 20, 2012 | Permalink
  3. I logged in and saw this error immediately in the admin:

    Warning: Cannot modify header information - headers already sent by (output started at D:\InetPub\vhosts\hibcc.org\httpdocs\wp-content\plugins\gravityforms\tooltips.php:319) in D:\InetPub\vhosts\hibcc.org\httpdocs\wp-content\plugins\gravityformssignature\signature.php on line 551

    I also get that at the top of the page for what should be the PNG image. I wonder if that is related to the image not being rendered as an image and being invalid? Is there a way on your host to suppress the output of PHP warnings?

    I've never seen that error before and it's not a common one. I submitted a test and received a notification with the link to the broken image in it. It would be good to test for theme and plugin conflicts too, if you can, by following these instructions http://rkt.gs/testing

    I also tried to export the form to try it on my server, but the PHP warnings fouled that output as well, and tried to open the XML file in the browser, with these warnings at the top of the page:

    Warning: Cannot modify header information - headers already sent by (output started at D:\InetPub\vhosts\hibcc.org\httpdocs\wp-content\plugins\gravityforms\xml.php:421) in D:\InetPub\vhosts\hibcc.org\httpdocs\wp-content\plugins\gravityforms\export.php on line 146

    Warning: Cannot modify header information - headers already sent by (output started at D:\InetPub\vhosts\hibcc.org\httpdocs\wp-content\plugins\gravityforms\xml.php:421) in D:\InetPub\vhosts\hibcc.org\httpdocs\wp-content\plugins\gravityforms\export.php on line 147

    Warning: Cannot modify header information - headers already sent by (output started at D:\InetPub\vhosts\hibcc.org\httpdocs\wp-content\plugins\gravityforms\xml.php:421) in D:\InetPub\vhosts\hibcc.org\httpdocs\wp-content\plugins\gravityforms\export.php on line 148

    It's also possible the problem is related to hosting on IIS and maybe there is some additional configuration to be done, but we need to get rid of the warnings and test for theme and plugin conflicts first.

    Posted 11 years ago on Friday September 21, 2012 | Permalink
  4. I forgot to say it looks like your notification is OK with the proper HTML to render the img tag. That was what I was hoping was wrong. That part is fine and the problem lies with these warnings and the host configuration.

    Posted 11 years ago on Friday September 21, 2012 | Permalink
  5. DGRComms
    Member

    Hi Chris, thanks. I will speak to my host and see what they say. I never normally host WP on Windows servers but we needed to do it this time.

    Posted 11 years ago on Friday September 21, 2012 | Permalink
  6. Windows and WordPress don't always get along well. Let us know what you find out. Maybe we need to do something to make the signature add-on work around some IIS limitation.

    Posted 11 years ago on Saturday September 22, 2012 | Permalink
  7. Your signature is here:
    https://www.hibcc.org/wp-content/uploads/gravity_forms/signatures/505a513b393910.74830323.png

    I am looking at two very similar problems and trying to find out what is common to them. Here is the other topic.

    Posted 11 years ago on Saturday September 22, 2012 | Permalink
  8. DGRComms
    Member

    Hi Chris, thanks I will let you know what they say.
    Thanks
    Ginnie

    Posted 11 years ago on Sunday September 23, 2012 | Permalink
  9. DGRComms
    Member

    Hi Chris, It seems the hosting company has found the issue and fixed it. Please read below:

    The error message you show suggest that the file D:\InetPub\vhosts\hibcc.org\httpdocs\wp-content\plugins\gravityforms\tooltips.php has spaces in it some where and they are getting sent to the client and should not be. I have reviewed the file and fixed the code issue. This is not do to a server configuration error it was just 2 empty lines at the bottom of the file. The URL https://www.hibcc.org/?page=gf_signature&signature=505a513b393910.74830323 now shows your signature (please see attached screenshot). I'm not sure if that will fix the email attachment aspect but it's a place to start.

    This might help you other client! :)

    Thanks

    Posted 11 years ago on Sunday September 23, 2012 | Permalink
  10. That's good information: thank you. The bottom of my tooltips.php looks like this:

    [php]
    }
    
    ?>

    That should not create a problem, and does not on Linux servers, but those blank lines can be deleted and even the last line can be removed. I will bring it to the attention of the developers. Thank you for your help.

    [The syntax highlighter here condensed two blank lines into one. There should be four lines posted with two blank lines at line 2 and 3.]

    Posted 11 years ago on Monday September 24, 2012 | Permalink
  11. We have removed the extra blank lines in our development release. Sorry for the inconvenience.

    Posted 11 years ago on Monday September 24, 2012 | Permalink

This topic has been resolved and has been closed to new replies.