TOPIC:

CAPTCHA image is not working... 13 years 6 months ago #10042

  • Topic Author
  • Profitweb
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • Posts: 21
  • Thanks: 0
I can add CAPTCHA to my form but the picture doesn't show. I'm getting 1-2 spam registrations a day & would like to stop them. Email works just fine... I get these registrations.

USING: BreezingForms 1.6.5 Stable (build 723) [Trinity]

NO SERVER ERRORS: "Your CGI error log is currently empty." It is turned on.

I viewed the other thread & tried the suggestions there, but with no better results.

ONE: TTF is supported/enabled:
'./configure' '--prefix=/usr/local/lib/php-5.2.4' '--without-apache' '--with-mysql=/usr' '--with-mysqli' '--with-gd' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-tiff-dir=/usr' '--disable-debug' '--enable-discard-path' '--enable-inline-optimization' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-memory-limit' '--with-regex=system' '--with-zlib' '--enable-ftp' '--enable-sockets' '--enable-magic-quotes' '--with-gettext' '--enable-wddx' '--with-gdbm' '--with-db4' '--with-freetype-dir=/usr' '--with-curl=/usr' '--with-mhash' '--with-xsl' '--enable-calendar' '--with-mcve' '--with-dom' '--with-iconv' '--with-xmlrpc' '--with-mcrypt' '--with-bzip2' '--with-ming=/usr' '--with-pspell' '--with-openssl' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--with-imap' '--with-kerberos' '--with-imap-ssl' '--enable-bcmath' '--enable-dbase' '--enable-exif'

TWO: I changed:

JROOT/components/com_facileforms/images/captcha/securimage.php

Browse to around line 144 and change this code:
var $use_gd_font = false;
to this
var $use_gd_font = true;
It created errors in my CGI error log & didn't make the CAPTCHA work.

THREE: I verified that the permissions were set at 755 for the two ff_secimage.php files.

FOUR: No SEO components are installed.

Here is the link to my form: www.asm-utoledo.org/index.php?option=com_facileforms&Itemid=89


Any other suggestions to get this to work?

Thanks,
Kim

Please Log in or Create an account to join the conversation.

Last edit: Post by Profitweb.

Re: CAPTCHA image is not working... 13 years 6 months ago #10043

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Administrator
  • Administrator
  • Super Users
  • Posts: 10544
  • Thanks: 864
Hi,

I need see the errors from your error logs.

However, I got a lead.

If you compare the captcha output from your site with the one at crosstec.org, you'll see that the crosstec one is a lot larger.
So I guess your script stops for some reason. Hope the reason why is stated in your logs (also try looking for php error log):

Crosstec:
crosstec.org/ff_secimage.php?option=com_...forms&bfCaptcha=true

Your site:
asm-utoledo.org/ff_secimage.php?option=c...forms&bfCaptcha=true

Regards,
Markus

Please Log in or Create an account to join the conversation.

Last edit: Post by TheMuffinMan.

Re: CAPTCHA image is not working... 13 years 6 months ago #10044

  • Topic Author
  • Profitweb
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • Posts: 21
  • Thanks: 0
Which error logs? PHP errors usually show up on my server error log or in the Joomla "Configuration File" area. I cleared the server error log & haven't been able to get any new errors. I've looked all through all of the Joomla system info tabs & everything looks good, all green, no errors listed.

Is there someplace else I need to look?

Please Log in or Create an account to join the conversation.

Re: CAPTCHA image is not working... 13 years 6 months ago #10045

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Administrator
  • Administrator
  • Super Users
  • Posts: 10544
  • Thanks: 864
Hi,

you mentioned this previously:

"It created errors in my CGI error log"

I would like to see at least these errors.

Please Log in or Create an account to join the conversation.

Re: CAPTCHA image is not working... 13 years 6 months ago #10046

  • Topic Author
  • Profitweb
  • Offline
  • Junior Member
  • Junior Member
  • Registered
  • Posts: 21
  • Thanks: 0
Hmmmm, I guess that wasn't how I produced an error.

I changed
var $use_gd_font = true;
to
var $use_gd_font = false;
Now the the page is showing the full list: asm-utoledo.org/ff_secimage.php?option=c...orms&bfCaptcha=false

However, Captcha is still not showing on the form page . I refreshed the server CGI Error Log but it's not showing any errors.

I turned on debugging mode in Joomla. I'm not sure if that gives any useful information to you.

Please Log in or Create an account to join the conversation.

Last edit: Post by Profitweb. Reason: added last line

Re: CAPTCHA image is not working... 13 years 6 months ago #10048

  • TheMuffinMan's Avatar
  • TheMuffinMan
  • Offline
  • Administrator
  • Administrator
  • Super Users
  • Posts: 10544
  • Thanks: 864
Hi,

I found out that the reason must be a server issue. If you download the image straigt from the url into a file and open it in a text or hex editor, you'll see that the binary data is broken. Bf itself flushes the binary data and sets the correct header declaration. So there is no issue.

I attached you two files for you to compare and analyze.

I currently don't know what could cause this, but it really seems to be sort of webserver issue. So if you find the time, please check for similar issues on the web as well (and maybe asking your host if they know about such a behaviour).

I will try find an answer as well.

File Attachment:

File Name: captcha_issue.zip
File Size:8 KB
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.059 seconds

Support Chat

Join our Discord chat and enter the Crosstec channels for live-support, chat forums and interact directly with the community!

After joining, please enter the Crosstec Area and use the #crosstec-support or #crosstec-general channels.

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Subscribe to news and updates!

Special Offer

Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Live Support Chat Opened!

Join our Discord chat here and enter the Crosstec channels to receive live support and talk directly to the team!