Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: Cannot deploy bridgemgr.php  (Read 5822 times)

0 Members and 1 Guest are viewing this topic.

bozz282

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
[Solved]: Cannot deploy bridgemgr.php
« on: March 19, 2009, 04:24:21 pm »

I have the following issue when trying to bridge coppermine

Following Joachim's instructions from my post about Coppermine and phBB3, I am trying to disable the bridge between Coppermine and my old install of phBB2. I cannot deploy the bridgemgr.php because I cannot log in when prompted. I am 99% sure I have the log in details correct as I use the same ones to log in as admin all the time. Now I am locked out and having to wait 5600 seconds until I can try again. Here are my details (completed as fully as I have been able to)

Coppermine install: http://v8hotstox.com/forum/gallery/
Forum install: http://mysite.tld/my_forum_folder/
Coppermine version: cpg1.4.9
Forum version: phpBB 2.0.22
Test user account: test1 / testaccount

BridgeManager settings: I have no idea
Forum URL:  http://www.v8hotstox.com/forum
Relative path to your BBS's config file:  ../forum/ (I hope I have that right)
Use post-based groups?:  0 (I don't know what this means)
Cookie name/preifx (if applicable) cpg143

I also enabled debug mode and here is what was displayed :

USER:
------------------
Array
(
    [ID] => 86ccec11b68fc132e9e85a09b584bec1
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 14
    [user_name] => Bozz282
    [groups] => Array
        (
           
  • => 102
  • [1] => 1029
                [2] => 1030
            )

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

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg148_filetypes; (0.001s)
  • [1] => select * from cpg148_plugins order by priority asc; (0.004s)
        [2] => SELECT * FROM cpg148_bridge (0.001s)
        [3] => SELECT u.user_id AS user_id, u.user_password AS password, u.user_level FROM `hotstox_forum`.phpbb_users AS u, `hotstox_forum`.phpbb_sessions AS s WHERE u.user_id=s.session_user_id AND s.session_id = '4aff9c6aeaae64d1337300b891ce5170' AND u.user_id > 0 (0.048s)
        [4] => SELECT u.user_id AS id, u.username AS username, u.user_password AS password, ug.group_id AS group_id FROM `hotstox_forum`.phpbb_users AS u, `hotstox_forum`.phpbb_user_group AS ug WHERE u.user_id=ug.user_id AND u.user_id='14' (0.03s)
        [5] => SELECT ug.group_id+100 AS group_id FROM `hotstox_forum`.phpbb_users AS u, `hotstox_forum`.phpbb_user_group AS ug, `hotstox_forum`.phpbb_groups as g WHERE u.user_id=ug.user_id AND u.user_id='14' AND g.group_id = ug.group_id AND  group_single_user = 0 (0.042s)
        [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(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 cpg148_usergroups WHERE group_id in (102,1029,1030) (0.001s)
        [7] => SELECT group_name FROM  cpg148_usergroups WHERE group_id= 102 (0s)
        [8] => SELECT user_favpics FROM cpg148_favpics WHERE user_id = 14 (0.078s)
        [9] => DELETE FROM cpg148_banned WHERE expiry < '2009-03-19 15:21:14' (0.001s)
        [10] => SELECT * FROM cpg148_banned WHERE (ip_addr='78.151.170.234' OR ip_addr='78.151.170.234' OR user_id=14) AND brute_force=0 (0s)
        [11] => SELECT COUNT(*) FROM cpg148_pictures WHERE approved = 'NO' (0.192s)
        [12] => SELECT value FROM cpg148_config WHERE name = 'theme' (0.016s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.8 - OK
    ------------------
    mySQL version: 4.1.22-standard
    ------------------
    Coppermine version: 1.4.9(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 1
    Client API version 4.1.22
    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
    Compiled Version 1.1.4
    Linked Version 1.1.4
    ==========================
    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 | /home/hotstox/:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp | 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 | -1 | -1
    upload_max_filesize | 2M | 2M
    post_max_size | 55M | 55M
    ==========================
    Page generated in 0.634 seconds - 13 queries in 0.414 seconds - Album set : ; Meta set: ;
« Last Edit: March 21, 2009, 01:43:11 pm by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cannot deploy bridgemgr.php
« Reply #1 on: March 19, 2009, 06:28:10 pm »

Coppermine version: cpg1.4.9
Then upgrade. Most recent stable release currently is cpg1.4.21.
Logged

bozz282

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Cannot deploy bridgemgr.php
« Reply #2 on: March 19, 2009, 09:01:32 pm »

Hi Joachim,

OK, I did as you prompted and upgraded to the latest version. Then, refering back to your instructions on moving my coppermine to another folder :

I took coppermine offline
Then I tried again to deploy bridgemgr.php and it came up with the screen that says 'Gallery is currently offline - check back soon'

So, I took coppermine back online and tried bridgemgr.php again and 'You supplied the wrong credentials. You will have to supply the admin account data of the standalone version (usually the account you set up during Coppermine install).'

Now I'm stuck

I just wondered, is there any way of installing a fresh coppermine and transferring my albums to that ?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Cannot deploy bridgemgr.php
« Reply #3 on: March 20, 2009, 06:25:04 pm »

I just wondered, is there any way of installing a fresh coppermine and transferring my albums to that ?
Yes, but that's even more complicated. Not an option for you.

Retrieve the standalone admin account password. The board is full of threads that explain how to accomplish this. Use the search!
Logged

bozz282

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Cannot deploy bridgemgr.php
« Reply #4 on: March 20, 2009, 11:15:45 pm »

Hi Joachim,

I managed to bridge Coppermine and phBB3 - thank you but, now I can not log in to my admin account - only as a normal user and therefore cannot access any configuration settings in Coppermine.
Logged

bozz282

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Cannot deploy bridgemgr.php
« Reply #5 on: March 21, 2009, 04:00:15 am »

Hi Joachim

I finally got it all done. The cookies were messing things up but by searching the site for the answers I was able to solve the problems (logging in to admin mode)

I just wanted to say thank you for your help. Just by searching the forums. it is very obvious that you and the rest of the support team have to answer the same questions day in day out. I now understand how you might grow tired of it. But, hang in there, you helped me a lot and countless others and I for one appreciate it.

Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 20 queries.