1
Razbox
Code captcha not work
  • 2009/11/12 15:13

  • Razbox

  • Just popping in

  • Posts: 14

  • Since: 2009/10/1


I have upgrade my XOOPS system 2.3.3b to 2.4.1,
but code captcha into registration module,
not work and not visible (2.3.3b and 2.4.1).

I am confused!

I must setting into admin module or is a bug?

Razbox

2
ghia
Re: Code captcha not work
  • 2009/11/13 0:47

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


So, it didn't work in both versions?
Is the captcha title, or image showing in the registration form?
What is the generated HTML source code for that form row?
Do you use the profile module?

3
Razbox
Re: Code captcha not work
  • 2009/11/13 18:02

  • Razbox

  • Just popping in

  • Posts: 14

  • Since: 2009/10/1


No work into all version (2.3.3b and 2.4.1) Yes, i use and is active profile module. This is output source:
                                                                                                                                                                                       Username                                 *                             
                                                                                                                                                                                                                                                                                                                  Email                                 *                             
                                                                                                                                                                                                                                                                                                                  Password                                  *                             
                                                                                                                                                                                                                                                                                                                  Verify Password                                 *                             
                                                                                                                                                                                                                                                                                                                  Disclaimer                                 *                             
                                                                                                            Gli amministratori e moderatori di questo sito cancelleranno o modificheranno, il più velocemente possibile, qualsiasi contenuto ritenuto sgradevole o offensivo.È in ogni caso impossibile esaminare ogni messaggio e si mette quindi a conoscenza che tutti i messaggi esprimono opinioni e punti di vista dei loro autori e non degli amministratori, moderatori o webmaster (ad eccezione dei messaggi inviati da questi utenti) e sono per questa ragione al di fuori della responsabilità diretta degli amministratori del sito.Si accetta di non inviare messaggi e/o allegati osceni, volgari, calunniosi, discriminatori, atti a fomentare qualsiasi forma di odio politico, razziale o religioso, o qualsiasi materiale in contrasto con le leggi vigenti in Italia.Il non rispetto di queste condizioni provocherà l'immediata e definitiva espulsione (e il vostro provider/hosting verrà informato).Tutti gli indirizzi IP degli autori dei messaggi saranno registrati per consentire l'applicazione di queste condizioni. Non è consentito creare account multipli per la stessa persona fisica. Si accetta inoltre che i webmaster, amministratori o moderatori di questo sito abbiano il diritto di cancellare, modificare, spostare o chiudere qualsiasi discussione ogni volta lo ritengano necessario.Come utente si accetta inoltre che qualsiasi informazione inserita venga memorizzata in un database. Questi dati non verranno consegnati a terze parti senza il consenso dell'utente e ne verrà garantità la protezione attraverso l'utilizzo di adeguati sistemi di sicurezza e di monitoraggio. Webmaster, amministratori e moderatori non possono in ogni caso essere ritenuti responsabili per operazioni hacking che possano condurre ai suddetti dati.Questo sito utilizza dei cookies per salvare informazioni in locale sul computer dell'utente.Tali cookies non contengono alcun dato personale dell'utente, tra quelli inseriti nel modulo di registrazione (ad eccezione dell'id utente), e servono solo a consentire la navigazione del sito. L'indirizzo email verrà usato per confermare i dettagli della registrazione e la password (e per inviare una nuova password nel caso in cui questa venga persa o dimenticata). Verrà inoltre utilizzato per l'invio di notifiche di pubblicazione relativamente all'immissione di contenuti sul sito e per eventuali comunicazioni di servizio/utilità da parte degli amministratori.Premendo il pulsante 'Invia' si accettano tutti i vincoli e le condizioni sopra descritte e si da autorizzazione al trattamento dei dati personali contestualmente forniti per la fornitura di questo servizio, secondo quanto stabilito dal Codice in materia di protezione dei dati personali (d.lgs 196/03).
  I agree to the above                                                                                                                                                                                                        Confirmation Code                                 *                              
                                                                                                                            function xoops_captcha_refresh(imgId)                 {                     xoopsGetElementById(imgId).src = 'http://www.mysite.it/class/captcha/image/scripts/image.php?refresh='+Math.random();                 }                 Click to refresh the image if it is not clear enough.Input letters in the imageThe code is case-insensitiveMaximum attempts you can try: 10                                                                                                                                                                                                                                                                                                *                             
                                                                                                                                                                                                                                                                                                                                                   *                             
                                                                                                            * = Required                                                                                                                                                                                                                                                                                                                                                                                                                    
Thanks, help me please. Razbox

4
ghia
Re: Code captcha not work
  • 2009/11/13 19:32

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I suppose you don't see anything on your screen at the place where the captcha image should be located? Do you have a GD library installed in the PHP environment? Some admin themes or modules display this info. Else make and run infogd.php:
(gd_info()); ?>
or info.php:
(); ?>
If a gd library is present try this imagegd.php
$im imagecreatetruecolor(12020);
$text_color imagecolorallocate($im2331491);
imagestring($im155,  'XOOPS Rocks!'$text_color);
header('Content-type: image/jpeg');
imagejpeg($im);
imagedestroy($im);
?>
What are the results of infogd.php and imagedg.php?

5
Razbox
Re: Code captcha not work
  • 2009/11/14 12:37

  • Razbox

  • Just popping in

  • Posts: 14

  • Since: 2009/10/1


Output of
rray(11) { ["GD Version"]=>  string(27"bundled (2.0.28 compatible)" ["FreeType Support"]=>  bool(true) ["FreeType Linkage"]=>  string(13"with freetype" ["T1Lib Support"]=>  bool(true) ["GIF Read Support"]=>  bool(true) ["GIF Create Support"]=>  bool(true) ["JPG Support"]=>  bool(true) ["PNG Support"]=>  bool(true) ["WBMP Support"]=>  bool(true) ["XBM Support"]=>  bool(true) ["JIS-mapped Japanese Font Support"]=>  bool(false) }
Output of phpinfo:
PHP Version 4.4.9  System     Linux webxc07s02.ad.aruba.it 2.6.18-164.6.1.el5PAE #1 SMP Tue Nov 3 16:55:59 EST 2009 i686 Build Date     Jan 29 2009 17:16:06 Configure Command     './configure' '--prefix=/php_4.4.9' '--with-mysql=/usr' '--with-jpeg-dir=/usr/lib/' '--with-zlib' '--with-png-dir=/usr/lib' '--with-config-file-path=/etc/apache/' '--with-gd' '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit' '--with-imap=/usr/local/imap-2004g/' '--with-imap-ssl' '--with-mcrypt' '--enable-ftp' '--enable-xslt' '--with-xslt-sablot' '--with-ttf' '--with-freetype-dir=/usr/include/freetype2/freetype/' '--with-t1lib=/usr/include/' '--with-gettext' '--enable-exif' '--enable-bcmath' '--enable-calendar' '--with-dom' '--enable-discard-path' '--disable-path' '--with-bz2' '--with-mhash' '--with-mime-magic' '--with-curl' '--enable-wddx' '--with-expat' '--disable-ipv6' Server API     CGI Virtual Directory Support     disabled Configuration File (php.ini) Path     /etc/apache/php.ini PHP API     20020918 PHP Extension     20020429 Zend Extension     20050606 Debug Build     no Zend Memory Manager     enabled Thread Safety     disabled Registered PHP Streams     php, http, ftp, compress.bzip2, compress.zlib
Your script with your image "Xoops RockS" work!!!! Why the captcha in XOOPS no work! I am confused!!!! Razbox

6
ghia
Re: Code captcha not work
  • 2009/11/14 17:06

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Did you run the file check (see release notes)?

7
Razbox
Re: Code captcha not work
  • 2009/11/15 23:05

  • Razbox

  • Just popping in

  • Posts: 14

  • Since: 2009/10/1


What file check?

Phpinfo
PhpInfo gd
or your testing file?

I have an other problem:

I change LDAP configuration from admin panel control, and now is impossible to access, the admin is out!!!!!

This is the warning when i make the login admin:
Quote:
PHP LDAP extension not loaded (verify your PHP configuration file php.ini) using ldap authentication method If the page does not automatically reload, please click here


How i restore auth method from mysql?

Thank very mutch.

Razbox

8
ghia
Re: Code captcha not work
  • 2009/11/16 1:02

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


File check: see release notes
LDAP: See this.

Login

Who's Online

321 user(s) are online (207 user(s) are browsing Support Forums)


Members: 0


Guests: 321


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits