Jcomments and Kcaptcha Topic is solved

This forum is for general questions about extensions for Joomla! 3.x.

Moderators: pe7er, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
borja
Joomla! Guru
Joomla! Guru
Posts: 614
Joined: Wed May 27, 2009 11:26 am

Jcomments and Kcaptcha

Post by borja » Tue Jun 19, 2018 1:31 pm

Hello

I use jcomments and kcaptcha on my web. Today it stopped working the captcha. As far as I have read:

I have a problem because the Kcaptch class is deprecated and there were some problems with the captcha.

I change the php twice and it started to work again. the first change was to change the version of php from 7.0.30 to 5.6.36. My web doesn´t work. I went back from 5.6.36 o 7.0.30 and the captcha started to work properly.

what can be wrong?
these are rrge messages the ive got:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; KCAPTCHA has a deprecated constructor in /var/www/vhosts//httpdocs/components/com_jcomments/libraries/kcaptcha/kcaptcha.php on line 21

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts//httpdocs/components/com_jcomments/libraries/kcaptcha/kcaptcha.php:21) in /var/www/vhosts//httpdocs/components/com_jcomments/libraries/kcaptcha/kcaptcha.php on line 201

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts//httpdocs/components/com_jcomments/libraries/kcaptcha/kcaptcha.php:21) in /var/www/vhosts//httpdocs/components/com_jcomments/libraries/kcaptcha/kcaptcha.php on line 202

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts//httpdocs/components/com_jcomments/libraries/kcaptcha/kcaptcha.php:21) in /var/www/vhosts//httpdocs/components/com_jcomments/libraries/kcaptcha/kcaptcha.php on line 203

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts//httpdocs/components/com_jcomments/libraries/kcaptcha/kcaptcha.php:21) in /var/www/vhosts//httpdocs/components/com_jcomments/libraries/kcaptcha/kcaptcha.php on line 204

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts//httpdocs/components/com_jcomments/libraries/kcaptcha/kcaptcha.php:21) in /var/www/vhosts//httpdocs/components/com_jcomments/libraries/kcaptcha/kcaptcha.php on line 207
Last edited by imanickam on Wed Jun 20, 2018 2:32 am, edited 1 time in total.
Reason: Changed the subject to reflect the correct extension name (from captcha to kcaptcha)

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Jcomments and kcaptcha and PHP 7

Post by sozzled » Tue Jun 19, 2018 9:02 pm

So? kcaptcha is incompatible with PHP 7. In that case, don't use kcaptcha. Simple, hmm?

User avatar
JAVesey
Joomla! Hero
Joomla! Hero
Posts: 2635
Joined: Tue May 14, 2013 1:21 pm
Location: Cardiff, Wales, UK
Contact:

Re: Jcomments and captcha

Post by JAVesey » Tue Jun 19, 2018 9:22 pm

borja wrote:I change the php twice and it started to work again. the first change was to change the version of php from 7.0.30 to 5.6.36. My web doesn´t work. I went back from 5.6.36 o 7.0.30 and the captcha started to work properly.
It works with PHP7.0.30 but not with 5.6.36?

Looks fine to me in this case... you ought to be using at least PHP7.0.x by now, and preferably 7.1.x. PHP5.6.x is end of life.

I see no problem here.
John V
Cardiff, Wales, UK
Joomla 5.1.0 "live" site on PHP 8.2.15 and MariaDB 10.11.7
Joomla 5.1.0 on XAMMP for OSX with PHP 8.2.4 and MariaDB 10.4.28

borja
Joomla! Guru
Joomla! Guru
Posts: 614
Joined: Wed May 27, 2009 11:26 am

Re: Jcomments and Kcaptcha

Post by borja » Wed Jun 20, 2018 6:08 am

What is the option for a captcha for jcomments?

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Jcomments and Kcaptcha

Post by sozzled » Wed Jun 20, 2018 8:20 am

See solution here (for PHP 7 and reCAPTCHA operability): https://github.com/exstreme/Jcomments-Recaptcha2

borja
Joomla! Guru
Joomla! Guru
Posts: 614
Joined: Wed May 27, 2009 11:26 am

Re: Jcomments and Kcaptcha

Post by borja » Wed Jun 20, 2018 1:38 pm

Thank you. I have to download theses files and install in my web. How do i install this package? It is tested? it's not linked on joomla webas an extension, is it?

borja
Joomla! Guru
Joomla! Guru
Posts: 614
Joined: Wed May 27, 2009 11:26 am

Re: Jcomments and Kcaptcha

Post by borja » Fri Aug 03, 2018 6:53 am

Sozzled,

