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: vBulletin bridgine issue  (Read 4333 times)

0 Members and 1 Guest are viewing this topic.

asterix23

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
vBulletin bridgine issue
« on: August 06, 2007, 07:57:13 pm »

I have the following issue when trying to bridge coppermine and vBulletin:
There was an error while processing a database query


Coppermine install: http://www.wladbladi.com/galerie/index.php
Forum install: http://www.wladbladi.com/forum/forum.php
Coppermine version: cpg1.4.12
Forum version: vBulletin 3.6.8
Test user account: test / testtest

BridgeManager settings:
Forum URL:  http://www.wladbladi.com/forum
Relative path to your BBS's config file:  ../forum/
Use post-based groups?:  0
« Last Edit: August 07, 2007, 04:00:16 pm by Nibbler »
Logged

Nibbler

  • Guest
Logged

asterix23

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: vBulletin bridgine issue
« Reply #2 on: August 07, 2007, 12:04:38 am »

Quote
While executing query "SELECT COUNT(*) FROM `wlad_forum`.user" on 0

mySQL error:


File: public_html/galerie/include/functions.inc.php - Line: 249

USER:
------------------
Array
(
    [ID] => cbca8c6099af91a55afecbcddfcf3422
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Admin
    [groups] => Array
        (
           
  • => 1

        )

    [disk_max] => 0
    [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
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg135_filetypes; (0s)
  • [1] => select * from cpg135_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg135_bridge (0s)
        [3] => SELECT u.userid, u.password, u.usergroupid+100 AS usergroupid FROM `table`.user AS u, `table`.session AS s WHERE s.userid=u.userid AND s.sessionhash='e86da5e3733155761b315acf2a2f9ef8' (0s)
        [4] => SELECT u.userid AS id, u.username AS username, u.password AS password, u.usergroupid+100 AS group_id FROM `table`.user AS u INNER JOIN `table`.usergroup AS g ON u.usergroupid=g.usergroupid WHERE u.userid='1' (0s)
        [5] => 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 cpg135_usergroups WHERE group_id in (1) (0s)
        [6] => SELECT group_name FROM  cpg135_usergroups WHERE group_id= 1 (0s)
        [7] => SELECT user_favpics FROM cpg135_favpics WHERE user_id = 1 (0s)
        [8] => DELETE FROM cpg135_mod_online WHERE last_action < NOW() - INTERVAL 15 MINUTE (0s)
        [9] => REPLACE INTO cpg135_mod_online (user_id, user_name, user_ip, last_action) VALUES ('1', 'Abdelilah', '81.192.108.7', NOW()) (0s)
        [10] => DELETE FROM cpg135_banned WHERE expiry < '2007-08-06 20:45:06' (0s)
        [11] => SELECT * FROM cpg135_banned WHERE (ip_addr='81.192.108.7' OR ip_addr='81.192.108.7' OR user_id=1) AND brute_force=0 (0s)
        [12] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = ''  ORDER BY pos (0.001s)
        [13] => SELECT aid FROM cpg135_albums WHERE category = 2 (0s)
        [14] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0.001s)
        [15] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='5' (0s)
        [16] => SELECT count(*) FROM cpg135_albums as a WHERE category = '2' (0s)
        [17] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg135_albums as a LEFT JOIN cpg135_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,1 (0s)
        [18] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg135_albums AS a  LEFT JOIN cpg135_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (9)GROUP BY a.aid (0s)
        [19] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='817' (0s)
        [20] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '2'  ORDER BY pos (0s)
        [21] => SELECT aid FROM cpg135_albums WHERE category = 8 (0s)
        [22] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 8 (0.001s)
        [23] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='381' (0s)
        [24] => SELECT count(*) FROM cpg135_albums as a WHERE category = '8' (0s)
        [25] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg135_albums as a LEFT JOIN cpg135_pictures as p ON a.thumb=p.pid WHERE category=8 ORDER BY a.pos LIMIT 0,8 (0.001s)
        [26] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg135_albums AS a  LEFT JOIN cpg135_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (8, 58, 62, 59, 56, 57, 60, 61)GROUP BY a.aid (0s)
        [27] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='834' (0s)
        [28] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='383' (0s)
        [29] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='398' (0s)
        [30] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='389' (0s)
        [31] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='247' (0s)
        [32] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='421' (0s)
        [33] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='234' (0s)
        [34] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='642' (0s)
        [35] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '8'  ORDER BY pos (0s)
        [36] => SELECT aid FROM cpg135_albums WHERE category = 3 (0s)
        [37] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0.001s)
        [38] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='106' (0s)
        [39] => SELECT count(*) FROM cpg135_albums as a WHERE category = '3' (0s)
        [40] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg135_albums as a LEFT JOIN cpg135_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,2 (0.001s)
        [41] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg135_albums AS a  LEFT JOIN cpg135_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (2, 3)GROUP BY a.aid (0s)
        [42] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '3'  ORDER BY pos (0s)
        [43] => SELECT aid FROM cpg135_albums WHERE category = 6 (0s)
        [44] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 6 (0.001s)
        [45] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='312' (0s)
        [46] => SELECT count(*) FROM cpg135_albums as a WHERE category = '6' (0s)
        [47] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg135_albums as a LEFT JOIN cpg135_pictures as p ON a.thumb=p.pid WHERE category=6 ORDER BY a.pos LIMIT 0,3 (0s)
        [48] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg135_albums AS a  LEFT JOIN cpg135_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (4, 10, 108)GROUP BY a.aid (0s)
        [49] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='877' (0s)
        [50] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='790' (0s)
        [51] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '6'  ORDER BY pos (0s)
        [52] => SELECT aid FROM cpg135_albums WHERE category = 7 (0s)
        [53] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 7 (0s)
        [54] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='538' (0s)
        [55] => SELECT count(*) FROM cpg135_albums as a WHERE category = '7' (0s)
        [56] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg135_albums as a LEFT JOIN cpg135_pictures as p ON a.thumb=p.pid WHERE category=7 ORDER BY a.pos LIMIT 0,8 (0.001s)
        [57] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg135_albums AS a  LEFT JOIN cpg135_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (55, 64, 65, 66, 74, 78, 84, 83)GROUP BY a.aid (0s)
        [58] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='749' (0s)
        [59] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='585' (0s)
        [60] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='594' (0s)
        [61] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='559' (0s)
        [62] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='610' (0s)
        [63] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg135_pictures WHERE pid='645' (0s)
        [64] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '7'  ORDER BY pos (0s)
        [65] => SELECT aid FROM cpg135_albums as a WHERE category>=10000 (0.001s)
        [66] => SELECT count(*) FROM cpg135_pictures as p, cpg135_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0.001s)
        [67] => SELECT cid, name, description, thumb FROM cpg135_categories WHERE parent = '1'  ORDER BY pos (0s)
        [68] => SELECT aid FROM cpg135_albums as a WHERE category = '0' (0s)
        [69] => SELECT count(*) FROM cpg135_albums as a WHERE 1 (0s)
        [70] => SELECT count(*) FROM cpg135_pictures as p LEFT JOIN cpg135_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0.002s)
        [71] => SELECT count(*) FROM cpg135_comments as c LEFT JOIN cpg135_pictures as p ON c.pid=p.pid LEFT JOIN cpg135_albums as a ON a.aid=p.aid WHERE 1 (0.006s)
        [72] => SELECT count(*) FROM cpg135_categories WHERE 1 (0s)
        [73] => SELECT sum(hits) FROM cpg135_pictures as p LEFT JOIN cpg135_albums as a ON p.aid=a.aid WHERE 1 (0.005s)
        [74] => SELECT COUNT(*) FROM cpg135_pictures WHERE approved = 'NO' (0.001s)
        [75] => SELECT count(*) FROM cpg135_albums as a WHERE category = '0' (0s)
        [76] => SELECT COUNT(*) from cpg135_pictures WHERE approved = 'YES'  (0.001s)
        [77] => SELECT * FROM cpg135_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8 (0.001s)
        [78] => SELECT COUNT(*) FROM `table`.user (0s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.6 - OK
    ------------------
    mySQL version: 4.1.21-standard-log
    ------------------
    Coppermine version: 1.4.12(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 compatible)
    FreeType Support:
    T1Lib Support:
    GIF Read Support: 1
    GIF Create Support: 1
    JPG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 2
    Client API version 4.1.21
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    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 | exec,passthru,proc_open,proc_close,shell_exec,system,popen | exec,passthru,proc_open,proc_close,shell_exec,system,popen
    file_uploads | On | On
    include_path | .:/usr/local/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 -f wlad@wla.com | /usr/sbin/sendmail -t -i
    SMTP | localhost | localhost
    smtp_port | 25 | 25
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 90 | 90
    max_input_time | 180 | 180
    upload_max_filesize | 10M | 10M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.14 seconds - 79 queries in 0.026 seconds - Album set : ; Meta set: ;
Coppermine database's tables are not in the same database as vBulletin.
Logged

Nibbler

  • Guest
Re: vBulletin bridgine issue
« Reply #3 on: August 07, 2007, 03:38:07 pm »

You need to update the 'Who is Online' plugin to the latest version.
Logged

asterix23

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: vBulletin bridgine issue
« Reply #4 on: August 07, 2007, 03:47:22 pm »

Thank you!
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.