Captcha doesn't show Captcha doesn't show
 

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

Main Menu

Captcha doesn't show

Started by Ulenka, July 02, 2011, 07:47:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ulenka

After upgrade from 1.4.x to 1.5.12 captcha doesn't show image in registration page.
Also users can't leave a comment, because captcha image doesn't show.
It trouble is in any language and any theme.
http://romanticcollection.ru/gallery/captcha.php?lang=english
http://romanticcollection.ru/gallery/captcha.php?theme=curve

I'm seaching any suggestions on this forum, but I didn't find solving this problem.
Please, help! :-[

Ulenka

Maybe this information can help to solve the problem.

USER:
------------------
Array
(
    [ID] => b8b8c877c208e1db1e9b5f1aa7f15fb8
    [am] => 1
    [lang] => russian
    [liv] => Array
        (
            [0] => 1215
        )

    [liv_a] => Array
        (
            [0] => 15
        )

)

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

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [access_level] => 3
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [can_create_public_albums] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [allowed_albums] => Array
        (
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT name, value FROM cpg14x_config [include/init.inc.php:181] (0 ms)
    [1] => SELECT * FROM cpg14x_plugins ORDER BY priority [include/plugin_api.inc.php:54] (0 ms)
    [2] => SELECT user_id, time FROM `forumnew`.cpg14x_sessions WHERE session_id = '8762891f5c39720ecaa9cbd96b46f3e8' [bridge/coppermine.inc.php:264] (0 ms)
    [3] => SELECT user_id, user_password FROM `forumnew`.cpg14x_users WHERE user_id = 1 [bridge/coppermine.inc.php:276] (0 ms)
    [4] => SELECT u.user_id AS id, u.user_name AS username, user_password AS password, u.user_group AS group_id FROM `forumnew`.cpg14x_users AS u LEFT JOIN `forumnew`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' [bridge/udb_base.inc.php:70] (0 ms)
    [5] => SELECT user_group_list FROM `forumnew`.cpg14x_users AS u WHERE user_id='1' AND user_group_list <> '' [bridge/coppermine.inc.php:202] (0 ms)
    [6] => 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(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, MAX(access_level) AS access_level, MIN(pub_upl_need_approval) AS pub_upl_need_approval, MIN( priv_upl_need_approval) AS  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (1) [bridge/udb_base.inc.php:323] (0 ms)
    [7] => SELECT group_name FROM cpg14x_usergroups WHERE group_id= 1 [bridge/udb_base.inc.php:327] (0 ms)
    [8] => SELECT COUNT(*) FROM cpg14x_categorymap WHERE group_id in (1) [bridge/udb_base.inc.php:340] (0 ms)
    [9] => SELECT lang_id FROM cpg14x_languages WHERE enabled='YES' [include/init.inc.php:329] (0 ms)
    [10] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 [include/init.inc.php:387] (0 ms)
    [11] => DELETE FROM cpg14x_banned WHERE expiry < '2011-07-02 21:41:42' [include/init.inc.php:443] (0 ms)
    [12] => SELECT null FROM cpg14x_banned WHERE (user_id=1 OR '87.228.80.174' LIKE ip_addr OR '' LIKE ip_addr ) AND brute_force=0 LIMIT 1 [include/init.inc.php:459] (0 ms)
    [13] => SHOW TABLES LIKE 'cpg14x_languages' [include/functions.inc.php:5689] (0 ms)
    [14] => SELECT lang_id, english_name, native_name, custom_name FROM cpg14x_languages WHERE available='YES' AND enabled='YES'  [include/functions.inc.php:5700] (0 ms)
    [15] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' [include/functions.inc.php:2418] (0 ms)
    [16] => SELECT lang_id, abbr FROM cpg14x_languages WHERE available='YES' AND enabled='YES' [include/themes.inc.php:2315] (0 ms)
    [17] => DELETE FROM cpg14x_temp_messages WHERE time < 1309624902 [include/functions.inc.php:4927] (0 ms)
)

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

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

==========================
COOKIE :
------------------
Array
(
    [__utmz] => 236397982.1308601872.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
    [9f67126e92cf016b5601b4b8bd459f7c] => 772309459dfaf4280dbea6207c02f997
    [SESSba618ce0ae05ca8e9965d818051ff14c] => ee99bd537309fa24ab024d4f9ff732b8
    [__utma] => 236397982.849157781.1308601872.1308866024.1309355170.3
    [phpbb3_rt883_u] => 1
    [phpbb3_rt883_k] =>
    [phpbb3_rt883_sid] => c37780b28b8b53890bd887be0c1dacba
    [style_cookie] => null
    [SESS5f386e4e2ac6d9ab6e195a0580260723] => e9a3faceeb673ef4be1a44ba10dbcf1a
    [has_js] => 1
    [6a6db23be6355b75ab4573c2fd17738d] => 822ae17f6957c4b2a2d7a444527944a9
    [coppermine_data] => YTo1OntzOjI6IklEIjtzOjMyOiJiOGI4Yzg3N2MyMDhlMWRiMWU5YjVmMWFhN2YxNWZiOCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJydXNzaWFuIjtzOjM6ImxpdiI7YToxOntpOjA7czo0OiIxMjE1Ijt9czo1OiJsaXZfYSI7YToxOntpOjA7aToxNTt9fQ==
    [PHPSESSID] => 79e8471d257926a856f39879422109b3
)

==========================
SESSION :
------------------
Array
(
    [php_captcha] => 3d7f78fff5840d47abbbc63ed8b5ae9e
)

==========================
VERSION INFO :
------------------
PHP version        5.2.6-1+lenny10       OK   
MySQL version      5.0.51a-24+lenny5-log OK   
Coppermine version 1.5.12                stable

==========================
Module: GD
------------------
Exact version                    2.0         
GD Version                       2.0 or higher
FreeType Support                 1           
FreeType Linkage                 with freetype
T1Lib Support                    1           
GIF Read Support                 1           
GIF Create Support               1           
JPG Support                      1           
PNG Support                      1           
WBMP Support                     1           
XPM Support                                   
XBM Support                                   
JIS-mapped Japanese Font Support             

==========================
Key config settings
------------------
site_url             http://romanticcollection.ru/gallery/       
charset              utf-8                                       
allow_private_albums 1                                           
cookie_name          coppermine                                 
cookie_path          /                                           
impath                                                           
lang                 english                                     
main_page_layout     breadcrumb/catlist/alblist/random,3/lastup,3
silly_safe_mode      0                                           
smtp_host                                                       
theme                prorandom                                   
thumb_method         gd2                                         

==========================
Plugins
------------------
                     


==========================
Page (performance)
------------------
Parameter        Current Peak   
Memory usage     6.09 МБ 7.59 МБ
Page generation  66 ms   66 ms 
Page query time  0 ms    0 ms   
Page query count 18      18     


==========================
               

phill104

Were you previously using the captcha plugin? A captcha engine is now built in and you should remove the old 1.4.x plugin and use the built in one.
It is a mistake to think you can solve any major problems just with potatoes.

Ulenka

I have completely removed all files of version 1.4.x

Ulenka

And I didn't use the captcha plugin on 1.4 version.

Ulenka


Ulenka

Having reconsidered all code, I've found the reason: my file include/theme.inc.php was in the incorrect coding (utf-8 instead of ansi).
May be my experience help somebody.

phill104

Thanks for resolving your thread. :)
It is a mistake to think you can solve any major problems just with potatoes.