Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Captcha image doesn't show up sometimes - need instructions for debugging  (Read 4979 times)

0 Members and 1 Guest are viewing this topic.

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49

1.5.8
Everything works for most of the users. However several people have complained that they do not see captcha image at registration time, they see a red cross instead. This happened on both IE and FF for various releases.
As the users are in different countries I need a clear advice on what should I ask them to do for debugging the problem in their browser or with their server definitions. The only thing I do know is to ask them to clear the cache of the browser first.
Could someone put here a step by step instructions on how to debug this problem. I would really appreciate this. Are there any special requirements for server and browser?
Logged

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49

The url in question is http://eja.pri.ee/Gallery2/
However, as I said, most of the clients had no problems with captcha, and the question is what to ask from those who had. Thanks.
Logged

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49

I have some progress. The user, who couldn't register because he didn't see captcha text (saw red x), had his main language estonian. Thus his text was in estonian. When we changed his main language to UK English (and text was in English) everything was OK (the captcha was visible).
Any ideas how to tuckle this further? Thanks
Logged

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49

I enabled debugging.
User went back to estonian language. Captcha was still invisible, but this time there was a bigger placeholder with  a big cross.
From the trace I can see
/include/functions.inc.php

    * Notice line 184: Undefined index: dbcharset


(but this is displayed always with my session as well)
and I can see
SESSION :
------------------
Array
(
    [php_captcha] => 6df524610bcda0a2e5f0719f59a57866
)

Does this mean that the captcha text was sent? And then the problem is that it is just not displayed for some reason in case of estonian (or any other language different from English?)?

Thanks
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764

Captcha works as expected on my testbed in English and Estonian language. I can confirm, that it doesn't work on your gallery with the Estonian language file:
- http://eja.pri.ee/Gallery2/captcha.php?lang=estonian
but with the English language file:
- http://eja.pri.ee/Gallery2/captcha.php?lang=english

You should perform an upgrade to cpg1.5.10, maybe your problem is already fixed with the up-to-date release. Especially make sure to update (= replace) the Estonian language file.
Logged

mr5

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49

Upgraded to 1.5.10. Everything is OK. Thanks
Have a great New Year!
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.