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]   Go Down

Author Topic: bug, please help  (Read 3365 times)

0 Members and 1 Guest are viewing this topic.

tommyworld

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
bug, please help
« on: February 01, 2010, 10:04:48 pm »

I have the following bug message after I attempted to bridge with PHPbb3.  Please help!

USER:
------------------
Array
(
    [ID] => 59ca744c52c3d067b26d338265a38b89
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
  • => 69
  • [1] => 72
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
       
[user_id] => 2
    [user_name] => cegcc
    [group_name] => Administrators
    [groups] => Array
        (
           
  • => 2
  • [1] => 1
            )

        [disk_max] => 10240
        [disk_min] => 0
       
[can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [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
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
  • [1] => select * from cpg14x_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg14x_plugins (0s)
        [3] => SELECT * FROM cpg14x_plugin_xfeeds (0s)
        [4] => SELECT * FROM cpg14x_bridge (0s)
        [5] => SET NAMES 'utf8' (0s)
        [6] => SELECT
             config_name,
             config_value
          FROM
             `civilear_cegcc`.config
          WHERE
             config_name IN ('cookie_name', 'session_length', 'allow_autologin', 'max_autologin_time') (0.001s)
        [7] => SELECT
                   u.*, s.*
                FROM
                   `civilear_cegcc`.users u,
                   `civilear_cegcc`.sessions s
                WHERE
                   u.user_id = s.session_user_id AND
                   u.user_type != 2 AND
                   u.user_type != 1 AND
                   s.session_id = 'e34ed4023ac8a24847f2f98f9d4028a9' (0.001s)
        [8] => SELECT
                *
             FROM
                `civilear_cegcc`.user_group ug,
                `civilear_cegcc`.acl_groups ag,
                `civilear_cegcc`.acl_roles_data ard,
                `civilear_cegcc`.acl_options ao
             WHERE
                ug.user_id = 2 AND
                ug.group_id = ag.group_id AND
                ag.auth_role_id = ard.role_id AND
                ard.auth_setting = 1 AND
                ard.auth_option_id = ao.auth_option_id AND
                (ao.auth_option = 'a_cpgadmin' OR ao.auth_option = 'm_cpgadmin') (0.005s)
        [9] => SELECT
                   *
                FROM
                   `civilear_cegcc`.user_group ug,
                   `civilear_cegcc`.acl_groups ag,
                   `civilear_cegcc`.acl_options ao
                WHERE
                   ug.user_id = 2 AND
                   ug.group_id = ag.group_id AND
                   ag.auth_option_id = ao.auth_option_id AND
                   ag.auth_setting = 1 AND
                   (ao.auth_option = 'a_cpgadmin' OR ao.auth_option = 'm_cpgadmin') (0.001s)
        [10] => SELECT
               group_name
            FROM
               `civilear_cegcc`.groups
            WHERE
               group_id = 1306 (0s)
        [11] => 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 cpg14x_usergroups WHERE group_id in (2,1) (0s)
        [12] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
        [13] => UPDATE
                   `civilear_cegcc`.sessions
                SET
                    session_time = 1265058153
                WHERE
                   session_id = 'e34ed4023ac8a24847f2f98f9d4028a9' (0s)
        [14] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 2 (0s)
        [15] => DELETE FROM cpg14x_banned WHERE expiry < '2010-02-01 13:02:33' (0s)
        [16] => SELECT * FROM cpg14x_banned WHERE (ip_addr='75.82.59.72' OR ip_addr='75.82.59.72' OR user_id=2) AND brute_force=0 (0s)
        [17] => SELECT aid from cpg14x_pictures WHERE pid='56'  LIMIT 1 (0s)
        [18] => SELECT title,keyword from cpg14x_albums WHERE aid='1' (0s)
        [19] => SELECT COUNT(*) from cpg14x_pictures WHERE ((aid='1'  ) )   (0s)
        [20] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from cpg14x_pictures WHERE ((aid='1'  ) )   ORDER BY filename ASC  (0.002s)
        [21] => SELECT title,keyword from cpg14x_albums WHERE aid='1' (0s)
        [22] => SELECT COUNT(*) from cpg14x_pictures WHERE ((aid='1'  ) )   (0s)
        [23] => SELECT * from cpg14x_pictures WHERE ((aid='1'  ) )   ORDER BY filename ASC  LIMIT 46 ,1 (0.001s)
        [24] => SELECT title, comments, votes, category, aid FROM cpg14x_albums WHERE aid='1' LIMIT 1 (0s)
        [25] => SELECT username as user_name FROM `civilear_cegcc`.users WHERE user_id = '1' (0s)
        [26] => SELECT cid, name, parent FROM cpg14x_categories WHERE cid = '1' (0s)
        [27] => SELECT title,keyword from cpg14x_albums WHERE aid='1' (0s)
        [28] => SELECT COUNT(*) from cpg14x_pictures WHERE ((aid='1'  ) )   (0s)
        [29] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from cpg14x_pictures WHERE ((aid='1'  ) )   ORDER BY filename ASC  (0.001s)
        [30] => SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip, pid FROM cpg14x_comments WHERE pid='56' ORDER BY msg_id ASC (0s)
        [31] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
        [32] => SELECT title,keyword from cpg14x_albums WHERE aid='1' (0s)
        [33] => SELECT COUNT(*) from cpg14x_pictures WHERE ((aid='1'  ) )   (0s)
        [34] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from cpg14x_pictures WHERE ((aid='1'  ) )   ORDER BY filename ASC  LIMIT 41 ,10 (0.001s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
       
[album] => 1
    [pos] => -56
)

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

==========================
VERSION INFO :
------------------
PHP version: 5.2.10 - OK
------------------
mySQL version: 5.0.87-community
------------------
Coppermine version: 1.4.21(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: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 2
Client API version 5.0.87
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.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.3
Linked Version 1.2.3
==========================
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/lib/php:/usr/local/lib/php | .:/usr/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 | 400 | 400
max_input_time | 500 | 500
upload_max_filesize | 400M | 400M
post_max_size | 200M | 200M
==========================
Page generated in 0.15 seconds - 35 queries in 0.013 seconds - Album set : ; Meta set: ;
Logged

tommyworld

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: bug, please help
« Reply #1 on: February 01, 2010, 10:08:02 pm »

I also noticed the following errors in the Notice box

/plugins/cpg-xfeed/codebase.php

    * Notice line 44: Use of undefined constant ecards_more_pic_target - assumed 'ecards_more_pic_target'
    * Notice line 61: Use of undefined constant ecards_more_pic_target - assumed 'ecards_more_pic_target'

/include/functions.inc.php

    * Notice line 2732: Undefined variable: i
Logged

Nibbler

  • Guest
Re: bug, please help
« Reply #2 on: February 01, 2010, 10:25:23 pm »

That's not a bug. Disable "debug mode" in config to make the message go away.
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.