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] 2 3   Go Down

Author Topic: Bridging on my gallery is totally dead :(  (Read 23169 times)

0 Members and 1 Guest are viewing this topic.

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120
Bridging on my gallery is totally dead :(
« on: August 28, 2011, 04:02:35 am »

I don't know why... it attempts to establish the bridge with my MyBB forum, but ends up just redirecting to the login page on the forum, but not accepting the logon.

Could anyone come and take a look? It's probably something silly... it's been doing this for a while now though and I'd love to finally get it fixed for my members!

Thanks :)

If anyone wants to help, I'll give you the site URL and a login and stuff. It would help me tremendously!
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Bridging on my gallery is totally dead :(
« Reply #1 on: August 30, 2011, 02:31:25 am »

« Last Edit: August 30, 2011, 02:59:35 am by Joe Carver »
Logged

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120
Re: Bridging on my gallery is totally dead :(
« Reply #2 on: September 10, 2011, 12:09:38 am »

Thing is though, no matter how much I unbridge it and bridge it again or double and triple check the info I put in... nothing. I think something might be broken in the database or something. I recently overwrote all the gallery's basic files with the ones from a fresh install of Coppermine, but no change :(
Logged

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120
Re: Bridging on my gallery is totally dead :(
« Reply #3 on: September 11, 2011, 08:08:47 pm »

If anyone has any thoughts or could come take a peek, I'd appreciate it :)
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Bridging on my gallery is totally dead :(
« Reply #4 on: September 11, 2011, 09:54:01 pm »

Did it die after you replaced all the files? Did you remember to run update.php? If not run it now and see what happens.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120
Re: Bridging on my gallery is totally dead :(
« Reply #5 on: September 12, 2011, 04:17:55 am »

ah no I don't thiiiink I did that.. I may have done.. I'll run it now anyway :)
Logged

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120
Re: Bridging on my gallery is totally dead :(
« Reply #6 on: September 12, 2011, 04:28:02 am »

Ah, yes it had already been done.

Does it sound plausible my suspicions that it is a database issue not an issue with the gallery's files? I wonder if something has become disrupted in the database (like the users table or something - just throwing out ideas). My knowledge of the Coppermine workings isn't good enough to say exactly :(
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Bridging on my gallery is totally dead :(
« Reply #7 on: September 12, 2011, 08:36:58 am »

Providing a link to your site would be a good start.

If it failed when you changed some files then it would be possible that some of the files became corrupt. But we really need to see your site first.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120
Re: Bridging on my gallery is totally dead :(
« Reply #8 on: September 12, 2011, 07:00:21 pm »

well, I only overwrote all the files because I was having a problem with changing the settings in the gallery after applying SEO tweaks (which I have now completely removed AFAIK).

Ok here is the gallery:

NOT SAFE FOR WORK (adult content). http://www.sonichentai.net/gallery

(you can understand why I was hesitant to provide it off the bat lol)
Logged

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120
Re: Bridging on my gallery is totally dead :(
« Reply #9 on: September 12, 2011, 07:00:43 pm »

oh, and if you want admin login details, I can PM them to you?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Bridging on my gallery is totally dead :(
« Reply #10 on: September 12, 2011, 09:22:46 pm »

So it failed when you updated your files? Or had it failed when you were playing with seo?

Also, as you are running 1.5.14 now would be a good time to upgrade to 1.5.16

Once you have done that please do everything outlined by Joe Carver above.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120
Re: Bridging on my gallery is totally dead :(
« Reply #11 on: September 13, 2011, 12:37:33 am »

To be honest, I can't remember the point at which the whole bridge broke. It's been working for a long time. The SEO tweaks broke the user permissions settings (whole image, thumbnails only, etc, for different levels of users), so no matter what I changed it to, it made no difference.

I can update it.. although to be honest I really doubt it will fix it :(

Perhaps I should try resetting or clearing parts of the database so it is forced to recreate them?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Bridging on my gallery is totally dead :(
« Reply #12 on: September 13, 2011, 08:25:52 am »

Logged
It is a mistake to think you can solve any major problems just with potatoes.

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120
Re: Bridging on my gallery is totally dead :(
« Reply #13 on: September 14, 2011, 02:22:28 pm »

Hm, I just upgraded the gallery to the latest version. No improvement, BUT I have learned that SOME users on the forum can login, and some can't! Well, I specifically know of one user who can - one of my admins. But my admin account doesn't do it, and my test user account also doesn't.  He did have TONS of secondary user groups, so I've removed them to see if it still works for him.

Hm ._.  This is complicated.

I'll fill in that thing anyway:

I have the following issue when trying to bridge coppermine and MyBB 1.6.3 (I could update it to 1.6.4 but it's unlikely it will work IMO... I could if you want though):

MyBB bridging does not work for all users - most users are not logged in at all to the gallery when they try to. I'm also having issues with group permissions, but this is a secondary issue.

Coppermine install: http://www.sonichentai.net/gallery (I don't know if Coppermine itself has this down as with the www. or without.. I could check but I don't know which file it is)
Bridging app install: http://www.sonichentai.net/forum
Coppermine version: cpg1.5.16
Bridging app version: MyBB 1.6.3
Test user account: testuser5 / testt3st

BridgeManager settings:
Bridge app URL:  http://www.sonichentai.net/forum
Relative path to your bridge app's config file:  ../forum/inc/
Cookie name or prefix:  Not sure (how do I find this out?)
Use bridge app custom groups?:  1  (it doesn't seem to work whether this is on or off though)


Hope that helps!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Bridging on my gallery is totally dead :(
« Reply #14 on: September 14, 2011, 02:44:48 pm »

When I have a look at the generated cookies I can see that the Coppermine cookies are created for host
Quote
www.sonichentai.net
with path
Quote
/

and the board cookies are created for host
Quote
.sonichentai.net
with path
Quote
/forum/
Logged

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120
Re: Bridging on my gallery is totally dead :(
« Reply #15 on: September 21, 2011, 11:14:45 pm »

Ah ok, yeah I had a look in the config of Coppermine and saw that it was set to call it "coppermine" and the path is /.

So erm.. what should I change where and to what? I would imagine the forum cookie settings are ok and I should change the Coppermine ones? I know how to change the path if I need to (the Cookie Settings section) but I don't know how to change the host?

Thanks a lot! :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Bridging on my gallery is totally dead :(
« Reply #16 on: September 22, 2011, 09:23:55 am »

The host should be fine, but according to the docs you should adjust the board's cookie path:
The cookie path in the forum's configuration should be set to '/' where this option is available.

Some bridging apps have an option to enable sub-domain independant cookies that you should enable if you own the entire domain.

Some bridging apps use a cookie path by default that will make the cookie only available for the bridging app itself and not for other apps that reside in different folders on the webserver. If this is the case for you, you have to review your bridging app's config first and make sure that it is set to allow the cookie from the bridging app to be read by coppermine.
Logged

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120
Re: Bridging on my gallery is totally dead :(
« Reply #17 on: September 23, 2011, 12:09:54 am »

omg it works!! You clever dude! haha :)  Thanks so much!


I still can't manage to get the permissions working again (as I say, that broke after I applied some SEO tweaks which I now think I've completely removed), so I'd love some help with that (it's quite important to the site that I restrict access a bit again) but I'm so glad the logins are working!
Logged

elwave

  • Coppermine frequent poster
  • ***
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 120
Re: Bridging on my gallery is totally dead :(
« Reply #18 on: September 23, 2011, 02:34:03 am »

but aw damn now some of the forum isn't working properly (the admin CP, it seems). :(
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Bridging on my gallery is totally dead :(
« Reply #19 on: September 23, 2011, 09:06:59 am »

Maybe you have to clear your cookies, but you better read the board's docs or ask the board's support team.
Logged
Pages: [1] 2 3   Go Up
 

Page created in 0.03 seconds with 20 queries.