Gallery say the selected album does not exist? Gallery say the selected album does not exist?
 

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]

Main Menu

Gallery say the selected album does not exist?

Started by Citroen, June 03, 2007, 09:29:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Citroen

Hello.

I have the following issue when trying to bridge coppermine and phpbb:

Everything seems ok, but when trying to upøoad a picture this message appears in Coppermine:
"The selected album/files does not exist!"
But the thing is; the picture actually get uploaded. I wonder how to fix this so that the (incorrect?) message is brought to silence...

Coppermine install: http://www.lhm-kafe.com/citroengalleriet/
Forum install: http://www.lhm-kaffe.com/forum/
Coppermine version: cpg1.4.10
Forum version: phpbb 2.0.22
Test user account: test_coppermine/ passwcopp
BridgeManager settings:
Forum URL:  sorry, not sure what to put in here...(where to take the information from) :-[
Relative path to your BBS's config file:  ../forum/ 
Use post-based groups?:  0
Cookie name/preifx:  phpbb2mysql

Hope for your help, please?

Joachim Müller

Quote from: Citroen on June 03, 2007, 09:29:32 PM
Coppermine install: http://www.lhm-kafe.com/citroengalleriet/
Actual gallery link: http://www.lhm-kaffe.com/citroengalleriet/ (mind the missing "f").

Actually, your login doesn't stick, as your use of the leading www subdomain is not consistent. You have to understand that cookies are domain-dependant, and www.lhm-kaffe.com differs from lhm-kaffe.com

Quote from: Citroen on June 03, 2007, 09:29:32 PM
Forum URL:  sorry, not sure what to put in here...(where to take the information from) :-[
Well, what's wrong with http://www.lhm-kaffe.com/forum/

Citroen

Thank you for replying.

Very sorry for the missing "f" - totaly my fault not checking my own spelling properly!

Ok, I understand it's important to be consistent regarding "www". My belive, and meaning is to use that everywhere, because I never knew anything else could be correct. There you have an idea about my level.... :(

Really would like not to come up with a follow-up question but I simply see no way around. I hope forum rules allows that. In what setting can tou see that I'm not consistent about "www"? You see, I have tried using it everywhere but I understand I made a mistake somewhere. Is it possible for you (and if so, will you be so kind) to tell me more about that?

Citroen

Sorry to bust in here again instantly, but I could not find a "edit" function. (Might be caused of my trouble with the language.) Please do not take this up as a second question (I know the rules about single questioning), but in case you are not able to tell me where (only that) I am not consistent, do you allow me to copy that line from your answer to bring it to my webhost support and beg them for help? Have to ask you this, because I must have help with this from someone that knows their way around. I surely do not!

Thank you.

Nibbler

You have a redirect http://www.lhm-kaffe.com/forum -> http://lhm-kaffe.com/forum/

Either remove that so you can use www.lhm-kaffe.com for both the gallery and the forum or set your forum's cookie domain to .lhm-kaffe.com

Concerning your oringinal issue - i already posted code to correct that so search the board.

Citroen

Ok, thank you.

I'm in much to deep water for even trying a guess about tat redirect. I have heard about it, might think I know what it is.........that's it. The only thing I can see being a bit strange is the two gif-links at the gallerys top right/left. When using properties they show link without www - but checking the file containing them at the server clearly say www.

Suppose I have no other choise than to cntact webhost support asking for thei advice and help. They have a very, very kind attitude, but of course it's not sure they even have a possibility to figure out this. I suppose it is a user (me) fault here. :(

I must say I'm some confused about what you say regarding my original issue - you have posted solutions before. I thought GauGau actually answered conserning my issue? And you kindly following up above? Anyway, I did a lot of reading (search in forum) before posting here. Some "error"-pages came up, and a lot that I did not find to fit my problem. I'll try again of course, but need to fix this www-problem first thing.

Thank you both of you being patient with me. It's not your fault that I need more help tham you can or wish provide in this forum.   

Joachim Müller

Consistent use of the leading subdomain www can be achieved by forcing every http call to either use www at all times or never to use it. The code snippet below (needs to go into a .htaccess file in your webroot) would change all requests to use your domain with the leading www:RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.lhm-kaffe\.com$ [NC]
RewriteRule ^(.*) http://lhm-kaffe.com/$1 [R,L]

My guess is that you have such a .htaccess file in place, but not inside your webroot.

Citroen

Wow.....thank you a billion times, GauGau. ::) ;D  I will look into this - and give you the result.

Citroen

Ok, here I am again. The code you came up with, GauGau, worked fine. Only it was the opposite way around. ;) It made every page load without the www in the url.
To be sure not doing something wrong I contacted host support, because I have more than this one domain placed there I didn't want do do something that could effect another site. My knowledge.......

Thew support did several things, and no after some time the url comes up with www all over. The .htaccess are placed in the root of the domain. Actually support did it, I just checked it is in place.

The original problem "The selected album/files does not exist!" is still the same. :( I have searched the board but can't find anything relevant to my problem? Quit a few links are "broken", those in function that I see is not something I assosiate with my problem. But I might be wrong, og course.

So (very good) the redirect problem is fixed - "my problem" did not go away.... ??? 


Citroen

That did it. ;D :-* ;D
When I looked at that link now again I must admit that I in fact did see it when searching this board. But in all error and my confusion I thought of this one as an error as well. :-[ :(

I "salut" both of you for taking the time and effort helping me the way you did, not simply shut the door a long time ago. From my side I will do all I can to look for answers before asking next time, but it's a good feeling to know that if a problem becomes too big there are a couple of great people doing suport in this board.

I consider this as solved, thank you very, very much.