Forums

image verification

dannyd 11 Oct, 2007
Hi I purchased the chronoforms and the antispam image is not showing up. I even installed the updated version of admin.chronocontact.html.php and im getting nothing when I view my form. Can someone please help me..

I purchased it in hopes of using this feature.
GreyHead 11 Oct, 2007
Hi dannyd,

What do you see on the AntiSpam tab? - it 'ought' to be giving you some diagnostics.

If everything is OK there then maybe you have a session problem.

Bob
Max_admin 11 Oct, 2007
Hi Danny,

Please post a screenshot of the antispam tab, if the image is not showing then this 99% some server setting or GD library issue, we will do our best to see what the problem is🙂

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
dannyd 12 Oct, 2007
not sure if my screenshot got posted

http://www.imaginesolutions.ca/temp/chronoantispamimage.jpg [/img]
Max_admin 12 Oct, 2007
Hi Dann,

You have an old ChronoForms version, I will email you now latest licensed version so you can upgrade and retest🙂

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
dannyd 12 Oct, 2007
I already created my forms and set everything up .. Is there a way to overwrite current files to get this to work without having to re-install it ?
Max_admin 12 Oct, 2007
Hi Dan,

Yes you can overwrite files, but you may need to make a very small change in PHPmyadmin to the database if your current version was older than 2.2 i think!

lets just overwrite he files and see, please backup any file before overwriting.

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
dannyd 12 Oct, 2007
I re-installed the component entirely and I still cant see the image verification when I add {imageverification} to the content.
GreyHead 12 Oct, 2007
Hi dannyd,

There's definitely something wrong as there should be a sample image where it says 'Sample image'.

There's another diagnostic written up in this FAQ. If possible please will you get the error report from your system and post it here. Thanks.

