coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: owen100 on December 07, 2004, 08:40:59 AM

Title: VB3.0.3 and coppermine 1.3.2
Post by: owen100 on December 07, 2004, 08:40:59 AM
Got everything integrated, log in seems to work fine and the basics look OK but a BIG problem. As an admin or as a user i cannot upload files. I get "Invalid action for form creation." Now ive read all the relevant posts but there doesnt seem to be a definative answer on this one...
Title: Re: VB3.0.3 and coppermine 1.3.2
Post by: Joachim Müller on December 07, 2004, 08:47:51 AM
link and test user account (non-admin) with upload privileges please. Enable debug mode for everyone and set the group the test user is in to allow "single file uploads" only (temporarily).

Joachim
Title: Re: VB3.0.3 and coppermine 1.3.2
Post by: owen100 on December 07, 2004, 09:23:22 AM
OK - that's all done and ready;

user = coppermine
pass = gallery

The installation is at

http://www.canaryforum.com/cg/index.php


(thanks!)
Title: Re: VB3.0.3 and coppermine 1.3.2
Post by: Seraphuk on December 07, 2004, 09:08:18 PM
Yeah i also got this problem. My users and me (Admin) couldnt upload but i could do Batch ad (which is what i usualyl did anywho) theres also a problem in the Admin Tools section near the bootom.

I reinstalled the gallery anyway. Just waiting for it to work and ill reintergrate. Btw: Love Coppermine!
Title: Re: VB3.0.3 and coppermine 1.3.2
Post by: owen100 on December 07, 2004, 10:43:58 PM
Well, I can't batch either so stuck with an empty gallery. I get the batch message asking me to chose a location but no drop down box or any other option. I'd rather get the indiviual or multiple files thing going first.... HELP!
Title: Re: VB3.0.3 and coppermine 1.3.2
Post by: kegobeer on December 08, 2004, 07:22:46 AM
Did you verify Coppermine was working before the integration?
Title: Re: VB3.0.3 and coppermine 1.3.2
Post by: owen100 on December 08, 2004, 10:17:10 AM
Quote from: kegobeer on December 08, 2004, 07:22:46 AM
Did you verify Coppermine was working before the integration?

Yes
Title: Re: VB3.0.3 and coppermine 1.3.2
Post by: owen100 on December 09, 2004, 10:51:33 PM
anyone any help? I really like the looks of this gallery but it's not much use if it's empty
Title: Re: VB3.0.3 and coppermine 1.3.2
Post by: version2 on December 17, 2004, 06:21:19 PM
Anyone? I got the same problem after upgrading. Verified it worked before bridging.
Title: Re: VB3.0.3 and coppermine 1.3.2
Post by: kegobeer on December 17, 2004, 06:50:57 PM
Try downloading the latest bridge from the CVS: http://cvs.sourceforge.net/viewcvs.py/coppermine/stable/bridge/

If that doesn't solve your problem, it must be a bridge configuration issue.  Verify all your bridge settings are correct.
Title: Re: VB3.0.3 and coppermine 1.3.2
Post by: version2 on December 17, 2004, 07:35:11 PM
Well, downloaded the latest bridge. Installed that and put in all the required variables and now its not loggin anyone in. At least before I was able to get everyone logged in as normal. I am about to tear my hair out. I cant even find that ERROR MESSAGE in any of the code.

I originally used this guys instructions:

http://forum.coppermine-gallery.net/index.php?topic=12304.0

To do my install and I was able to get everyone logged in like normal. Bridge seemed to work, but no uploading because of that FORM error.
Title: Re: VB3.0.3 and coppermine 1.3.2
Post by: version2 on December 17, 2004, 09:07:47 PM
Well, since no one seems to be working on this problem I am attacking it. So far I can see that when coming from the VB to Copper the bb password and sessionhash are not being passed. I think the bbuserid is coming through fine. I will update when I find something else.
Title: Re: VB3.0.3 and coppermine 1.3.2
Post by: version2 on December 17, 2004, 09:09:52 PM
Scratch that. None of the $HTTP_COOKIE_VARS are being passed to coppermine.
Title: Re: VB3.0.3 and coppermine 1.3.2
Post by: version2 on December 17, 2004, 09:29:40 PM
SOme more info, please feel free to jump in anytime. Not too familiar with coppermine and well, I am doing my best. Suggestions would be helpful. I am seeing that:

$HTTP_COOKIE_VARS[VB_COOKIE_PREFIX . 'sessionhash'];

Is empty. Actually, thats incorrect. When I echo this var out at the beginning opf the bridge file I get:

Notice: Undefined index: sessionhash in /var/www/html/mw/photoalbum/bridge/vbulletin30.inc.php on line 81
Title: Re: VB3.0.3 and coppermine 1.3.2
Post by: Nibbler on December 17, 2004, 09:36:58 PM
There's not much I can do to help without an install of vb3 to play with I'm afraid. Try var_dump($_COOKIE), see what that gives you.
Title: Re: VB3.0.3 and coppermine 1.3.2
Post by: version2 on December 17, 2004, 09:42:19 PM
Quote from: Nibbler on December 17, 2004, 09:36:58 PM
There's not much I can do to help without an install of vb3 to play with I'm afraid. Try var_dump($_COOKIE), see what that gives you.

Dude, you are a lifesaver. That helped a lot. Never used that function before. I was able to find out that the VB_COOKIE_PREFIX was not set correctly and NOW...it works. For all those having problems go to the bridge file and where it says:

define('VB_COOKIE_PREFIX', '')

Put in bb.

Like this: define('VB_COOKIE_PREFIX', 'bb');

Problem solved. At least for me. Hope this helps folks.