How can I use Recaptcha2? I select Recaptcha2 as the captch for the form but it doesn´t work properly.


Best regards,


Borja

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Jcomments and Kcaptcha

Post by sozzled » Fri Aug 03, 2018 7:00 am

You need to create an installation package from the files and then you need to install the package on your website. That's what you need to do.

borja
Joomla! Guru
Joomla! Guru
Posts: 614
Joined: Wed May 27, 2009 11:26 am

Re: Jcomments and Kcaptcha

Post by borja » Fri Aug 03, 2018 7:04 am

Sozzled, I installed it and now I can choose Recaptcha2 but it doesn´t work properly because the image is not shown. Must I do something to activate this plugin?

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Jcomments and Kcaptcha

Post by sozzled » Fri Aug 03, 2018 7:44 am

JComments is not "a plugin": it is an extension. Did you create an installation package from the files in GitHub? Did you install the package and activate the component and (at least one) plugin? Did you enable Joomla's Captcha - ReCAPTCHA plugin? Are you using Google reCAPTCHA v2.0 in Joomla's Captcha - ReCAPTCHA plugin? Did you update the Google reCAPTCHA keys?

borja
Joomla! Guru
Joomla! Guru
Posts: 614
Joined: Wed May 27, 2009 11:26 am

Re: Jcomments and Kcaptcha

Post by borja » Fri Aug 03, 2018 8:21 am

Sozzled,

I didn´t express myself properly.

The component is installed.
With plugin, i mean Recaptcha. I´ve got two plugins with the word recaptcha:

Captcha - ReCaptcha.

Captcha - Custom reCaptcha

Both of them are actived(I think). When I choose in the settings of Jcomments, the captcha to use, i choose recaptcha but nothing is shown. Not image is shown. Which plugin is being used?

I don´t know if I can , in private, give more details about my site.


Best regards,

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Jcomments and Kcaptcha

Post by sozzled » Fri Aug 03, 2018 8:33 am

I don't know anything about Captcha - Custom reCaptcha; I do not know if this plugin works or what it is used for. Perhaps you should uninstall it?

You need to create an installation package from the GitHub library I mentioned about seven posts ago and the you can install that package. This package supports Google reCAPTCHA v2.0.

It also may depend on what version of PHP you are using.

borja
Joomla! Guru
Joomla! Guru
Posts: 614
Joined: Wed May 27, 2009 11:26 am

Re: Jcomments and Kcaptcha

Post by borja » Wed Aug 08, 2018 11:34 am

Hello,

I answer your questions. I´ve been trying this morning without success. THe PHP version is 7.0.31. I think that i installed the package from gitHUb. I chose "recaptcha" as the captcha system for comments and I disable the Captcha - Custom reCaptcha. I configured the plugin: Captcha - ReCaptcha

I don´t know if there is a method to see what's wrong bacause the captcha is not show with Recaptcha.

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Jcomments and Kcaptcha

Post by sozzled » Wed Aug 08, 2018 3:16 pm

Please post a screenshot of your Captcha - reCAPTCHA plugin settings.

borja
Joomla! Guru
Joomla! Guru
Posts: 614
Joined: Wed May 27, 2009 11:26 am

Re: Jcomments and Kcaptcha

Post by borja » Thu Aug 09, 2018 6:49 am

Hello
This is the configuration of the keys. I deleted part of my secret key for security reasons. It is quite simple.
https://www.dropbox.com/s/egu9c35mv4wxo ... a.png?dl=0

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Jcomments and Kcaptcha

Post by sozzled » Thu Aug 09, 2018 8:13 am

Thanks. It is good to know (from the screenshot) that you have selected v2.0 of Google reCAPTCHA. The screenshot does not tell us if the plugin is enabled or disabled. Next, can you please post your Forum Post Assistant report into this forum by following the instructions here: viewtopic.php?f=621&p=2371873

borja
Joomla! Guru
Joomla! Guru
Posts: 614
Joined: Wed May 27, 2009 11:26 am

Re: Jcomments and Kcaptcha

Post by borja » Thu Aug 09, 2018 8:46 am

the plugin is enabled. Later, I will add the file that you request me.

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Jcomments and Kcaptcha

Post by sozzled » Thu Aug 09, 2018 9:22 am

I don't want you to "add the file" or attach anything. Please follow the instructions (generate the report, copy the BBcode and paste the BBcode here in your next post). Thanks.

borja
Joomla! Guru
Joomla! Guru
Posts: 614
Joined: Wed May 27, 2009 11:26 am

Re: Jcomments and Kcaptcha

Post by borja » Sun Aug 12, 2018 4:37 pm

