I've done some searching and haven't seen any posts with my exact problem. I have Mambo installed on my site root (/home/paulh/public_html) and G2 is installed in "gallery2" on the same level. Both work fine stand alone except images will not display when I try to view G2 embedded in Mambo. My sense is that this is a problem with the path settings (from other posts I've read). I'd love to play with these settings as others have but changes I try to make to the Gallery Component Settings (relative path and path to Mambo) will not save. I make the changes, hit save but when the menu refreshes, they just revert back to what they were with the warning "Path to Mambo not correct":
Full Path to Gallery G2: /home/paulh/public_html/gallery2/
Relative path to Gallery G2: gallery2
Path to Mambo: /http://thehicksons.ca/
These settings were recommended/set when I installed com_gallery2_v2.0.6. Is this a file permission issue and if so, what files do I need to chmod?
Posts: 5
Quebus,
When I first tried it, I had the identical problem. Turned out the problem was me not the component.
You must make sure that all 3 text boxes are relative to each other to be thought of as "correct" by the component. (Other than not working at all when you were done, I suspect the component would let you set any path you wanted, so long as it matched all three required variables to each other...even if they were wrong.)
In other words if your relative path and full path and mambo path don't match to each other in the input boxes, the compenent will kick it as being incorrect.
In the example you supplied, its probably more like:
Full Path to Gallery G2: /home/paulh/public_html/gallery2/
Relative path to Gallery G2: gallery2
Path to Mambo: /public_html/
Assuming that "/home/paulh" is the root of your webservice folder.
You should not need to chmod anything.
Frustrating to puzzle out I know but very satisfying and it operates pretty flawlessly once you understand it.
Good luck!
Posts: 5
Doh...just reread your message after post. You say your root webservice folder is public_html and mambo is in your root so in the excerpt above everything should be except:
Path to Mambo: /public_html/
would be
Path to Mambo:/
Sorry. Maybe that'l learn me ta' stop skimmin' the posts before replying! :-?
Posts: 3
That's okay.
I'm focused on the "path to mambo" setting (http://thehicksons.ca), which seems to be the one generating "double" URLs to images (http://www.thehicksons.ca/http://thehicksons.ca etc etc). I think the path should be "/" rather than this URL but it won't accept that value.
When you install the component it seems to grab "best guess" settings for these values (from the main mambo configuration.php maybe?) but the only settings it likes are those listed in my initial post (which are clearly wrong). I've tried changing these values independantly, all together, with trailing slashes there and not there but everything gets dumped and reverted. I'm pulling my hair out...
Posts: 430
Quebus,
could you give me the full path to mambo?
this might clear thing up for me.
regards,
Michiel
Posts: 3
full path to Mambo is /home/paulh/public_html
I edited the value at the DB level this AM (mos_gallery I think it was) and edited the path to Mambo to "/". I now have the gallery pics/thumbs displaying within Mambo...