Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Captcha image doesn't show up sometimes - need instructions for debugging  (Read 4672 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: 15765

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.017 seconds with 19 queries.