Mambo + G2 Document

michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Fri, 2005-08-05 09:47

tomSWE,

yup that is what i need ;)

fullpath => c:\Inetpub\www\gallery2
relative => ../gallery2 or ..\gallery2
path to mambo => /mambo/ or \mambo\

don't know how windows works with these slahes but it should be something like that.

regards,
Michiel

 
tomSWE

Joined: 2005-08-04
Posts: 4
Posted: Fri, 2005-08-05 11:25

yeh i thought so but it wont work anyway.
I even tried to move the gallery2 installatioon from www inte /mambo/gallery2 but it still wont work.

Does anyone have any experience about this problem. I cant be the only one using Windows webservices??? or?? really???? :-?

ohh the funny is that i have exact the same problem with SMF Forum integration to mambo. The problem must be Windows. dammit :evil:

 
shocksll
shocksll's picture

Joined: 2005-06-22
Posts: 352
Posted: Fri, 2005-08-05 13:58
tomSWE wrote:
yeh i thought so but it wont work anyway.
I even tried to move the gallery2 installatioon from www inte /mambo/gallery2 but it still wont work.

Does anyone have any experience about this problem. I cant be the only one using Windows webservices??? or?? really???? :-?

ohh the funny is that i have exact the same problem with SMF Forum integration to mambo. The problem must be Windows. dammit :evil:

I've had no problems with using it on my windows installation. Here are my paths:

Mambo Path: C:\Steve\www.thelineberrys.com\wwwroot\
Full G2 Path: C:\Steve\www.thelineberrys.com\wwwroot\gallery2\
Relative Path: ./gallery2
Path to Mambo: /
embedURI: /index.php?option=com_gallery2&Itemid=29

I guess the difference is that i have mambo installed into my wwwroot instead you have mambo installed under the /mambo/ virtual folder or folder under your wwwroot.

 
olafski

Joined: 2005-08-05
Posts: 2
Posted: Fri, 2005-08-05 15:13

I think I have the same problem. In my mambo config file the absolute path is:
/usr/local/psa/home/vhosts/mypub.nl/httpdocs

My Gallery2 installation is done in a subdirectory and so should be:
/usr/local/psa/home/vhosts/mypub.nl/httpdocs/gallery2

But when I try to add this in the config it keeps complaining the path is not correct! What am I doing wrong here?

 
olafski

Joined: 2005-08-05
Posts: 2
Posted: Fri, 2005-08-05 15:32

I have found the problem. You have to end the path with a /

 
d3vlabs

Joined: 2005-05-10
Posts: 100
Posted: Mon, 2005-08-08 04:29

Some comments/suggestions regarding the integration/existing files...Posted half of this post in the Mambo + G2 Thread...But this seems to be a better place since the issues listed below need to be addressed via new releases or hacks.

Need an option to define which content shows up in the sidebar module . For example: you have to enable image block module in G2 in order to use mambo module mod_gallery_random. Since you already have it displayed where you wanted, there is no need to have same thing being displayed as part of the mod_gallery_random

DIfferent url scheme for album tree module - it seems to generate incorrect (non-embedded) links to the content. This happens regardless if SEF/SEO/mod_rewrite is enabled and I seen this behavior on mutiple installations. This is partially have to do with changes that were brought by G2 B3 / B4 (core:ShowItem -> core.ShowItem). Here's an example:
mod_album_tree: http://mambosite.com/&g2_view=core.Show ... itemId=327
correct link should be: http://mambosite.com/index.php?option=c ... itemId=327

getitems url module not working - an additional module (user contributted) fails to work in integration, you simply get redirected to the same page. Works just fine in the same G2 installation standalone.

commenting system - simply doesnt work, you get a redirection back to the originating page. This is with Comments module published and feature working in standalone installation

 
uberdroog

Joined: 2005-08-08
Posts: 1
Posted: Mon, 2005-08-08 07:05

I know my full path is correct.

Full Path - /home/uberdroo/public_html/Mambo/gallery2/

With or without the trailing slash I get the same message.

Error -= Full path to Gallery2 is inorrect! ( spelling mistake not mine :)

Mambo and gallery2 both work fine with this path I am not sure what I am doing wrong. Any idea's?

 
RSGracey

Joined: 2005-08-09
Posts: 3
Posted: Tue, 2005-08-09 16:01

I finally followed all the suggestions in this discussion, and I got the file paths and options set so that no errors pop up. (I wonder that if you have to have these options set just so to avoid errors, then how can they be "options?")

Anyway, now I am getting the following error when I click on the Mambo component menu: Components>Gallery 2>Album Management

Quote:
Notice: Undefined variable: itemId in /Library/WebServer/Documents/mambohio/administrator/components/com_gallery2/admin.gallery2.php on line 485

Do you have any idea what this is about?

Stephen

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Tue, 2005-08-09 17:12

RSGracey,

this fixed, in next version, no problems just a notice.

regards,
Michiel

 
RSGracey

Joined: 2005-08-09
Posts: 3
Posted: Tue, 2005-08-09 19:37

Yes, but when I choose "Album Management," I only get that warning and nothing else. I have no way to add albums.

Stephen

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Tue, 2005-08-09 20:30

RSGracey,

you can't add album there, you that at the front-end. or with a remote controller.

regards,
Michiel

 
delebre

Joined: 2004-09-08
Posts: 9
Posted: Wed, 2005-08-10 11:08

Hi all, just thought I would throw in my 2 cents..

I was having the same problem about the paths.. here is what worked for me:

Full Path to Gallery G2: /home/bthranco/public_html/Gallery/
Relative path to Gallery G2: ../Gallery
Path to Mambo: /Mambo/

 
vinh

Joined: 2005-08-10
Posts: 16
Posted: Wed, 2005-08-10 20:46

I have my G2 RC1 installed and it runs fine. I've put it under the main CMS folder of Mambo. I'm trying to configure the Gallery Component Settings and it's complaining that "the Full path to Gallery2 is inorrect!". I don't know what to make of it. Is this the full path from the root directory of the webserver and not the http://.../ path?

 
rasgar

Joined: 2005-08-11
Posts: 5
Posted: Thu, 2005-08-11 13:33

Ok I seem to have a different issue then everyone else. I can't seem to view my pictures via the component in mambo but can see them fine when i link directly to g2.

Link to gallery: http://www.allenfamilyonline.us/gallery2/main.php

Link to mambo: http://www.allenfamilyonline.us/mambo/index.php?option=com_gallery2&Itemid=31

Everything else seem to work fine with user managment and such but can't figure out why it does not see them

Full path to gallery is /home/allenfam/public_html/gallery2/
Full path to mambo is /home/allenfam/public_html/mambo

When I click on a picutre in mambo I go to this URL:

http://www.allenfamilyonline.us/mambo/v/testalbum1/

When I click on a picture in gallery I go to this URL:

http://www.allenfamilyonline.us/gallery2/v/testalbum1/?g2_GALLERYSID=d52c1baccd172dc1636447a8347df09d

My question with that is what is the "v" directory? When I browse my directories (with hidden files showing) /v/ does not exsist.

Also of note if this matters is my g2data directory is outside my webroot for security per the g2 installation suggestion. But again everything works fine in g2. I just have broken picture links inside mambo via the com_gallery2 component.

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Thu, 2005-08-11 14:16

rasgar,

you have short urls enabled, not yet supported.

regards,
Michiel

 
vinh

Joined: 2005-08-10
Posts: 16
Posted: Thu, 2005-08-11 15:13

I have this same problem where the images don't show up in the component in mambo but shows up fine in the standalone G2 RC1. How do you turn off the short urls if it is enabled?

 
rasgar

Joined: 2005-08-11
Posts: 5
Posted: Thu, 2005-08-11 15:15
vinh wrote:
I have this same problem where the images don't show up in the component in mambo but shows up fine in the standalone G2 RC1. How do you turn off the short urls if it is enabled?

HEHE you beat me to that question. Not sure where that setting is. Sorry 2week old NEWB to websites.

 
rasgar

Joined: 2005-08-11
Posts: 5
Posted: Thu, 2005-08-11 15:22
michiel_1981 wrote:
rasgar,

you have short urls enabled, not yet supported.

regards,
Michiel

If your talking under mambo admin global admin ---> SEO and search engine friendly url's my box is checked NO.

So if that is where you enable it mine is not enabled.

 
vinh

Joined: 2005-08-10
Posts: 16
Posted: Thu, 2005-08-11 15:50
vinh wrote:
I have this same problem where the images don't show up in the component in mambo but shows up fine in the standalone G2 RC1. How do you turn off the short urls if it is enabled?

Also, the links in the component G2 don't work. It just takes you to MY mambo home page.

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Thu, 2005-08-11 16:36

vinh,

please post your config settings for gallery2 component?

rasgar,
you have to disabled it in gallery2 not in mambo.

regards,
Michiel

 
rasgar

Joined: 2005-08-11
Posts: 5
Posted: Thu, 2005-08-11 16:44
michiel_1981 wrote:
vinh,

please post your config settings for gallery2 component?

rasgar,
you have to disabled it in gallery2 not in mambo.

regards,
Michiel

Thanks yeah I figured that out right now I am trying to figure out where it is. I can't find the line in configuration.php under gallery 2. Still searching gallery 2 and forums to find out where.

 
rasgar

Joined: 2005-08-11
Posts: 5
Posted: Thu, 2005-08-11 16:50

