Mambo 4.5.2.1 and Gallery 1.5 - popups do not work
Brat
Joined: 2003-08-03
Posts: 50 |
Posted: Mon, 2005-05-02 06:26 |
Hello all. I've double checked my configuration, pathways, site URL, etc. I cannot figure out why Gallery 1.5's popups are not working. When I log in, the appropriate administration/user functions come up, and the ones that do not require a separate popup window work just fine. As for the ones that do require popup? I get the dreaded message from init.php (init.php: Gallery seems to be inside Mambo, but we couldn't get the necessary info.) When I did some digging, I noticed the following: In both my native Gallery (meaning accessed from the browser) and embedded (within Mambo), popups share the same URL structure. In the following example, I accessed the ALBUM-->REORDER admin command from Gallery's front page. Both native and embedded had the following URL: http://www.mysite.com/gallery/index.php?set_albumName=comp&index=1&reorder=0&gallery_popup=true&option=com_gallery&Itemid=55&include=move_album.php Now, here's the strange thing: that URL works PERFECTLY in native Gallery. However, embedded Gallery generates the init.php error message I posted above. As I said at the beginning, I've checked URL, etc., and I'm stumped. Is this a bug? What should I do now? Thanks in advance for the help. Regards, EDIT: Sorry, forgot the server information and such. Mambo 4.5.2.1 |
|
Posts: 1
same issue for me. Save versions as above.
Chad
Posts: 9
Hi,
Me too.
Any ideas?
Cheers
D.
Posts: 9
Hi,
Can anyone shed any light on this problem?
I'm desperate for a fix as this is the only thing preventing my site from going live.
Thanks
D.
Posts: 9
* bump *
It seems that a lot of us have this problem but no-one seems to have an answer.
If any of the Gallery developers are reading this would you mind having a look at it and see if you can make any suggestions please?
Thanks
D.
Posts: 50
I don't know if this means anything, but on a hunch, I logged into Mambo administration and took a look at the Gallery component configuration.
Mambo forces a final slash at the end of the absolute pathway.
Now, I do remember that you are NOT supposed to include that final slash in Gallery's configuration.
To all the Gallery experts out there: Is there any possibility that Mambo forcing in a final slash could be the culprit?
Posts: 1
You don't need the "/gallery".
Either edit your config.php file and change line 51
$gallery->app->photoAlbumURL = "http://www.website.com/gallery";
to:
$gallery->app->photoAlbumURL = "http://www.website.com";
or when you're configuring Gallery
Posts: 1
I also do have this problem, and tried the changes above:
With additional final "/" on the URL - wich causes an error becaus of double // from inside Mambo - and -
without "/gallery" wich doesn't change anything in my installation.
The path for gallery not inside Mambo an is accessed by a subdomain. Could one of these facts be a problem for Mambo integration?
Posts: 4
I have the exact same problem with the same configuration, it is very frustrating, I tried installing it 3 times and the problem persists, everything is checked, domain is correct, everything...
Would using gallery2 be a better idea? Does it integrate well with mambo? Or any other gallery?
Posts: 4
dont give such wrong advice, I tried that and galery itself stopped working, because the index.php of gallery is in the gallery folder and not in root!
Posts: 178
This might help-in trying to get my mod to work I had to use Gallery's makeGalleryUrl function so it would have the right link for Mambo (directing to Mambo's index page instead of direct to Gallery).
The function is in gallery/lib/url.php. If you know where the problem link is generated maybe you can hack it to use that function to create the proper link if embedded.
NotGoddess
Posts: 3
Had the same Problem:
What solved it was to correct the Gallery-url in the Gallery configuration:
-log into native Gallery and run the configuration wizard
-after next step, go to the "Locations and URLs" tab
-check if "Gallery URL" is right: The full URL to the Gallery web application. (e.g. "http://www.example.com/gallery") Gallery can operate with relative URLs, however some features, such as printing, may not function correctly.
I changed my url from "http://mydomain.rr" to "http://www.mydomain.rr"
-then save the config.
This worked for me! :P
I don't know if this solves your problems, but I could reproduce the problem so it seems to be really this url thingy.
Posts: 1
Ok folks this is the definitive answer...it came to me from Olduvai!
if you have a mambo site on www.somesite.com/mymambosite/ which has a gallery component, your gallery component must also be on www.somesite.com for gallery to share the session. This is not a gallery problem but a universal domain issue.
so this will work :lol:
site on www.somesite.com/mambosite/ WITH www.somesite.com/gallery
this will not work :cry:
site on www.somesite.com/mambosite/ WITH gallery.somesite.com
that will work sweet!
you're all welcome.
Mike