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: Bridging Coppermine and phpBB3 - Can not 'Enable'  (Read 5015 times)

0 Members and 1 Guest are viewing this topic.

Yoshio

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Bridging Coppermine and phpBB3 - Can not 'Enable'
« on: November 17, 2009, 09:03:14 pm »

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

I've searched that error here as well as many other site and while I've found many people with the same message, I've been unsuccessful at finding a solution to my specific problem. Basically, I have my forum all set up and being used right now. I installed the newest version of Coppermine and its instillation worked flawlessly. New registration and uploads all work. I then proceeded to use the bridge specifically for cpg1.4 and phpBB3 ([ABD] Bridge Coppermine <-> phpBB3, v0.9.2) I followed the instructions exactly. Everything worked fine, until at the end of the directions...
(as seen at http://www.phpbb.com/community/viewtopic.php?f=70&t=666235&sid=382c3d9c651782f5d086a35e2b86e280)
it says to "click on "Finish"." and never once tells us to click 'enable' at any time. So I didn't, and it finishes, and everything is still working but no bridge. So I just figured, "ah - well I guess it's common sense to 'enable' it." so I did and that was the message I got. As soon as I tried to enable the bridge I get that error. Once that error occurs, I am unable to see or view ANY pages. Just a blank page appears that say "Fatal error :". At this point, it is now impossible to gain access to cCoppermine in order to undo the bridge. Thankfully I was able to just go backwards, (using the back button) and not enable it and just hit finish, allowing Coppermine to resume it's standalone, working self. I've completely un-installed and re-installed as well.

It seems many of the posts and threads have requested to de-bug data, so I'll post that as well - sorry for the lengthy post.

When clicking enable (for the bridge) and hitting finish, I get the error message I mentioned, as well as this Info:
Code: [Select]
While executing query "SET NAMES 'utf8'" on Resource id #33

mySQL error: Unknown system variable 'NAMES'
(File: /homepages/26/d171847489/htdocs/Bota/gallery/include/functions.inc.php - Line: 250 )

The Debug Info:
Code: [Select]
USER:
------------------
Array
(
    [ID] => 287ccccd65abf4d71df75af5d8d1541c
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Joshua
    [groups] => Array
        (
            [0] => 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
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => delete from `db308695252`.cpg14x_sessions where time<1258484136 and remember=0; (0.001s)
    [3] => delete from `db308695252`.cpg14x_sessions where time<1257278136; (0s)
    [4] => select user_id from `db308695252`.cpg14x_sessions where session_id = '734b1f29e8f6812d0423794bb2f71e83' (0s)
    [5] => select user_id as id, user_password as password from `db308695252`.cpg14x_users where user_id=1 (0s)
    [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 `db308695252`.cpg14x_users AS u INNER JOIN `db308695252`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `db308695252`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [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 cpg14x_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
    [10] => update `db308695252`.cpg14x_sessions set time='1258487736' where session_id = '734b1f29e8f6812d0423794bb2f71e83' (0s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2009-11-17 14:55:36' (0s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='207.250.144.45' OR ip_addr='207.250.144.45' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
    [15] => SELECT * FROM cpg14x_bridge (0s)
    [16] => UPDATE cpg14x_config SET value = '1' WHERE name = 'bridge_enable' (0.001s)
    [17] => SELECT * FROM cpg14x_bridge (0s)
    [18] => SELECT * FROM cpg14x_config (0.001s)
    [19] => SET NAMES 'utf8' (0s)
)

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

==========================
POST :
------------------
Array
(
    [bridge_enable] => 1
    [submit] => Finish
    [step] => finalize
    [force_startpage] => 1
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.9 - OK
------------------
mySQL version: 4.0.27-max-log
------------------
Coppermine version: 1.4.25(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 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
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 2
Client API version 5.0.67
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
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 | /usr/local/php/bin | /usr/local/php/bin
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/usr/lib/php | .:/usr/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 | 50000 | 50000
max_input_time | -1 | -1
upload_max_filesize | 20M | 20M
post_max_size | 8M | 8M
==========================
Page generated in 0.22 seconds - 20 queries in 0.004 seconds - Album set : ; Meta set: ;

I'll spare the 'Notices' unless requested since I don't think they are needed but perhaps I'm wrong.

Coppermine install: http://www.bota.appearim.com/gallery
Forum install: http://www.bota.appearim.com/forums
Coppermine version: cpg1.4.25
Forum version: phpBB 3.0.4
Test user account: guest / guest

BridgeManager settings:
Forum URL:  http://www.bota.appearim.com/forums
Relative path to your BBS's config file:  ../forums/
Use post-based groups?:  0
Cookie name/preifx: N/A

Logged

Nibbler

  • Guest
Re: Bridging Coppermine and phpBB3 - Can not 'Enable'
« Reply #1 on: November 18, 2009, 01:25:36 am »

If you use a bridge provided by someone else you need to go to them for support. We can only support our own code here.
Logged

Yoshio

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Bridging Coppermine and phpBB3 - Can not 'Enable'
« Reply #2 on: November 18, 2009, 02:39:54 pm »

Ah, my apologies. Do you have a bridge for phpBB 3 I can try?
Logged
Pages: [1]   Go Up
 

Page created in 0.04 seconds with 19 queries.