Captcha dead after upgrade , even with new install

16 years 8 months ago #42995 by profx
hi guys,

had some trouble with captcha myself.

in my case the captcha didn't show up because there was an empty space after the end tag of the cb language.php. (error can show up in other cb phps too)



deleted the empty space by editing the language.php in weaverslave (...or any other php editor...), and the image showed up again.

Perhaps this might help you, tho it's not directly connected with the upgrade)

greetz
profX
Attachments:

Please Log in to join the conversation.

16 years 8 months ago #43003 by nant
profx wrote:

hi guys,

had some trouble with captcha myself.

in my case the captcha didn't show up because there was an empty space after the end tag of the cb language.php. (error can show up in other cb phps too)



deleted the empty space by editing the language.php in weaverslave (...or any other php editor...), and the image showed up again.

Perhaps this might help you, tho it's not directly connected with the upgrade)

greetz
profX


actually this might well be the case!

please verify that your language file

com_comprofiler\plugin\language\default_language

default_language.php is terminated by ?>

it appears that this might just be the bug!

Please report back findings!

Please Log in to join the conversation.

16 years 8 months ago #43006 by chofer
I'm not much of a coder...so where exactly would I be looking within the "default_language.php" file to verify this?

Please Log in to join the conversation.

16 years 8 months ago #43012 by profx
1. Open the default_language.php with a php editor NOT in a text editor (you won't see the blank line there!)

2. scroll to the end of the script, if it looks like in the image shown in my last post you have to delete the lines after the end tag "?>" (in the example in the last post this would be line 1543) so that it looks like that:



3. Save the file

4. Hopefully your captcha image will appear...

greetz
profX

Post edited by: profx, at: 2007/08/15 15:10
Attachments:

Please Log in to join the conversation.

16 years 8 months ago #43022 by erdsiger
Doesn't work for me, I still can't see the image.

Please Log in to join the conversation.

16 years 8 months ago #43030 by profx
ok, two additions:

1. it's not just a blank line after the end tag that makes the image disappear but also a blank line before the start tag

2. it's not just about the default_language.php of cb but also about the cb.captcha.php and even the joomla (!) language php (e.g. german.php) in the root directory (I tested it a minute ago)

try it and let me know...

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.249 seconds

Facebook Twitter LinkedIn