I have installed the gallery component, random image module, finally got it all configured right... I was trying to get jhead and ffmpeg to work, but gave up. Not important enought. Anyway. I have it so that everything looks great in the wrapped component off of my menu. When I click on the image block, or on an album or image within the wrapped gallery, it jumps to the stand alone version and mambo disappears. Whoever was logged in drops them off and logs them out. They are logged in correctly with mambo user/gallery logins... so. Why is it jumping to the stand alone? Thanks for your help!
Jack 8)
Posts: 22
I still have no idea how to keep the gallery within the wrapper. I've also noticed that when I try and modify the pictures ( rotate, change name, anything) it gives me a permission denied and logs me out. Could it be a cookie thing? Does anyone have any idea on the stand alone issue? Thanks again.
Jack 8)
Posts: 430
JackBreech,
could you give your gallery2 config settings? suspect a problem there.
You updated to latest release of G2?
Michiel
Posts: 22
Weird. All the sudden all the permission problems fixed themselves. Anyone have any other ideas on how to keep the gallery window within mambo?
Thanks!
Jack 8)
Posts: 22
I still have no idea why everytime you click a photo within mambo, whether it be from the image block module or the actual component integrated gallery page it jumps to the stand alone. Some things I have noticed is that on the mambo homepage, around the random image block on the left, there is a hyperlink line outlining the image. It is blue, then if I've been to that picture before, it turns purple. It's a few pixels wide. Now if I click on the gallery menu link and the gallery shows up in the right pane, it turns to the selected "shadow" effect. Don't know what this means.
As far as the permissions metioned below, I have determined that it has something to do with the "Crop Thumbnail" tab on 'Edit Photo'. This may not be a viable question in the integration column. Sorry. But I'm thinking that it had something to do with the general settings in the Site Admin for uploading files with a certain attributes setting to 644 or something. I think it just may be a bug. But every time it happens, it says permission denied and it logs you out and then the browser even forgets your name and password.
Does anyone have any answers to either of these concerns. I can certainly limp along with the permissions things because it works "sometimes". I REALLY need to figure out what is happening with the jump to stand alone It would make my year if I could get this program integrated fully into mambo. It's just so nice and the best gallery software around. I'm getting my office to use it and purchasing a site for my family so my mother can see the greatness of digital photography.
Thanks again.
Ian
Posts: 32509
what does it show in G2 when it jumps from embedded G2 to standalone G2?
the login screen?
because i just fixed the loginRedirect code of embedded G2... (yesterday).
or if that's not the case, please give an example, maybe something that i can see with my own eyes (url to your G2 + instructions on how to reproduce).
Posts: 22
I should have done that in the first place.
My mambo site is http://life.ianfay.com
If you look down on the Image block on the left you should see the hyperlink like that I'm speaking of. If you click on "The Gallerian", the gallery shows up in the frame and then the shadow effect appears behind the new random image. Click on that, or anything in the right frame and poof. "Stand Alone". It will allow you to keep your login creds, but still kinda funky.
Something weird otherwise. After viewing a slideshow, it logs you off. Same as the permissions thing. Tis all a little weird. Should I present that problem in another forum?
Thanks for you help. SUPER product.
Jack 8)
Oh and excuse that site. I'm a little pompous.
Posts: 430
hi,
change "Relative path to Gallery G2" into:gallery2
change "path to mambo" into:/
add "&itemid=int" to "embedUri" (int should be replaced with itemid mambo gives it.)
Posts: 22
Michiel,
I appreciate the assistance. Unfortunately after making the changes that you suggested, the only difference was that none of the pictures showed up and when you clicked on anything, it went back to the mambo home screen. We've regressed. Any other suggestions?
Posts: 430
This should be fixed with the next version, be patient i'll upload it in a hour.
I have been debugging it with valiant and found the source and needed to change some things all around in the component.
Posts: 19
Apologies if this a) slightly OT and b) a complete noob question, but I havce just recently started looking at Gallery2.
After installing michiel fab component (2.0.3), I don't have Path to Mambo and embedUri fields?
So far I don't have an issue with standalone or Mambo mode... Why are those two parameters missing??
Btw. using Mambo 4.5.2.2 and gallery nightly of the 27th.
Otto
Posts: 352
That's because in the newer versions (greater than 2.0) you don't need to fill out those two fields.
Posts: 430
ottobufonto,
shocksll is correct, these are generated auto, based on server info and the url you have given.
grtz,
Michiel
Posts: 19
Doh.
Thanks guys.
Otto
Posts: 22
Well guys, I really appreciate all your help and assistance. Especially with such a great product. To rule out any problems, I've installed your new 2.0.3 component and corresponding module, upgraded my mambo installation to 4.2.3 and tried it again. I now cannot get anything. I'm getting the same problems that I got after that second config that michiel proposed. The only other thing that I think may be of an issue is that the last directory in my server path is being redirected as a subdomain. My gallery install is in that directory. It is not on the root of my server folder. Could that be an issue? In the mean time I will have to go back to the older component. Let me know how I can be of further assistance with this.
Thanks again,
Jack 8)
Posts: 430
JackBreech,
the version should be 2.0.5 try that one and could you give the server paths to both mambo and gallery2 so i can see it and a link to your website
thxs,
Michiel
Posts: 22
I'm SO sorry Michiel. I meant 2.0.5.
My server root: /home/saint/public_html/
My mambo build: /home/saint/public_html/life
My Gallery 2 root: /home/saint/public_html/life/gallery2
Server root URL: http://www.saintgorilla.com
Mambo build URL: http://life.ianfay.com
Gallery 2 root URL : http://life.ianfay.com/gallery2
Thanks again for your help. Let me know if I should do any further research or if you need anything else.
Ian
Posts: 430
JackBreech,
to bad you uninstalled, else i could use &debug=1 on the component and see what kind of paths there were generated under these conditions.
How is this subdomain done? using .htaccess??
i'll try to duplicate your gallery2 and mambo install and see what happens.
grtz,
Michiel
Posts: 22
I can reinstall it if you need me to. I really don't know how the subdomain is done. My provider uses cpanel and it manages the subdomains itself. Like I say. You tell me what you need me to do, I'll do it. I can't code worth anything, but I will try and help debug as much as I can. The site isn't live as I'm getting everything straight before I do. Let me know. Thanks SO much for your help.
ian
Posts: 430
JackBreech,
You can ask or if your provider has a forum, post a question about how the subdomains are handeld and how paths are affected in scripts?
will try to find a solution to your problem.
grtz,
Michiel
Posts: 22
I asked the webserver guys directly. I got this superior technical answer.
Yeah. Hope this helps.
Anything else that I can do to assist anyone? Any answers I should already have that I don't? And places to look?
Thanks again for all your great support.
ian
Posts: 22
Anyone have any further things for me to try?
Posts: 430
Yeah, you have to wait until gallery2 is updated and the component is updated also, then most of the path issues will be solved. This was posted in the main mambo threath, sorry i didn't say anything here.
gtrz,
Michiel
Posts: 22
Just checking in to see if there have been any advancements. I appreciate it.
Ian
Posts: 430
JackBreech,
i have hosting problems at the moment, tmp file is being filled by a customer and no session can be created. so i have the famous "mambo admin login logout loop"
but they are working on it.
by the way do you know why they need to replace the index.php, it isn't very nice and mambo like, components shouldn't alter core code but that's my 2 cents.
grtz,
Michiel
Posts: 22
Ha.. I agree with you on how components shouldn't alter the core code, but I assume having such a complex system, sometimes the only alternatives are a little nudging. Look at the phpbb component!
I appreciate everything you guys do. If I could offer more as far as programming I would I'm trying to learn everything about everything and that is a little difficult.
Posts: 430
JackBreech,
thay will leave the core files alone after relaise of mambo 4.5.3 if i'm correct.
but i'll ask the dev teams what they are planning for mambo 4.5.3 everything to integrate should be there with that release.
i can't help it if people start altering core files, i can't control it, it's difficult enough to get it to work on all those kind of servers and hosting settings.
but if you come up with a fix i'll put it in, and for now i'll contact the dev team.
regards,
Michiel
Posts: 18
ok .. If iam reading His 1st post wrong .. He states "WRAPPED" not embeded... it well do this when it is "WRAPED" so i would think he needs to embed it 1st and not make it a "WRAPER" sound slike the fix to me .. like u do with G1 in the cornd folder.... just my 2cents hope it helps
Posts: 22
Thanks snapple, but embed is the correct term for what I'm doing, you are right. I've waited until the new version came out to see if it would fix the problem. my server adds a folder to the public_html and then has the internal DNS ping to a new subdomain. I added a new mambo installation to my server at the same level. i.e. /home/saint/public_html/life - original install with addon and subdomain. Blah blah.. basically what I need to know is how to change the "embedUri:" and "Path to Mambo:" fields in the admin console. Because when I change it to the correct path it says it's invalid. Any ideas?
Posts: 22
Ok...
My server is setup with a primary domain name. www.saintgorilla.com - /home/saint/public_html/
I have added an addon domain that points to www.saintgorilla.com/ian. www.ianfay.com - /home/saint/public_html/ian/
I have then added a subdomain. life.ianfay.com - /home/saint/public_html/life - www.saintgorilla.com/life
And a gallery install under that. life.ianfay.com/gallery2
On the same server I added a new mambo install. www.saintgorilla.com/project11
And a gallery install. www.saintgorilla.com/project11/gallery2
On this 2nd setup (project 11), I successfully installed mambo and embeded gallery2 with no problem.
I changed my original setup on the life.ianfay.com gallery to match the relative, embedUri, and path to mambo by updating the actual mambo configuration.php to read actual path being www.saintgorilla.com/life, then I was able to update the gallery2 component config to what you see below. It still doesn't work. So, are there any ideas on how the server redirects can be circumvented to fix this issue? It's such a great program, and it works on my newer installation... I'm so frustrated.
Thanks!
Ian
Posts: 430
JackBreech,
thxs this is usefull info, i'll sleep on this one and report back in morning!
regards,
Michiel
Posts: 7
yo,
how do you do that?
If I go to gallery2 component configuration I've got this:
[img]http://www.ashladan.be/gallery2.JPG[/img]
You see, my embeduri is in grey can't change it, why, I will change that to index2.php so that it is unwrapped.
Greets