I paste the code.
Problem Description :: Forum Post Assistant (v1.4.3 (Frosty)) : 12th August 2018 wrote:REcpatcha not working for jcomments
Actions Taken To Resolve by Forum Post Assistant (v1.4.3 (Frosty)) 12th August 2018 wrote:Look at this forum: viewtopic.php?f=715&t=962931
Forum Post Assistant (v1.4.3 (Frosty)) : 12th August 2018 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.8.10-Stable (Amani) 26-June-2018
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (444) | Owner: --protected-- . (uid: 1/gid: 1) | Group: --protected-- (gid: 1) | Valid For: 3.8
Configuration Options :: Offline: 0 | SEF: 1 | SEF Suffix: 0 | SEF ReWrite: 0 | .htaccess/web.config: No | GZip: 0 | Cache: 0 | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: 0 | FTP Layer: 0 | Proxy: 0 | LiveSite: http://www.myhosting.es | Session lifetime: 15 | Session handler: database | Shared sessions: 0 | SSL: 2 | Error Reporting: development | Site Debug: 0 | Language Debug: 0 | Default Access: 1 | Unicode Slugs: 0 | dbConnection Type: mysqli | PHP Supports J! 3.8.10: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.10.0-862.2.3.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | Doc Root: --protected-- | System TMP Writable: Yes | Free Disk Space : 18.79 GiB |

PHP Configuration :: Version: 7.0.31 | PHP API: fpm-fcgi | Session Path Writable: No | Display Errors: | Error Reporting: 22519 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: /var/www/vhosts/myhosting.es/:/tmp/ | Uploads: 1 | Max. Upload Size: 32M | Max. POST Size: 32M | Max. Input Time: 60 | Max. Execution Time: 60 | Memory Limit: 256M

Database Configuration :: Version: 5.5.5-10.2.14-MariaDB (Client:mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $) | Host: --protected-- (--protected--) | Localhost: Yes | Collation: utf8_general_ci (Character Set: utf8) | Database Size: 12.96 MiB | #of Tables: 205
Detailed Environment :: wrote:PHP Extensions :: Core (7.0.31) | date (7.0.31) | libxml (7.0.31) | openssl (7.0.31) | pcre (7.0.31) | zlib (7.0.31) | bz2 (7.0.31) | calendar (7.0.31) | ctype (7.0.31) | hash (1.0) | filter (7.0.31) | ftp (7.0.31) | gettext (7.0.31) | gmp (7.0.31) | SPL (7.0.31) | iconv (7.0.31) | Reflection (7.0.31) | session (7.0.31) | standard (7.0.31) | SimpleXML (7.0.31) | sockets (7.0.31) | mbstring (7.0.31) | tokenizer (7.0.31) | xml (7.0.31) | cgi-fcgi () | mysqlnd (mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $) | bcmath (7.0.31) | curl (7.0.31) | dba (7.0.31) | dom (20031129) | enchant (7.0.31) | fileinfo (1.0.5) | gd (7.0.31) | imagick (3.4.3) | imap (7.0.31) | intl (1.1.0) | json (1.4.0) | ldap (7.0.31) | exif (7.0.31) | mcrypt (7.0.31) | mysqli (7.0.31) | odbc (7.0.31) | PDO (7.0.31) | pdo_mysql (7.0.31) | PDO_ODBC (7.0.31) | pdo_pgsql (7.0.31) | pdo_sqlite (7.0.31) | pgsql (7.0.31) | Phar (2.0.2) | posix (7.0.31) | pspell (7.0.31) | redis (3.1.1) | soap (7.0.31) | sqlite3 (7.0.31) | sysvmsg (7.0.31) | sysvsem (7.0.31) | sysvshm (7.0.31) | tidy (7.0.31) | xmlreader (7.0.31) | xmlrpc (7.0.31) | xmlwriter (7.0.31) | xsl (7.0.31) | zip (1.13.5) | ionCube Loader () | Zend OPcache (7.0.31) | Zend Engine (3.0.0) |
Potential Missing Extensions ::
Disabled Functions :: opcache_get_status |

Switch User Environment (Experimental) :: PHP CGI: No | Server SU: No | PHP SU: No | Custom SU (LiteSpeed/Cloud/Grid): Yes
Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (---) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) |

