Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Bug-reports    Topic: [solved] CAPTCHA picture not showing after enabling notifcations
Pages: [1] 2   Go Down
  Print  
Author Topic: [solved] CAPTCHA picture not showing after enabling notifcations  (Read 12503 times)
0 Members and 1 Guest are viewing this topic.
exchequer
Newbie
*

Karma: 0
Offline Offline

Posts: 9


« on: May 17, 2012, 01:22:37 »

For some unknown reason my CAPTCHA code stopped beign displayed.

It looks like it is related to enable notifications. When I disable this it seems to work more often (but when disabled it doenst work directly).

Here is an url: http://bit.ly/JHByvs

I made a minor change to style.css but I already reverted to the original file
I also disabled thirparty.css from my templaet
I also disabled lazyload images

Still there is an 80% chance that the captcha image does not load.

Any help?

edit: please hold, seems to have resolved after I pressed restore defaults. Monitoring the situation.
« Last Edit: June 19, 2012, 22:11:54 by smart » Logged
baldguy
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« Reply #1 on: May 22, 2012, 00:18:14 »

I'm having the same problem, related to notifications.  

Everything is running fine until I change "Enable Notifications" to "Yes". Then the CAPTCHA image stops displaying, and hitting refresh doesn't help.

The only way I can get it back is to change Enable Notification to No, then Restore Defaults.  Then I have to go back to the settings, and change everything back to my specific settings, AND I have no CAPTCHA.

Any thoughts on how to fix it so that CAPTCHA displays and I get notified of new comments?

Thanks!

Edit to add:
Joomla version 2.5.4, JComments version 2.3.0
Logged
exchequer
Newbie
*

Karma: 0
Offline Offline

Posts: 9


« Reply #2 on: May 26, 2012, 06:44:56 »

My problem has not returned so far.

Therfore I recommend you to re-upload the jcomment files and press restore defaults @ administrator.
Logged
Loster
Newbie
*

Karma: 0
Offline Offline

Posts: 1


Email
« Reply #3 on: June 06, 2012, 21:00:30 »

This is quite bizarre.

I have the same issue now.

If I change enable notifications to Yes or No the captcha breaks

If I restore defaults, THEN on the very next save set Enable Notifications to Yes (which is what I want), it works fine.

Craziness.
Logged
smart
Administrator
Hero Member
*****

Karma: 162
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #4 on: June 07, 2012, 14:53:59 »

Could anybody who has this issue contact me via PM and show me your site? I want to fix this issue but at this moment I could not reproduce this bug on my test servers...
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
rainer042
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« Reply #5 on: June 13, 2012, 22:06:48 »

Hello,

I have the very same problem with JComments 2.3.0 and Joomla 2.5.4.

Do still need someone to show you the problem? Has it already been fixed?

Have a nice day
Rainer
Logged
smart
Administrator
Hero Member
*****

Karma: 162
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #6 on: June 14, 2012, 02:38:13 »

I still could not reproduce this bug. I would be appreciated for any information how to reproduce it. May be somebody can get me access to site's backend and frontend to check all settings and try to find the solution.
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
smart
Administrator
Hero Member
*****

Karma: 162
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #7 on: June 14, 2012, 18:54:48 »

Fast solution until new version will be released:

1. Open file /administrator/components/com_jcomments/admin.jcomments.php
2. Find line:
Code: (php)
$lists["captcha"] = JCommentsHTML::selectList($captcha, 'cfg_captcha_engine', 'class="inputbox"' . $disabledCAPTCHA, 'value', 'text', $config->get('captcha_engine'));
and replace with:

Code: (php)
$lists["captcha"] = JCommentsHTML::selectList($captcha, 'cfg_captcha_engine', 'class="inputbox"' . $disabledCAPTCHA, 'value', 'text', $config->get('captcha_engine', 'kcaptcha'));
3. Save changes in file
4. Open JComments settings and re-save current settings

p.s. Great thanks to rainer042 for giving me a test site where I was able to explore this bug and test the solution!
« Last Edit: June 14, 2012, 19:02:39 by smart » Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
smching
Newbie
*

Karma: 0
Offline Offline

Posts: 1


Email
« Reply #8 on: August 05, 2012, 09:56:49 »

Fast solution until new version will be released:

1. Open file /administrator/components/com_jcomments/admin.jcomments.php
2. Find line:
Code: (php)
$lists["captcha"] = JCommentsHTML::selectList($captcha, 'cfg_captcha_engine', 'class="inputbox"' . $disabledCAPTCHA, 'value', 'text', $config->get('captcha_engine'));
and replace with:

Code: (php)
$lists["captcha"] = JCommentsHTML::selectList($captcha, 'cfg_captcha_engine', 'class="inputbox"' . $disabledCAPTCHA, 'value', 'text', $config->get('captcha_engine', 'kcaptcha'));
3. Save changes in file
4. Open JComments settings and re-save current settings

p.s. Great thanks to rainer042 for giving me a test site where I was able to explore this bug and test the solution!

I follow this method but still cannot see the security code after Enable notifications
Logged
gentlegiant
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #9 on: January 07, 2013, 22:17:21 »

I also had this problem on first installing JComment on a Joomla 2.5.8 system.

Noticed that it occurred when enabling sh404SEF to use optimised/short URLs (rather than just the simple ones starting with index.php). When turning off this option, JComment returns to normal working order. Adding the fix above made no difference.

There is a post on the sh404SEF forum indicating that this might be due to use of an absolute rather than direct URL reference, which I haven't been able to find within the JComment code.

http://anything-digital.com/forum/extension/sh404sef/3518-jcomments-captcha-fails.html?p=1

Is there any chance this could be tracked down and fixed?

GG
Logged
gentlegiant
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #10 on: January 07, 2013, 22:32:26 »

A further observation is that the captcha image is first displayed (for about 1 second) on the screen, and then disappears. This makes it less like to be due to a problem with the relative URL.

Very odd behaviour

GG
Logged
gentlegiant
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #11 on: January 08, 2013, 16:06:32 »

Some more information abou the characteristics of the problem

I moved and installed the same (non working) Joomla 2.5 site into a new domain, where it was the primary domain rather than a sub-domain (dev.mydomain.com --> www.anewdomain.com). Used Akeeba/kickstart to make this move, but changed nothing. It worked fine, and showed the captcha pictures fine. This was on the same server, with the same PHP version (5.2) and everything.

So perhaps a combination of sh404SEF with rewritebase/htaccess used to change the base directory to a subdomain isn't a working combination.

This may help identify and track down the specific issue and help show a workaround for others. I'm now happy I've got something to work and go live with it
Logged
Elnino
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #12 on: January 17, 2013, 01:59:20 »

Hi there,

I confirm the prob. I have J2.5.8 running with SH404SEF.
The captcha feature does not update properly. Please have a check:

http://www.beginwithb.com/calgary-web-design

For some reason I cannot test the site without enabling SH404SEF (error 404 if I disable this component, even on the home page ...) but given the previous posts it seems the combination of JComment and SH404SEF causes the issue.

Any idea how to solve this?

Thanks for your great work anyway.
Logged
Elnino
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #13 on: February 13, 2013, 03:59:48 »

Bump. No solution on this then? I can't have SH404SEF and jComments on my J2.5 website with CAPTCHA working?
Logged
captcha
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« Reply #14 on: February 13, 2013, 05:16:05 »

what worked for me is go to components>jcomments>settings; restore defaults. Then turn on notifications again..
Hope it helps.
Logged
Pages: [1] 2   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Bug-reports    Topic: [solved] CAPTCHA picture not showing after enabling notifcations
 
Jump to: