[SOLVED] Mambo + G2/Remote = err "no protocol implement

speleo

Joined: 2005-06-14
Posts: 13
Posted: Thu, 2005-06-30 11:41

Hi,

Got a problem with Gallery Remote when Gallery2 is embedded in Mambo 4.5.3.2.

When running the full screen Java applet I get the following error.

Quote:
Gallery Remote can find on protocol implementation at the URL http://www.mysite.co.uk/. Check with a web browser that http://www.mysite.co.uk/ is a valid Gallery URL.

If I access the Gallery via a direct URL (ie not via mambo) it works fine, so I'm assuming there is nothing wrong with the Gallery2 install or the Remote applet.

Background info

Quote:
Gallery version = 2.0-beta-3 core 0.9.17
PHP version = 4.3.10 apache
Webserver = Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.10 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
Database = mysql 4.0.23-Max
Toolkits = ArchiveUpload, Exif, Gd, ImageMagick, Thumbnail
Operating system = Linux cpws0032.nwj1.us.razorblue.com 2.6.11.7.dn2.64 #9 SMP Thu Apr 21 16:58:25 EDT 2005 x86_64
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Mambo Gallery2 integration via com_gallery2-v2.0.5 config as below:

Quote:
Full Path to Gallery G2: /home/hunters/public_html/gallery2/
Relative path to Gallery G2: gallery2
Login page redirect: index.php
Display G2 Sidebar: No
Display G2 login: No
Use mirrored user logins: Yes
Run user setup script: No

I've also noticed that when I access the gallery embedded in Mambo that the url gains an extra slash after the domain. For example

http://www.batproducts.co.uk/index.php?option=com_frontpage&Itemid=1
becomes the below after clicking on an image in a gallery
http://www.batproducts.co.uk//index.php?option=com_gallery2&Itemid=45&g2_view=core:ShowItem&g2_itemId=14

Clearly I've looked around for a solution to this but so far have been stumped. Any ideas?

PS. Gallery 2 is the mutts nuts. Thanks to all those who have got it here.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-06-30 11:44

upgrade your G2 to the current nightly snapshot (http://galleryupdates.jpmullan.com).
and make sure in config.php mode.embed.only is set to false.

 
speleo

Joined: 2005-06-14
Posts: 13
Posted: Thu, 2005-06-30 11:48

Hmm...OK will take some time as I've no shell access. Do I simply unzip the snapshot locally and FTP it over the top of the existing install or is there an upgrade routine?

Thanks for the quick response!!!

 
speleo

Joined: 2005-06-14
Posts: 13
Posted: Thu, 2005-06-30 12:01

Quick complete noob question.

Is there a simple PHP code snippet that I can run on the server so that I can upload a tarball or zip file and uncompress it on the host? This would be far far faster than the painful process of using FTP to push across a large filebase.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-06-30 12:20
 
speleo

Joined: 2005-06-14
Posts: 13
Posted: Thu, 2005-06-30 15:18

Valiant,

Cheers my man! It's the age old support thing of patching youself to the latest code base before hassling the support channels (if you've still got the problem).

All sorted now. Many thanks!