Elevated Permissions (First 10) :: components/com_jcomments/tpl/__MACOSX/ (775) | components/com_jcomments/tpl/__MACOSX/JoomSpirit_theme/ (775) |
Extensions Discovered :: wrote:Components :: SITE ::
Core :: com_mailto (3.0.0) 1 | com_wrapper (3.0.0) 1 |
3rd Party:: AcyMailing CB Plugin (2.1.4) 1 | WF_AGGREGATOR_DAILYMOTION_TITL (2.6.28) 1 | WF_AGGREGATOR_VIMEO_TITLE (2.6.28) 1 | WF_AGGREGATOR_VINE_TITLE (2.6.28) 1 | WF_AGGREGATOR_[youtube]_TITLE (2.6.28) 1 | WF_FILESYSTEM_JOOMLA_TITLE (2.6.28) 1 | WF_LINKS_JOOMLALINKS_TITLE (2.6.28) 1 | WF_POPUPS_JCEMEDIABOX_TITLE (2.6.28) 1 | WF_POPUPS_WINDOW_TITLE (2.6.28) 1 | WF_LINK_SEARCH_TITLE (2.6.28) 1 | WF_ANCHOR_TITLE (2.6.28) 1 | WF_ARTICLE_TITLE (2.6.28) 1 | WF_AUTOSAVE_TITLE (2.6.28) 1 | WF_BROWSER_TITLE (2.6.28) 1 | WF_CHARMAP_TITLE (2.6.28) 1 | WF_CLEANUP_TITLE (2.6.28) 1 | WF_CLIPBOARD_TITLE (2.6.28) 1 | WF_CONTEXTMENU_TITLE (2.6.28) 1 | WF_DIRECTIONALITY_TITLE (2.6.28) 1 | WF_EMOTIONS_TITLE (2.6.28) 1 | WF_FONTCOLOR_TITLE (2.6.28) 1 | WF_FONTSELECT_TITLE (2.6.28) 1 | WF_FONTSIZESELECT_TITLE (2.6.28) 1 | WF_FORMATSELECT_TITLE (2.6.28) 1 | WF_FULLSCREEN_TITLE (2.6.28) 1 | WF_HR_TITLE (2.6.28) 1 | WF_IMGMANAGER_TITLE (2.6.28) 1 | WF_INLINEPOPUPS_TITLE (2.6.28) 1 | WF_KITCHENSINK_TITLE (2.6.28) 1 | WF_LAYER_TITLE (2.6.28) 1 | WF_LINK_TITLE (2.6.28) 1 | WF_LISTS_TITLE (2.6.28) 1 | WF_MEDIA_TITLE (2.6.28) 1 | WF_NONBREAKING_TITLE (2.6.28) 1 | WF_PREVIEW_TITLE (2.6.28) 1 | WF_PRINT_TITLE (2.6.28) 1 | WF_SEARCHREPLACE_TITLE (2.6.28) 1 | WF_SOURCE_TITLE (2.6.28) 1 | WF_SPELLCHECKER_TITLE (2.6.28) 1 | WF_STYLE_TITLE (2.6.28) 1 | WF_STYLESELECT_TITLE (2.6.28) 1 | WF_TABLE_TITLE (2.6.28) 1 | WF_TEXTCASE_TITLE (2.6.28) 1 | WF_VISUALBLOCKS_TITLE (2.6.28) 1 | WF_VISUALCHARS_TITLE (2.6.28) 1 | WF_XHTMLXTRAS_TITLE (2.6.28) 1 | kunena_tmpl_crypsis (5.1.1) 1 | kunena_tmpl_crypsisb3 (5.1.1) 1 |

