okay, to start with I had the problem with the image not showing up, and the sound file also not being played, so i read a few posts and based on that opened this link
conocimiento-general.com/components/com_comprofiler/plugin/user/plug_cbcaptcha/captchaindex.php
and that showed me 3 php errors, 2 that said in the
captchaindex.php
line 15 globals.php file not found
so I went to check that file and had this in the file
[code:1]<?php
/**
* Captcha Tab Class for handling CB Registration, CB lost password, CB member email and CB Contact form submissions
* @version $Id$
* @package plug_cbcaptcha
* @subpackage captchaindex.php
* @author Nant and Beat
* @copyright (C) Nant, JoomlaJoe and Beat,
www.joomlapolis.com
* @license Limited
www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL v2
* @final 2.0
*/
define( '_VALID_MOS', 1 );
include_once( '../../../../../globals.php' );
if ( isset($_GET) && isset($_GET) ) {
$urlmode = $_GET; // Expected values image or audio[/code:1]
line 15 is this one
[code:1]include_once( '../../../../../globals.php' );[/code:1]
and i replaced globals.php for configuration.php
that left me with only one error the one you can see at this link
conocimiento-general.com/components/com_comprofiler/plugin/user/plug_cbcaptcha/captchaindex.php
that is
invalid session
from there the image still did not show up so I went to the configuration file and found this
[code:1] var $session_handler = 'database';[/code:1]
this line is by the bootom of the file, the configuration.php file, my configuration.php file is located in the root folder with 444 permissions
and I replaced that line for
[code:1] var $session_handler = 'none';[/code:1]
and that is all I did and it started working
you can see that here
conocimiento-general.com/
however before doing this I had other plugns for captcha installed, I uninstalled those, I dont know if that made any difference, but if you are planning to use this one then I dont think there is any reason for you to keep the other ones
and basically i did no more than that, if I can clarify something please let me know
And here are my system specs incase that helps anyone
joomla Version 1.5.14
community builder Your version is : 1.2.1
Latest version 1.2.1
captcha plugin Version: 2.0 (compatible with CB 1.1 and above)
Release Date: 07.Sep.2007
Credits: This plugin was created by Nant and Beat. Captcha image code is based on script
www.white-hat-web-design.co.uk/articles/php-captcha.php - audio sounds taken from
www.chimeric.de/projects/npa project.
License: This plugin is distributed under a limited GNU/GPL v2 license and cannot be modified to work with anything else outside of the Community Builder suite supported by the Joomlapolis.com site
Plugin Prerequisites
GD: bundled (2.0.34 compatible)
Freetype: enabled
other system settings
PHP Built on: Linux srv39.000webhost.com 2.6.29.5-grsec-hostnoc-4.2.0-i386-libata #1 SMP Wed Jul 8 17:07:07 EDT 2009 i686
Database Version: 5.0.81-community
Database Collation: utf8_general_ci
PHP Version: 5.2.11
Web Server: Apache
Web Server to PHP interface: apache2handler
Joomla! Version: Joomla! 1.5.14 Stable [ Wojmamni Ama Naiki ] 30-July-2009 23:00 GMT
User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; es-ES; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14 (.NET CLR 3.5.30729)
Safe Mode: Off
Open basedir: /home/:/usr/lib/php:/tmp
Display Errors: On
Short Open Tags: On
File Uploads: On
Magic Quotes: On
Register Globals: Off
Output Buffering: On
Session Save Path: /tmp
Session Auto Start: 0
XML Enabled: Yes
Zlib Enabled: Yes
Disabled Functions: system, show_source, exec, shell_exec, proc_open, passthru, set_time_limit, ini_restore, mysql_list_dbs, ini_alter, dl, pfsockopen, openlog, syslog, symlink, link, chgrp, leak, popen, escapeshellcmd, apache_child_terminate, apache_get_modules, apache_get_version, apache_getenv, apache_note, apache_setenv, virtual, mb_send_mail
Mbstring Enabled: Yes
Iconv Available: Yes
WYSIWYG Editor: Editor - No Editor
PHP Version 5.2.11
please let me know if I can clarify anything
Post edited by: tlak83, at: 2009/10/12 04:41