forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: csa on December 26, 2005, 04:46:19 am

Title: Bridged with phpBB 2.0.18, only the first admin can upload through XP Publisher
Post by: csa on December 26, 2005, 04:46:19 am
Hi there,

I have run into a problem with the integration between cpg 1.4.2 and phpBB 2.0.18 when using the XP Web Publishing Wizard. I am uncertain whether this issue should be raised here in the "integration / bridging" forum, or in the "upload" forum, but decided to place it here as the problem seem to be related specificly to the integration with phpBB 2.0.18.

After upgrading from phpBB 2.0.17 to 2.0.18 (for security reasons) and from cpg 1.3.5 to cpg 1.4.2 (due to bridging issues with 2.0.18) I had problems uploading files with the XP Web Publishing Wizard. I followed the recomendations in the XP Publish Upload problem (http://forum.coppermine-gallery.net/index.php?topic=24082.0) thread, but ended up with a situation where I can upload just fine, but my fellow admin has the same problem as the guy who made this post (http://forum.coppermine-gallery.net/index.php?topic=24082.msg116734#msg116734) in the previously referenced thread.

In order to rule out possible problems due to leftovers from earlier versions of CPG or phpBB I setup a test area with a fresh install of CPG and phpBB. The problem turned out to be easily reproduced (now if I only knew how to rectify it, I would be a happy camper). Here's how I reproduced it:

---
---
---

So why is it that bbadm2 is only able to upload pics to a personal album when bbadm2 is indeed an admin? When in admin mode bbadm2 is able to upload pics to any album using the web form on the "Upload file" page (the pics linked to in this post where uploaded by bbadm2 that way). The "User manager" does show that bbadm2 is an admin, but it would appear that the xp_publish.php script somehow does not recognize that fact.

Coppermine install: http://area51.teamhustler.dk/gallery/
Forum install: http://area51.teamhustler.dk/forum/
Coppermine version: cpg1.4.2
Forum version: phpBB 2.0.18
Test user account: Issue only relating to admin accounts. I will be happy to provide admin accounts to dev-people over PM if required.

Any assistance in this matter will be greatly appreciated - please let me know if you need me to provide additional info :)

Puzzled regards,

Christian


Title: Re: Bridged with phpBB 2.0.18, only the first admin can upload through XP Publis
Post by: Satyr on December 26, 2005, 12:36:09 pm
I have the same problem...  :o
Title: Re: Bridged with phpBB 2.0.18, only the first admin can upload through XP Publisher
Post by: Nibbler on December 26, 2005, 12:43:43 pm
Are you logging into the publisher directly or are you already recognised by an existing cookie ?
Title: Re: Bridged with phpBB 2.0.18, only the first admin can upload through XP Publisher
Post by: csa on December 26, 2005, 01:48:53 pm
Hi Nibbler,

I'm already logged in with a cookie.
Loging in through the publisher does not seem to work at all when bridged.

/Christian
Title: Re: Bridged with phpBB 2.0.18, only the first admin can upload through XP Publisher
Post by: csa on December 26, 2005, 01:57:58 pm
Let me know if you need passwords for my test setup Nibbler - I'll be happy to provide it :)
Title: Re: Bridged with phpBB 2.0.18, only the first admin can upload through XP Publisher
Post by: Nibbler on December 26, 2005, 02:11:58 pm
OK, please PM me the relevent details. I don't run windows though, so I can't promise you a fix.
Title: Re: Bridged with phpBB 2.0.18, only the first admin can upload through XP Publisher
Post by: csa on December 26, 2005, 02:50:08 pm
Will do :)
Title: Re: Bridged with phpBB 2.0.18, only the first admin can upload through XP Publisher
Post by: csa on December 26, 2005, 11:36:18 pm
Is there anything else I can do for you Nibbler?
Title: Re: Bridged with phpBB 2.0.18, only the first admin can upload through XP Publis
Post by: Joachim Müller on December 26, 2005, 11:59:55 pm
this is not a hotline: http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#lamesupport
Title: Re: Bridged with phpBB 2.0.18, only the first admin can upload through XP Publisher
Post by: csa on December 27, 2005, 12:08:53 am
I do understand the nature of this board GauGau.

My post was merely meant as an indication of my willingness to assist in solving this issue any way I can. And that still goes - if there's anything you need me to do I'll be happy to assist.
Title: Re: Bridged with phpBB 2.0.18, only the first admin can upload through XP Publisher
Post by: Nibbler on December 27, 2005, 02:16:12 am
Fix comitted to cvs.
Title: Re: Bridged with phpBB 2.0.18, only the first admin can upload through XP Publisher
Post by: csa on December 27, 2005, 02:37:49 am
Thank you ever so much for your excellent support (after reproducing the problem Nibbler spent most of an hour on my server debugging and fixing the problem).

I have downloaded bridge/phpbb2018.inc.php from CVS (http://cvs.sourceforge.net/viewcvs.py/*checkout*/coppermine/stable/bridge/phpbb2018.inc.php) and verified that it solves the problem in my production setup as well.

Thanks again Nib :D