Components :: ADMIN ::
Core :: com_admin (3.0.0) 1 | com_ajax (3.2.0) 1 | com_associations (3.7.0) 1 | com_banners (3.0.0) 1 | com_cache (3.0.0) 1 | com_categories (3.0.0) 1 | com_checkin (3.0.0) 1 | com_config (3.0.0) 1 | com_content (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_cpanel (3.0.0) 1 | com_fields (3.7.0) 1 | com_finder (3.0.0) 1 | com_installer (3.0.0) 1 | com_joomlaupdate (3.6.2) 1 | com_languages (3.0.0) 1 | com_login (3.0.0) 1 | com_media (3.0.0) 1 | com_menus (3.0.0) 1 | com_messages (3.0.0) 1 | com_modules (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_plugins (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_redirect (3.0.0) 1 | com_search (3.0.0) 1 | com_tags (3.1.0) 1 | com_templates (3.0.0) 1 | com_users (3.0.0) 1 |
3rd Party:: AcyMailing Module (3.7.0) 1 | AcyMailing : trigger Joomla Co (3.7.0) 1 | AcyMailing Manage text (1.0.0) 1 | AcyMailing Tag : Website links (3.7.0) 1 | AcyMailing : share on social n (1.0.0) 1 | AcyMailing : Statistics Plugin (3.7.0) 1 | AcyMailing table of contents g (1.0.0) 1 | AcyMailing Tag : content inser (3.7.0) 1 | AcyMailing Tag : Subscriber in (5.10.2) 1 | AcyMailing Tag : Manage the Su (5.10.2) 1 | AcyMailing Tag : Date / Time (5.10.2) 1 | AcyMailing Tag : Joomla User I (5.10.2) 1 | AcyMailing Template Class Repl (5.10.2) 1 | AcyMailing Editor (5.10.2) 1 | AcyMailing JCE integration (5.10.2) 1 | AcyMailing : (auto)Subscribe d (5.10.2) 1 | AcyMailing (5.10.1) 1 | AcyMailing (5.10.2) 1 | Akeeba (6.1.1) 1 | comprofiler (2.2.0) 1 | com_dpcalendar (6.3.6) 1 | COM_JCE (2.6.28) 1 | com_jDownloads (3.2.61) 1 | jSecure Lite (1.0) 1 | COM_K2 (2.8.0) 1 | plg_finder_kunena (5.1.1) 0 | plg_kunena_alphauserpoints (5.0.14) 1 | plg_kunena_altauserpoints (5.1.1) 0 | plg_kunena_community (5.1.1) 0 | plg_kunena_comprofiler (5.1.1) 1 | PLG_KUNENA_EASYBLOG (0.0.1) 1 | PLG_KUNENA_EASYPROFILE (5.1.1) 0 | plg_kunena_easysocial (5.1.1) 0 | plg_kunena_finder (5.1.1) 0 | plg_kunena_gravatar (5.1.1) 1 | plg_kunena_joomla (5.1.1) 1 | plg_kunena_kunena (5.1.1) 1 | plg_kunena_uddeim (5.1.1) 0 | com_kunena (5.1.1) 1 | JComments (3.0.5.1) 1 | com_djimageslider (3.2.3) 1 | AcySMS : Send SMS module ({__VERSION__}) 1 | AcySMS : Subscription Module ({__VERSION__}) 1 | AcySMS : AcyMailing Subscripti ({__VERSION__}) 1 | AcySMS Tag : AcyMailing User I ({__VERSION__}) 1 | AcySMS : General plugin for Ac ({__VERSION__}) 1 | AcySMS Tag : AcySMS User Infor ({__VERSION__}) 1 | AcySMS : Akeeba Subscriptions ({__VERSION__}) 1 | AcySMS : Automatics Actions ba ({__VERSION__}) 1 | AcySMS : Birthday feature ({__VERSION__}) 1 | AcySMS Tag : Community Builder ({__VERSION__}) 1 | AcySMS : Date feature ({__VERSION__}) 1 | AcySMS Tag : EasyProfile User ({__VERSION__}) 1 | AcySMS Tag : EasySocial User I ({__VERSION__}) 1 | AcySMS Tag : Event Booking ({__VERSION__}) 1 | AcySMS : Freestyle Support plu ({__VERSION__}) 1 | AcySMS : Frequency SMS ({__VERSION__}) 1 | AcySMS : HikaShop integration ({__VERSION__}) 1 | AcySMS Tag : JEvents ({__VERSION__}) 1 | AcySMS Tag : JomSocial User In (1.0.0) 1 | AcySMS Tag : Joomla Content ({__VERSION__}) 1 | AcySMS : Joomla Groups User ({__VERSION__}) 1 | AcySMS Tag : Joomla User Infor ({__VERSION__}) 1 | AcySMS Tag : K2 Content ({__VERSION__}) 1 | AcySMS : Manage text ({__VERSION__}) 1 | AcySMS : MijoShop integration ({__VERSION__}) 1 | AcySMS : RedShop integration p ({__VERSION__}) 1 | AcySMS Tag : RsEvent ({__VERSION__}) 1 | AcySMS Tag : Seblod User Infor ({__VERSION__}) 1 | AcySMS : VirtueMart User ({__VERSION__}) 1 | AcySMS : HikaShop order action ({__VERSION__}) 1 | AcySMS Tag : Content Manager ({__VERSION__}) 1 | AcySMS : MijoShop order update ({__VERSION__}) 1 | AcySMS : User Creation feature ({__VERSION__}) 1 | AcySMS : Double optin verifica ({__VERSION__}) 1 | AcySMS : Double optin verifica ({__VERSION__}) 1 | AcySMS : VirtueMart order upda ({__VERSION__}) 1 | AcySMS (3.5.1) 1 | COM_COMMENT (6.0.4) 0 |

Modules :: SITE ::
Core :: mod_articles_archive (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_login (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_search (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_tags_similar (3.1.0) 1 | mod_users_latest (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_wrapper (3.0.0) 1 |
3rd Party:: AcyMailing Module (3.7.0) 1 | Community Builder Login module (2.2.0) 1 | Community Builder Workflows mo (2.2.0) 1 | Community Builder Online modul (2.2.0) 1 | mod_dpcalendar_counter (6.3.6) 1 | mod_dpcalendar_mini (6.3.6) 1 | mod_dpcalendar_upcoming (6.3.6) 1 | TheGrue Menu (2.0.4) 1 | Image Show GK4 (1.55) 1 | jDownloads Featured (3.2.45) 1 | jDownloads Last Updated (3.2.38) 1 | jDownloads Latest (3.2.38) 1 | jDownloads Most Recently Downl (3.2.38) 1 | jDownloads Rated (3.2.42) 1 | jDownloads Related (3.2.38) 1 | jDownloads Stats (3.2.31) 1 | jDownloads Top (3.2.38) 1 | jDownloads Tree (3.2.38) 1 | jDownloads View Limits (3.2.53) 1 | JE Bar (3.4) 1 | Simple RSS Feed Reader (by Joo (3.5) 1 | K2 Comments (2.8.0) 1 | K2 Content (2.8.0) 1 | K2 Tools (2.8.0) 1 | K2 User (2.8.0) 1 | K2 Users (2.8.0) 1 | Xpert Timeline (1.0) 1 | DJ-ImageSlider (3.2.3) 1 | AJAX Search (1.0.0) 1 | mod_sr_menu (1.12) 1 |

Modules :: ADMIN ::
Core :: mod_custom (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_login (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_stats_admin (3.0.0) 1 | mod_status (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_title (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_version (3.0.0) 1 |
3rd Party:: Community Builder Admin module (2.2.0) 1 | jDownloads admin stats (3.2.46) 1 | K2 Quick Icons (admin) (2.8.0) 1 | K2 Stats (admin) (2.8.0) 1 |

Plugins :: SITE ::
Core :: plg_authentication_cookie (3.0.0) 1 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_captcha_recaptcha (3.4.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_finder (3.0.0) 0 | plg_content_joomla (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_vote (3.0.0) 0 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_installer_webinstaller (1.1.1) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_tags (3.0.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_debug (3.0.0) 0 | plg_system_fields (3.7.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_languagefilter (3.0.0) 0 | plg_system_log (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_p3p (3.0.0) 0 | plg_system_redirect (3.0.0) 0 | plg_system_remember (3.0.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_stats (3.5.0) 1 | plg_system_updatenotification (3.5.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_twofactorauth_totp (3.2.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_user_contactcreator (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_user_profile (3.0.0) 0 |
3rd Party:: AcyMailing : trigger Joomla Co (3.7.0) 1 | AcyMailing Manage text (1.0.0) 1 | AcyMailing Tag : Website links (3.7.0) 1 | AcyMailing : share on social n (1.0.0) 1 | AcyMailing : Statistics Plugin (3.7.0) 1 | AcyMailing table of contents g (1.0.0) 1 | AcyMailing Tag : content inser (3.7.0) 1 | AcyMailing Tag : Subscriber in (5.10.1) 1 | AcyMailing Tag : Manage the Su (5.10.1) 1 | AcyMailing Tag : Date / Time (5.10.1) 1 | AcyMailing Tag : Joomla User I (5.10.1) 1 | AcyMailing Template Class Repl (5.10.1) 1 | Helix3 - Ajax (2.0) 1 | plg_captcha_customrecaptcha (2.0.1) 0 | plg_content_dpcalendar (6.3.6) 0 | plg_content_jce (2.6.28) 1 | Content - jDownloads (3.2.42) 0 | AllVideos (by JoomlaWorks) (4.8.0) 1 | AllVideos (by JoomlaWorks) (4.8.0) 1 | plg_content_jcomments (1.0) 1 | plg_content_kunenadiscuss (5.1.0) 1 | plg_content_jdownloads_tags_fi (3.2.61) 1 | Content - CComment (6.0.4) 0 | Button - jDownloads Content (3.2.60) 0 | plg_editors-xtd_jcommentson (1.0) 1 | plg_editors-xtd_jcommentsoff (1.0) 1 | AcyMailing Editor (5.10.1) 1 | plg_editors_codemirror (5.38.0) 1 | plg_editors_jce (2.6.28) 1 | plg_editors_tinymce (4.5.8) 1 | plg_extension_jce (2.6.28) 1 | plg_fields_dpcalendar (6.3.6) 0 | plg_fields_mediajce (2.6.28) 1 | plg_finder_k2 (2.8.0) 0 | plg_finder_kunena (5.1.1) 0 | plg_installer_jce (2.6.28) 1 | jDownloads Example (3.2) 0 | plg_kunena_altauserpoints (5.1.1) 0 | plg_kunena_community (5.1.1) 0 | plg_kunena_comprofiler (5.1.1) 1 | PLG_KUNENA_EASYPROFILE (5.1.1) 0 | plg_kunena_easysocial (5.1.1) 0 | plg_kunena_finder (5.1.1) 0 | plg_kunena_gravatar (5.1.1) 1 | plg_kunena_joomla (5.1.1) 1 | plg_kunena_kunena (5.1.1) 1 | plg_kunena_uddeim (5.1.1) 0 | plg_quickicon_akeebabackup (1.0) 1 | plg_quickicon_jce (2.6.28) 1 | plg_quickicon_kunena (5.1.1) 1 | plg_quickicon_jcomments (1.0) 1 | plg_search_dpcalendar (6.3.6) 0 | plg_search_jdownloads (3.2.32) 0 | Search - K2 (2.8.0) 1 | plg_search_jcomments (1.0) 1 | Search - CComment (6.0.4) 0 | PLG_SYSTEM_AKEEBAUPDATECHECK_T (1.1) 1 | PLG_SYSTEM_BACKUPONUPDATE_TITL (3.7) 1 | Community Builder System plugi (2.2.0) 1 | plg_system_dpcalendar (6.3.6) 1 | System - Helix3 Framework (2.5.4) 1 | plg_system_jce (2.6.28) 1 | AcyMailing JCE integration (5.10.1) 1 | plg_system_jdownloads (3.2.42) 1 | System - jSecure Lite (1.0) 1 | System - K2 (2.8.0) 1 | plg_system_kunena (5.1.1) 1 | AcyMailing : (auto)Subscribe d (5.10.1) 1 | plg_system_jcomments (1.0) 1 | plg_system_titlemanager (3.0) 1 | User - K2 (2.8.0) 1 | plg_user_jcomments (1.0) 1 | K2 - JComments (1.3.3) 1 | K2 Plugin - CComment (6.0.4) 0 |
Templates Discovered :: wrote:Templates :: SITE :: beez3 (3.1.0) 1 | etcoffee (1.0) 1 | protostar (1.0) 1 |
Templates :: ADMIN :: hathor (3.0.0) 1 | isis (1.0) 1 |

User avatar
Slackervaara
Joomla! Ace
Joomla! Ace
Posts: 1115
Joined: Sat Aug 13, 2011 6:27 am

Re: Jcomments and Kcaptcha

Post by Slackervaara » Mon Aug 13, 2018 3:25 pm

I have used JComments and Kcaptcha, but I still got spam. I had one guest comment per month and 100 spam comments, so I stopped guests from posting comments due to spammingdespite Kcapcha.

borja
Joomla! Guru
Joomla! Guru
Posts: 614
Joined: Wed May 27, 2009 11:26 am

Re: Jcomments and Kcaptcha

Post by borja » Tue Aug 14, 2018 6:22 am

Could anyone help? Why recaptcha is not working? For me the problem with Kcaptcha,it is that the image sometimes disappears so I have to disable/enable the component and it starts to work again. With recaptcha I can never show the image of recaptcha.

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Jcomments and Kcaptcha

Post by sozzled » Tue Aug 14, 2018 6:34 am

Kcaptcha doesn't work.

Google reCAPTCHA works for me (but only if I use the new package available from the GitHub location I mentioned earlier). I don't think the CAPTCHA works if you are logged-in. I think the CAPTCHA is only supposed to work for guests.

There could also be a problem displaying the CAPTCHA with some templates. It may be an idea to try to see if the CAPTCHA works with Protostar.

The FPA report show Session Path Writeable = No; ask your webhosting provider to set Session Path Writeable = Yes.

The FPA report also shows the permissions for the folders /components/com_jcomments/tpl/__MACOSX and /components/com_jcomments/tpl/__MACOSX/JoomSpirit_theme are 775; try setting them to the standard UNIX permissions of 755.

There is no .htaccess file. Try renaming the file htaccess.txt to .htaccess

The Open Base Dir is set; try to clear the Open Base Dir setting. Open Base Dir should not be used on a properly configured UNIX webhost.

PHP 5.5.5 is very old. Can you use a later version of PHP (e.g. PHP 7 or even PHP 5.6)?

Update to J! 3.8.11.

User avatar
Slackervaara
Joomla! Ace
Joomla! Ace
Posts: 1115
Joined: Sat Aug 13, 2011 6:27 am

Re: Jcomments and Kcaptcha

Post by Slackervaara » Tue Aug 14, 2018 7:51 am

If it doesnot work check with Inspect Element in browser what the path to Kcaptcha image is. For me it sometimes were wrong path with an extra slash.

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Jcomments and Kcaptcha

Post by sozzled » Tue Aug 14, 2018 8:11 am

borja wrote:
Tue Jun 19, 2018 1:31 pm
I use JComments and KCaptcha on my website. Today it stopped working the CAPTCHA. As far as I have read
... the KCaptcha class is deprecated.
This means there is a error generated by PHP. If there is a PHP error then it is unlikely that
Slackervaara wrote:
Tue Aug 14, 2018 7:51 am
... check with Inspect Element in browser what the path to Kcaptcha image is ...
... will help. If @borja has installed the new version of JComments (from GitHub) then there is no KCaptcha; none at all. ;)

borja wrote:
Tue Jun 19, 2018 1:31 pm
I change the PHP twice and it started to work again. The first change was to change the version of php from 7.0.30 to 5.6.36.
The FPA report shows that the website uses PHP 5.5.5. ??? :eek:

borja wrote:
Tue Jun 19, 2018 1:31 pm
These are the messages that I've got:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; KCAPTCHA has a deprecated constructor in /var/www/vhosts//httpdocs/components/com_jcomments/libraries/kcaptcha/kcaptcha.php on line 21
That's an error message generated by PHP 7. 8)

borja wrote:
Tue Jun 19, 2018 1:31 pm
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts//httpdocs/components/com_jcomments/libraries/kcaptcha/kcaptcha.php:21) in /var/www/vhosts//httpdocs/components/com_jcomments/libraries/kcaptcha/kcaptcha.php on line 201
I have not seen those messages before in my use of JComments, sorry. Perhaps they happen because of other problems with @borja's hosting environment? ???

borja
Joomla! Guru
Joomla! Guru
Posts: 614
Joined: Wed May 27, 2009 11:26 am

Re: Jcomments and Kcaptcha

Post by borja » Tue Aug 14, 2018 9:01 am

Thank you, but:

PHP Configuration :: Version: 7.0.31
Where do you see that the version is older(5.5.5.)? this is the version, as far as I know of Maria DB. Aslo is the version of PHP?

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Jcomments and Kcaptcha

Post by sozzled » Tue Aug 14, 2018 10:31 am

My apologies. I was looking at the MySQL version ... :-[

Anyway, you need to use the latest version of the JComments package from the updated GitHub repository. This should fix those PHP errors.

User avatar
Slackervaara
Joomla! Ace
Joomla! Ace
Posts: 1115
Joined: Sat Aug 13, 2011 6:27 am

Re: Jcomments and Kcaptcha

Post by Slackervaara » Tue Aug 14, 2018 4:55 pm

I have taken a look again at JComments adapted for PHP 7. It works, but I cant refresh objects because an error in:

[php7:notice] [pid 8228:tid 1964] [client ::1:53271] PHP Notice: Undefined property: stdClass::$owner_id in C:\\xampp\\htdocs\\Jisse\\components\\com_jcomments\\plugins\\com_phocagallery_images.plugin.php on line 33, referer:

Line 33 is:
$info->userid = $row->owner_id;

if (!empty($row)) {
$Itemid = self::getItemid('com_phocagallery');
$Itemid = $Itemid > 0 ? '&Itemid='.$Itemid : '';
$info->title = $row->title;
$info->access = 0;
$info->userid = $row->owner_id;
Last edited by Slackervaara on Tue Aug 14, 2018 6:53 pm, edited 1 time in total.

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Jcomments and Kcaptcha

Post by sozzled » Tue Aug 14, 2018 5:47 pm

@Slackervaara: that's a different issue, unrelated to JComments, and probably more about XAMPP; i don't use XAMPP, sorry.

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2897
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: Jcomments and Kcaptcha

Post by SharkyKZ » Tue Aug 14, 2018 6:36 pm

Slackervaara wrote:
Tue Aug 14, 2018 4:55 pm
I have taken a look again at JComments adapted for PHP 7. It works, but I cant refresh objects because an error in:

[php7:notice] [pid 8228:tid 1964] [client ::1:53271] PHP Notice: Undefined property: stdClass::$owner_id in C:\\xampp\\htdocs\\Jisse\\components\\com_jcomments\\plugins\\com_phocagallery_images.plugin.php on line 33, referer:

Line 33 is:
$info->userid = $row->owner_id;
Edit the query above to select owner_id column.

User avatar
Slackervaara
Joomla! Ace
Joomla! Ace
Posts: 1115
Joined: Sat Aug 13, 2011 6:27 am

Re: Jcomments and Kcaptcha

Post by Slackervaara » Tue Aug 14, 2018 6:54 pm

Thanks, added the entire column.


Locked

Return to “Extensions for Joomla! 3.x”