Duh! I am such a newb. Found it. Thanks alot for being patient with me.

 
vinh

Joined: 2005-08-10
Posts: 16
Posted: Thu, 2005-08-11 19:04
michiel_1981 wrote:
vinh,

please post your config settings for gallery2 component?

regards,
Michiel

 
bicho44
bicho44's picture

Joined: 2005-08-11
Posts: 5
Posted: Thu, 2005-08-11 19:54

Why its so difficult to config this component?

Why the fields are wiped out everytime you save the Gallery Configuration?

Why the component dosent take the path to mambo from the Mambo configuration?

Why im yelling?

Why im talking to myself at loud?

Why, Why, why :evil: :P

 
vinh

Joined: 2005-08-10
Posts: 16
Posted: Thu, 2005-08-11 20:21

I just notice that I can't log directly into my G2 anymore. This is the message I get now.

"An error has occurred.

Back to the Gallery
Error Detail -
Error (ERROR_PERMISSION_DENIED) :

* in modules/useralbum/UserAlbum.inc at line 55 (gallerystatus::error)
* in main.php at line 176 (useralbumcontroller::handlerequest)
* in main.php at line 90
* in main.php at line 82"

I did a sync of the users from mambo and G2 last night; and 2 of the names for some reason show "name is not on G2" and does not sync it. All other names sync even if they are not on G2.

 
vinh

Joined: 2005-08-10
Posts: 16
Posted: Fri, 2005-08-12 01:29

I've solved all of the G2 component problem and everything is running well.
Lesson learned here is:

"Just install what you need. Don't go and install everything on the list, un less you know what it does and can configure it yourself."

Just one glitch that I see when using Firefox to browse the G2 component.

When I go into the G2 component, it changes the browser character encoding to utf-8. This messes the display of some of the fonts on my site. When you go out of the G2 component, it reverts back to ISO-8859-1. Anyone know why it changes the character encoding when it goes into G2 component?

http://bhdgdptcalifornia.com/CMS/

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Fri, 2005-08-12 08:55

vinh,

I have it as a bug, will fixed this when i have time.

regards,
Michiel

 
vinh

Joined: 2005-08-10
Posts: 16
Posted: Fri, 2005-08-12 11:01

Thanks Michiel.

Right now I will just use the stand alone right now untill that is fix.

 
mgs1975

Joined: 2005-08-17
Posts: 1
Posted: Wed, 2005-08-17 14:33
KAC wrote:
How to set up com_gallery2* for the first time.

Therefore, first enter the "Full Path to Gallery G2:" ONLY and nothing else then hit "save".

If the Full path to Gallery G2 is set wrong you will get an error stating the Full path to Gallery G2 is incorrect..

im using _com 2.06 and gallery from the site Michel mentioned (version 1+) from 16 august. i use mambo 4.5.3.
i installed gallery2, but after i installed the component and typing the full path i do not get any error message. just blank lines. any thoughts?

 
p51d78th

Joined: 2005-07-18
Posts: 6
Posted: Fri, 2005-08-19 04:53

I have G2 RC 1 with com_gallery2_v2.0.6
i have mambo in www.mysite.com/main and g2 in www.mysite.com/gallery2
G2 installed and is running fine
for the paths portion of the setup i use
//home/username/public_html/gallery2/
../gallery2/
once i do that it says path to mambo is incorrect. i have tried doing
/
/main/
./main/
../main/
and none of those are right
any ideas would be greatly appreciated

 
vinh

Joined: 2005-08-10
Posts: 16
Posted: Fri, 2005-08-19 11:24

Try /home/username/public_html/gallery2/

 
p51d78th

Joined: 2005-07-18
Posts: 6
Posted: Fri, 2005-08-19 18:20

Sorry the absolute and relative paths to G2 are correct
it is the path to mambo that is causing the problem.

 
buglerroller

Joined: 2005-07-25
Posts: 28
Posted: Fri, 2005-08-19 19:03

Not sure if its been mentioned but has anyone noticed the need to rebuild thumbs/images outside of mambo integration which takes a while versus when in mambo? ive had to run it through twice for a succesfull run...

12mins left, hope this fixes wmv files using ffmpeg and thumbnail auto create..

 
vinh

Joined: 2005-08-10
Posts: 16
Posted: Sat, 2005-08-20 03:28

p51d78th

I think the path to mambo is where you would see mambo through the URL.

Usually / if it's in /public_html or
/mambo if it's in /public_html/mambo.

 
p51d78th

Joined: 2005-07-18
Posts: 6
Posted: Mon, 2005-08-22 13:30

it is in public_html/main

which is why i have tried using
/main
/main/
and any other possible combination i could think of.

i just remebered i received an error while installing the com for gallery in mambo

