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 ... 20 21 22 23 [24] 25 26 27 28 ... 41   Go Down

Author Topic: Captcha (Visual Confirmation) for comments/registration/reporting/login/ecard  (Read 848197 times)

0 Members and 1 Guest are viewing this topic.

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl

you did place captcha.php at the root of your site ?
Logged

Nibbler

  • Guest

I can't find the above lines on my register.php

The code to change is in the plugin's codebase.php, not register.php.
Logged

Merovinger

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

I want to have the coding only in my comments.
I installed captcha but it only does it at the registration.php and login.php
I don't want it there, I only want it at my comments!!!
Where is it written how I could do that?
Please help me!!!
Logged

Nibbler

  • Guest

Read the readme file.
Logged

Merovinger

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

Yes, it helped, thank you! :)
Logged

MechMykl

  • Coppermine novice
  • *
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • HQubed

I juggled around Captcha 1.8, 1.9, 2, and 3 earlier in the evening yesterday and encountered a specific error in each... I've since uninstalled and deleted each of the folders and gotten rid of the `cpg1410_plugin_captcha` table by dropping it.

I tried reinstalling the Captcha 3.0 today and it gives me this:
Critical Error: There was an error while processing a database query.

I go to PHPMyAdmin and I check the table and it gives me the warning that it has no index...

Btw while I'm here, I deleted the case's for everything but displayimage but when I try to login (it obviously wont show the captcha anymore) but it DOES give me the invalid captcha error message and throws me back to the login page.
« Last Edit: April 17, 2008, 03:57:25 am by MechMykl »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project

It would be better to post a link to your gallery that you have issue with and also a test account (since you have a login issue)
BTW after searching and looking on your other posts I find this site
http://www.coppermine.hqubed.com
But I don't see any captcha error message by trying login
Please be more specific about your issue
Logged
‍I don't answer to PM with support question
Please post your issue to related board

MechMykl

  • Coppermine novice
  • *
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • HQubed

I really can't be- I have no CAPTCHA anymore simply because when I try to install it, it gives me the critical error... It makes the database table that it's supposed to, but it's empty, could that be the issue?

Other plugins (ie Easy RSS) work fine-but obviously have nothing to do with the DB, and I can add images without any issue either.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project

can't you give us a test account ?
Logged
‍I don't answer to PM with support question
Please post your issue to related board

MechMykl

  • Coppermine novice
  • *
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • HQubed

User: Test
Pass: Tester

the login issue dosent happen anymore because of the plugin simply not installing anymore, but it's all yours.

Thank you in advance for your time, you've helped me before and I very much appreciate it-- mine was one of the many that got hit with the PHP virus string and I could tell that the users were exhausting the admins... thank you :)
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project

I'm confuse  ???
At first you said you got error on login even when plugin was unistall and now you said error gone !
So what's the point?
If you need this plugin, install it and then if you have any problem post it here
Logged
‍I don't answer to PM with support question
Please post your issue to related board

MechMykl

  • Coppermine novice
  • *
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • HQubed

That was before-
I installed the plugin, 3.0; and it worked at first but then it gave me the you can't login deal to which i renamed the plugin folder but ended up deleting it before clicking uninstall... so I uploaded it back and then it wasn't installed anyway so I tried to reinstall but it gives me that critial error now.

Should I just go with 2.0? haha.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project

Enable debug and try to install and post the actual error you've got
Logged
‍I don't answer to PM with support question
Please post your issue to related board

MechMykl

  • Coppermine novice
  • *
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • HQubed

Alright - I did what you said and was able to fix THAT problem by myself, as it turns out, the CAPTCHA plugin left a string in the _plugins table that wasn't deleted until I did it manually...

Now it is installed and just wont show the captcha itself besides a missing image box.. I hope the fix isnt as obvious as it probably is... all files are uploaded btw, Test account is still valid.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project

Copy captcha.php to gallery root
Logged
‍I don't answer to PM with support question
Please post your issue to related board

MechMykl

  • Coppermine novice
  • *
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • HQubed

Haha of course, forgot that... well, next issue:

Script called without the required parameter(s).
File: /home/.klara/mechmykl/coppermine.hqubed.com/db_input.php - Line: 58

after I uploaded captcha.php...

Code: [Select]
USER:
------------------
Array
(
    [ID] => 84a1dc912e05be6e3f93df1649623eb1
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 9534
            [1] => 8352
            [2] => 6762
            [3] => 6764
            [4] => 8378
        )

    [search] => Array
        (
            [search] => [Panorama]
            [album] => search
            [title] => on
            [newer_than] =>
            [caption] => on
            [older_than] =>
            [keywords] => on
            [type] => AND
            [params] => Array
                (
                    [title] => on
                    [caption] => on
                    [keywords] => on
                )

        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => MechMykl
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 1
    [ufc_min] => 1
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 0
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 1
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg1410_filetypes; (0.002s)
    [1] => select * from cpg1410_plugins order by priority asc; (0.002s)
    [2] => delete from `hqubed`.cpg1410_sessions where time<1208558417 and remember=0; (0.002s)
    [3] => delete from `hqubed`.cpg1410_sessions where time<1207352417; (0.002s)
    [4] => select user_id from `hqubed`.cpg1410_sessions where session_id = 'b2ad7cb4ab5117f4fdb79fb3cef3efbf' (0.001s)
    [5] => select user_id as id, user_password as password from `hqubed`.cpg1410_users where user_id=1 (0.001s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `hqubed`.cpg1410_users AS u INNER JOIN `hqubed`.cpg1410_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.002s)
    [7] => SELECT user_group_list FROM `hqubed`.cpg1410_users AS u WHERE user_id='1' and user_group_list <> ''; (0.002s)
    [8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg1410_usergroups WHERE group_id in (1) (0.002s)
    [9] => SELECT group_name FROM  cpg1410_usergroups WHERE group_id= 1 (0.002s)
    [10] => update `hqubed`.cpg1410_sessions set time='1208562017' where session_id = 'b2ad7cb4ab5117f4fdb79fb3cef3efbf' (0.002s)
    [11] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 1 (0.002s)
    [12] => DELETE FROM cpg1410_banned WHERE expiry < '2008-04-18 18:40:17' (0.002s)
    [13] => SELECT * FROM cpg1410_banned WHERE (ip_addr='72.189.172.138' OR ip_addr='72.189.172.138' OR user_id=1) AND brute_force=0 (0.002s)
    [14] => SELECT COUNT(*) FROM cpg1410_pictures WHERE approved = 'NO' (0.004s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.3 - OK
------------------
mySQL version: 5.0.24a-standard-log
------------------
Coppermine version: 1.4.18(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.16
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.2
Linked Version 1.2.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/local/php5/lib/php:/usr/local/lib/php | .:/usr/local/php5/lib/php:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 7M | 7M
post_max_size | 8M | 8M
==========================
Page generated in 0.158 seconds - 15 queries in 0.03 seconds - Album set : ; Meta set: ;
« Last Edit: April 19, 2008, 01:47:29 am by Sami »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project

Login works ok for me , captcha is working !
where did you get that error ?
Please don't post debug output unless requested
Logged
‍I don't answer to PM with support question
Please post your issue to related board

MechMykl

  • Coppermine novice
  • *
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • HQubed

Yessir:
That error occurs maybe 1 in 10 times I login... I can click the banner and go to the homepage logged in, but it happens.

I removed the "case" for showing the CAPTCHA during registering, and at the bottom, and added "anonymous" to the disable for login, but i still get the confirmation is wrong link now that it dosent show the captcha.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project

You shouldn't remove case !!!
if you want to disable/enable cpatcha for particular page just edit $CAPTCHA_DISABLE array under captcha_page_start function
please read readme.txt file that comes with plugin package for more info
- Use Guests instead of "anonymous"
Logged
‍I don't answer to PM with support question
Please post your issue to related board

MechMykl

  • Coppermine novice
  • *
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • HQubed

When I read the readme that part didn't make sense; I read it differently than you meant.
Thanks very much for your time, problems are all solved, and I'll get back to you if I get that occasional db_input error.
Logged
Pages: 1 ... 20 21 22 23 [24] 25 26 27 28 ... 41   Go Up
 

Page created in 0.028 seconds with 20 queries.