[g2+Mambo] path problems when trying to display pictures

CharlieBlank

Joined: 2002-08-23
Posts: 18
Posted: Sun, 2005-07-31 22:12

Hi,
I am studying the various posts regardings G2 + Mambo integration since hours -- but I am unable to find a solution to my problem:

I recently switched my mambo portal to a new server name - and upgraded G2 from Beta2 to Beta4.
I also upgraded the G2 mambo component to the latest version 2.0.6.

In the configuration screen of my component - the component proposes '/https://www.dsthome.de/wirsindblank/mambo/' as Path to Mambo. This is the link to the 'old server url'. As soon as I enter the new server name - http://wirsindblank.dsthome.de/ - and click ok - I am receiving 'Path to mambo is incorrect'. But this is the link I am currently using to access my mambo portal. (The configuration.php in mambo is showing the correct url.)

Thanks for your help.....

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Mon, 2005-08-01 06:04

CharlieBlank,

it isn't a server path, but a url.
what are your server paths AND urls to your mambo install and gallery2 standalone?

regards,
Michiel

 
CharlieBlank

Joined: 2002-08-23
Posts: 18
Posted: Mon, 2005-08-01 07:31

Michiel,

thanks for your reply.
Just to make sure: The G2 component in the mambo portal loads - but the pictures can't get loaded, because the URL to the picture is wrong, e.g. http://wirsindblank.dsthome.de/https://www.dsthome.de/wirsindblank/mambo/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=38&g2_serialNumber=3&g2_GALLERYSID=91301bbb0e203b2d57b0f89d5ed6b71b.
The part of the URL which is in italic - is the old server URL.
you can reach the portal at wirsindblank.dsthome.de (click on 'Bilder' in the menu.

Setup is:

The correct standalone URLs and paths are
wirsindblank.dsthome.de points directly to the mambo installation
wirsindblank.dsthome.de/gallery2 points to G2.
Serverpaths:
xzy/wirsindblank/ -> mambo
xzy/wirsindblank/gallery2 -> gallery2

regards,
charlie

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Mon, 2005-08-01 08:14

CharlieBlank,

your settings should be
fullpath => xzy/wirsindblank/gallery2
relative => ./gallery2 or gallery2
embedPath => / (this one is your problem!)

try these settings,
michiel

 
CharlieBlank

Joined: 2002-08-23
Posts: 18
Posted: Mon, 2005-08-01 09:04

Michiel,

thanks again for your help! :D

I've changed the path to mambo to / -- and this part works now! Ths proposed value was misleading to me, as I then thought, it shouldn't be a relative URL, but an fully qualified URL.

Unfortunately now - running XP & IE 6.0.2800 (SP1, Q832894, Q837009,Q831167,Q823353) I am receiving a popup-box when displaying the albums (wirsindblank.dsthome.de -> menu 'Bilder'), telling me 'Error in line 528, Object required).

Regards,
Karlheinz

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Mon, 2005-08-01 09:17

CharlieBlank,

i think this is a know bug in g2, if i remember correctly it is a javascript error which is related to the search block of gallery2.

regards,
Michiel

 
CharlieBlank

Joined: 2002-08-23
Posts: 18
Posted: Tue, 2005-08-02 08:31

OK - thanks again. The path problem is solved.
Maybe the proposed value for embedURI of the component shouldn't propose the fully qualified link - but only the relative path??

Charlie