Bob
dannyd 13 Oct, 2007
Warning: imagettfbbox(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 21

Warning: imagettftext(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 56

Warning: imagettfbbox(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 57

Warning: imagettftext(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 56

Warning: imagettfbbox(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 57

Warning: imagettftext(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 56

Warning: imagettfbbox(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 57

Warning: imagettftext(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 56

Warning: imagettfbbox(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 57

Warning: imagettftext(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 56

Warning: imagettfbbox(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 57

Warning: imagettftext(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 56

Warning: imagettfbbox(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 57

Warning: imagettftext(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 56

Warning: imagettfbbox(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 57

Warning: imagettftext(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 72

Warning: imagettfbbox(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 73

Warning: imagettftext(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 72

Warning: imagettfbbox(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 73

Warning: imagettftext(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 72

Warning: imagettfbbox(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 73
I replaced the actualy domain with domain.com .. but here are the errors:


Warning: imagettftext(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 72

Warning: imagettfbbox(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 73

Warning: imagettftext(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 72

Warning: imagettfbbox(): Could not read font in /hsphere/local/home/dir/domain.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 73
‰PNG  ��� IHDR���#���(���û|ÔÍ���-IDATxœíÍ1�� µç·…ç�è$ubn“Éd2â„¢L&“Éd2â„¢Lï§"rM¼
GreyHead 13 Oct, 2007
Hi dannyd,

Hmmm looks like a problem with the font then :-)

Ther should be a font called default.ttf in the administrator/components/com_chronocontact folder. Please will you check that it's there and is readable. You might also download a copy and try opening it to make sure that it's not corrupt.

Bob
Max_admin 13 Oct, 2007
Hi Dan,

Whats up ? still the problem exists ? please let us know and I can go in there and test!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 14 Oct, 2007
Hi dannyd,

I Googled the error message - that brings up many examples but few solutions. A couple I found are:
[list]
  • The file gets corrupted, usually by an ASCII FTP upload. Yours seems to be OK.
  • The file chmod needs to be changed. Is yours set to 777?
  • [/list]One other test to run is to keep the Content-type set to show the error message and to edit chrono_verification.php to add a new line 18 immediately after itso you have
    header("Content-type: text/html"«»);
    echo dirname(__FILE__).'/default.ttf';
    This will add the path to the long page of error messages to show if there's any problem with that. Unlikley but I'm looking in the unlikely places now.

    Bob<br><br>Post edited by: GreyHead, at: 2007/10/14 11:10
    dannyd 15 Oct, 2007
    I posted the output of the chanages suggested above. I bolded the line of the output producted. Does this help ?

    [quote]/. . . /administrator/components/com_chronocontact/default.ttf

    Warning: imagettfbbox(): Could not read font in /hsphere/local/home/barefoot/barefootscience.com/cad/administrator/components/com_chronocontact/chrono_verification.php on line 25

    . . .
    ‰PNG  ��� IHDR���#���(���û|ÔÍ���-IDATxœíÍ1�� µç·…ç�è$ubn“Éd2â„¢L&“Éd2â„¢Lï§"rM¼
    dannyd 15 Oct, 2007
    this is getting really frustrating .. I was really depending on this part of the component.
    Max_admin 15 Oct, 2007
    Hi Dan,

    Sometimes problems arise bcoz of specific host settings which are not common, could you please send me an email with FTP login details for your website and admin details too ?

    Cheers

    Max
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    lonehorseend 15 Oct, 2007
    I have an image verification problem too, on the "Anti-Spam" Tab, I get the message "Image verification cannot be enabled becasue the GD Library has not been detected at your PHP installation."

    Yet when I run phpinfo() on the server, I get this:
    gd
    GD Support enabled
    GD Version bundled (2.0.28 compatible)
    GIF Read Support enabled
    GIF Create Support enabled
    JPG Support enabled
    PNG Support enabled
    WBMP Support enabled
    XBM Support enabled

    So what do I need to look at or do?
    GreyHead 15 Oct, 2007
    Hi lonehorseend,

    What version of PHP are you running?

    ChronoForms looks for the function gd_info() which should exist in PHP v4.3 or later. It uses that to check what GD support is installed.

    You can test with a tiny php file
    <?php print_r(gd_info()); ?>
    When I run this on my test rig I see

    Array ( [GD Version] => bundled (2.0.34 compatible) [FreeType Support] => 1 [FreeType Linkage] => with freetype [T1Lib Support] => 1 [GIF Read Support] => 1 [GIF Create Support] => 1 [JPG Support] => 1 [PNG Support] => 1 [WBMP Support] => 1 [XPM Support] => [XBM Support] => 1 [JIS-mapped Japanese Font Support] => )

    Bob<br><br>Post edited by: GreyHead, at: 2007/10/15 14:29
    GreyHead 15 Oct, 2007
    Hi dannyd,

    Thanks - that just confirmed that ChronoForms is looking for the font file in the correct location. Removed one more possible source of the problem.

    Bob
    dannyd 15 Oct, 2007
    Hi Admin,

    I sent you my FTP info.

    Thanks for the help!
    lonehorseend 16 Oct, 2007
    Hi Bob:

    I'm running PHP Version 4.4.7

    The gd_info command revealed:

    Array ( [GD Version] => bundled (2.0.28 compatible) [FreeType Support] => [T1Lib Support] => [GIF Read Support] => 1 [GIF Create Support] => 1 [JPG Support] => 1 [PNG Support] => 1 [WBMP Support] => 1 [XBM Support] => 1 [JIS-mapped Japanese Font Support] => )

    GreyHead 16 Oct, 2007
    Hi lonehorseseed,

    Ok, "[FreeType Support] => " shows that FreeType support isn't enabled and ChronoForms needs that to work with the font file.

    Hopefully you or your ISP can enable the support, then all should be well.

    Bob

    PS This error should show up on the AntiSpam tab as "FreeType Support No"<br><br>Post edited by: GreyHead, at: 2007/10/15 22:45
    drcleave 24 Oct, 2007
    Can you please post the problem resolution for dannyd's posts? I am having the same problem with the image not showing up. I am using Joomla v1.0.12 and ChronoForms v2.3.5. I have checked on the default.ttf file and it is in the correct folder and I am able to open and view it fine.
    Max_admin 24 Oct, 2007
    Hi drcleave,

    At v2.3.5 you have a new option at the antispam tab to use captcha without fonts, can you make it without fonts and check if its working fine ?

    Cheers

    Max
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    drcleave 24 Oct, 2007
    No, selecting "without fonts" does not work. I still do not see the image, just the text field.
    Max_admin 25 Oct, 2007
    and not on the backend too ?
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    drcleave 25 Oct, 2007
    Right, I do not see any image displaying next to Sample Image.
    Max_admin 25 Oct, 2007
    hi drcleave,

    How did you get 2.3.5 installed ? a fresh installation or an upgrade ?
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    drcleave 25 Oct, 2007
    Upgrade. I deleted all the old files through FTP, then uploaded all new files from 2.3.5.
    Max_admin 25 Oct, 2007
    so, where do you have image_verification.php ? and background.png ?🙂
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    drcleave 25 Oct, 2007
    I have background.png in the images folder of administrator/components/com_chronocontact and in components/com_chronocontact. I do not have the image_verification.php file in my zip download. Should this be in there?
    Max_admin 26 Oct, 2007
    Hi drcleave,

    Please put the background and the chrono_verification.php both under components/com_chronocontact/ directly!!

    Cheers

    Max
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    tsg 17 Nov, 2007
    Hi,

    I installe Joomla 1.013 some weeks ago and yesterday I added Chronoforms. I hav also a - slightly different - problem with the captcha code: Everything is shown correctly in the settings tab, including the example picture but in the form itself no evaluation code is seen! Trying to send the form results in an "evaluation error". I think I need help :sick:
    GreyHead 17 Nov, 2007
    Hi tsg,

    Please check out this FAQ. If that doesn't help (and it may not) then please take a backup copy of your form and attach it here or email it to info at greyhead.net so I can take a closer look.

    Bob
    tsg 19 Nov, 2007
    I checked it already. I have this php NOT in my administrator directory but in the "normal" com-directory and if I call it directly it shows the picture. I simply use the test form to check this funtion. Here are the requested files:
    tsg 19 Nov, 2007
    here ist the form:
    tsg 19 Nov, 2007
    and here ist the backup-file: [file name=test_form.cfbak size=1509]http://www.chronoengine.com/components/com_fireboard/uploaded/files/test_form.cfbak[/file]
    Max_admin 19 Nov, 2007
    Hi tsg,

    Is this a fresh installation of V2.3.6 ? no changes at all have been made ? the image shows at the admin tab ?

    Max
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    tsg 20 Nov, 2007
    yes. exactly. a fresh installation.
    GreyHead 20 Nov, 2007
    Hi tsg,

    You need to add {imageverification} in the form html where you want the image to show.

    Bob
    Max_admin 20 Nov, 2007
    Hi tsg,

    In order for the image verification to appear at your form then you must have the text {imageverification} inside your form code which I can't find!!🙂

    once you add this text it will appear!

    Cheers

    Max<br><br>Post edited by: GreyHead, at: 2007/11/20 10:08
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    tsg 20 Nov, 2007
    You're right! Thank you - it works now!

    Suggestion: What about including a hint in the admin tab of the form configuration's Anti spam tab?
    GreyHead 20 Nov, 2007
    Hi tsg,

    You're right - I went to check (it's actually in the tool-tip but you have to hover over the blue 'i' to see it.

    Bob
    adri.ej 22 Nov, 2007
    Question - may be a dumb one. I read the note about
    "#1- Imageverification won't work fine if you choosed Database as the session handler in the global config, choosing none is OK." and Chronoforms for J1.5

    So -- I changed my session handler to none (from database) and it still isn't working.

    The form I'm trying to get this to work on is located here

    I've tried logging out of joomla, clearing caches, restarting the server -- any suggestions or ideas or do I just need to be committed to not using image verfication?

    Thanks for the help!
    Max_admin 22 Nov, 2007
    Hi adri,

    By not working you mean ?
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    adri.ej 22 Nov, 2007
    :)

    Apologies,

    A popup appears after submit that tells me I typed in the wrong verification code.

    I've tried it in both IE and FF -- and have had other people try it as well --
    Max_admin 22 Nov, 2007
    Hi,

    No worries, Please backup any file before you edit and lets try this hack:

    File chronocontact.php please remove these lines :

    
    if (session_name() != md5('chrono')){
    			session_write_close();
    		}
    		session_name(md5('chrono'));
    


    file : chrono_verification.php, please remove this :

    
    session_name(md5('chrono'));
    


    So, what happens ?
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    adri.ej 27 Nov, 2007
    well...I couldn't get it to work - and so I had someone a little more savvy than me try it. And it still didn't work (which made me feel better)😉

    Although he says:

    I edit the php so that it would echo $_SESSION['chrono_verification'] and my result is null.



    Does that help determine what the problem is any?
    Max_admin 29 Nov, 2007
    Hi adri,

    Did he try this before and after the hack ? or at which case ?
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    adri.ej 01 Dec, 2007
    He says he tried it before and after.

    I've even tried a fresh install of chronoforms and redid the forms -- just to make sure and had no luck.

    Would it matter that I'm currently running in legacy mode?

    (thank you for your assistance with this)
    Max_admin 01 Dec, 2007
    Hi,

    I guess so, I'm not sure if its necessary to make some changes to the component code to make it working on legacy mode, We got it working on the normal mode just fine, but in legacy, I cant guarantee this, I will try to look at this issue soon!

    Thanks!!

    Max
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    This topic is locked and no more replies can be posted.