Warning: Invalid argument supplied for foreach() in /home/ncsuxa/public_html/main/administrator/components/com_gallery2/install.gallery2.php on line 184

Warning: embed(embed.php): failed to open stream: No such file or directory in /home/ncsuxa/public_html/main/components/com_gallery2/userfuncs.php on line 64

Fatal error: embed(): Failed opening required 'embed.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ncsuxa/public_html/main/components/com_gallery2/userfuncs.php on line 64

i looked in the install folder and the embed.php was not there so i am unsure of what it is doing

 
lukasz

Joined: 2004-03-20
Posts: 1
Posted: Tue, 2005-08-23 13:46

I have exactly the same problem as p51d78th
Can anyone help?

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Tue, 2005-08-23 14:27

lukasz and p51d78th,

during install it couldn't found the embed.php from gallery2 so it should be in your gallery2 directory.

the real problem is getting the right mambo path, i think it should be main/ in your case.

regards,
Michiel

 
burner
burner's picture

Joined: 2005-03-21
Posts: 8
Posted: Tue, 2005-08-23 19:10

Error (ERROR_BAD_PATH)
in modules/core/classes/GalleryDataItem.class at line 129 (gallerystatus::error)
in modules/core/classes/GalleryUnknownItem.class at line 77 (gallerydataitem::create)
in modules/core/classes/helpers/GalleryItemHelper_medium.class at line 203 (galleryunknownitem::create)
in modules/core/classes/GalleryCoreApi.class at line 1486 (galleryitemhelper_medium::additemtoalbum)
in modules/core/ItemAddFromBrowser.inc at line 89 (gallerycoreapi::additemtoalbum)
in modules/core/ItemAdd.inc at line 94 (itemaddfrombrowser::handlerequest)
in main.php at line 176 (itemaddcontroller::handlerequest)
in main.php at line 90
in modules/core/classes/GalleryEmbed.class at line 155
in /home/xxx/public_html/aviators/components/com_gallery2/gallery2.php at line 91 (galleryembed::handlerequest)
in /home/xxx/public_html/aviators/index.php at line 182

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Tue, 2005-08-23 19:31

burner,

that's not very helpfull, if you would provide some more info, maybe i could help.

regards,
Michiel

 
burner
burner's picture

Joined: 2005-03-21
Posts: 8
Posted: Tue, 2005-08-23 19:38

Michiel,

Thanks for your interest. What additional info could I get you as that's the error meesage.

Cheers,

Neil
"Burner"

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Tue, 2005-08-23 19:53

burner,

where it happens is a good starter, what you are trying todo or go to.

regards,
Michiel

 
burner
burner's picture

Joined: 2005-03-21
Posts: 8
Posted: Tue, 2005-08-23 20:29

Trying to upload jpgs into a sub album

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Tue, 2005-08-23 20:32

burner,

how, what methode are using? be more specifiek.

regards,
Michiel

 
burner
burner's picture

Joined: 2005-03-21
Posts: 8
Posted: Tue, 2005-08-23 20:49

I go into my album, select edit, add items, use the add items w/ web browser, select a couple of files & thats it.

I'm using RC1

 
p51d78th

Joined: 2005-07-18
Posts: 6
Posted: Wed, 2005-08-24 04:59

michiel

main/ didn't work either
question where is the path to mambo supposed to be from?
is it relative to gallery2 or somthing else.

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Wed, 2005-08-24 06:26

p51d78th,

http://www.dom.com/mambo/index.php?option=com_gallery2&etz....

that's what it should be.

regards,
Michiel

 
burner
burner's picture

Joined: 2005-03-21
Posts: 8
Posted: Wed, 2005-08-24 07:08

Full Path to Gallery G2 - public_html/aviators/gallery2/

Relative path to Gallery G2: - ./gallery2

Path to Mambo: /

embedUri: /index.php?option=com_gallery2&Itemid=65

 
trompete
trompete's picture

Joined: 2005-08-29
Posts: 3
Posted: Mon, 2005-08-29 05:49

Hi Michiel,

When are you planning on supporting short URLs? This feature is very important to me and others who want their sites to be spidered by search engines.

Brent

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Mon, 2005-08-29 10:24

The better question might be *if* he plans on supporting them, or perhaps if *YOU* plan on adding that feature yourself for everyone who needs it!? :)

 
jawalker

Joined: 2005-08-29
Posts: 2
Posted: Mon, 2005-08-29 13:59

I also cannot get the Mambo Path to be recognised

The full path to gallery 2 is OK
/kunden/homepages/29/d21665901/htdocs/Gallery2/

The relative path to Gallery 2 is OK
../Gallery2

The path to Mambo is not correct no matter what I try
It is installed at http://www.hqdcswatc.org.uk/cms

What should I be entering into the field for it to be recognised. Any help greatly appreciated.