We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Troubleshooting CAPTCHA Issue (Captcha not being displayed). | Forum

Alia Team
Alia Dec 13 '13
OVERVIEW

Standard Oxwall Captcha is the set of number/letters displayed at the end of the join form. It is also added when user tries to send several private message within a short period of time.





PROBLEM: Captcha is not being displayed.




WHAT TO DO.

1. To display Captcha  script requires GD library with FreeTypesupport to be installed on your server. To find out whether you have GD Library installed:

- open /ow_includes/config.php file>> find define('OW_URL_HOME', 'http://sitename.com/');  line within the file

-add following piece of code right after that line:

phpinfo();

Overall you should have:

<?php

define('OW_URL_HOME', 'http://sitenae.com/');
phpinfo();
define('OW_DB_HOST', 'localhos
t');
......

- save changes you have  made>>open your homepage of your powered by Oxwall site. Don't get scared. You will see a long table with all kinds of data. Search for the table called "GD":



GD Support should be  set to "enabled".
FreeType Support should be set to "enabled".

If one of them is disabled, contact your hosting company and ask to enable those features.

DONT FORGET TO REMOVE phpinfo(); from config.php once your are done checking.

2. If GD Library and FreeType support are enabled on your server but you still don't see Catpcha:
  1. Open http://yoursitename.com/base/captcha/ in any browser. This page will display all Captcha related errors. If you are not sure what errors mean, contact Oxwall support team for assistance.
  2. Deactivate all of your plugins one by one. Refresh join page after each deactivation.
  3. Remove all Custom HTML widgets ( especially if they contain JavaScript code)one by one as well. Check your join page after removing each widget.
  4. Remove any custom script ( especially JavaScript) added to Oxwall's .html and .php files ( Example: code to make snow fall on your site, “Share This” code).
  5. Make sure that TTfonts are configured on your server ( contact your host).
  6. Search your server's error logs for anything related to Captcha.



3.CHECKING OXWALL'S CORE FILES:

Find original package (.zip) containing Oxwall software of the same version that is being used on your site. If your site uses 1.5.3- find original 1.5.3 package, if your site uses 1.4.2 - find original 1.4.2 package.

Compare following files from original Oxwall package with the ones currently used on your site:

  • ow_system_plugins/base/controllers/join.php
  • ow_libraries/secureimage/secureimage.php
  • ow_system_plugins/base/views/controllers/join.html

If they are not identical, back up your own files and try replacing them by original ones.





Useful links:

http://www.oxwall.org/forum/topic/12213
http://www.oxwall.org/forum/topic/351




Alia Team
Alia Dec 15 '13
Same instructions can be found at http://docs.oxwall.org/faq:captcha-troubleshooting
This topic is sticky
This topic is locked