Mambo + G2 Document

michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Thu, 2005-07-07 20:19

Mambo+G2 FAQ and Document

This topic will function as a gathering of info and putting together a FAQ and Documenten on embedding Gallery2 into Mambo. This will also contain a help file on the component and detailed description what everything means and does!

For this I ask you all to post questions and their answers if you know them, that are commonly ask. You also can contribute tutorial on many subjects regarding G2+mambo. Example: how to load different templates for different sub albums or how to link to a sub album. I’ll gather all info and make links here in this first post and ship the most up to date FAQ and Document with the component for back-end viewing.

So please help make this the most easily and user-friendly Gallery component Mambo can have!

FAQ

  1. Where can I find the most resent files?

Table of contents

  1. Install procedure:
    • The actual install.
    • Install messages explained.
    • Configuration explained.
  2. Back-End overview
  3. Front-end overview
    • css+template adjustments
    • Sidebar adjustments
  4. Modules
    • mod_gallery_block
    • mod_album_tree
    • mod_gallery_stats(not relaised)
    • mod_gallery_comment(not relaised)
    • mod_gallery_lastvisit(not relaised)

[/]

[/]

[/]

[/]

[/]

[/]

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Thu, 2005-07-07 20:19
  1. Where can I find the most resent files?
    @ In this post: Mambo + G2 or at mamboforge.net. I’ll keep both in sync and to the latest release. I’ll will work on the naming convention ;)

[/]

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Thu, 2005-07-07 22:13

chapter: Back-end overview, component version 2.0.6 or higher

Tools:
You have 3 tools you can use here and most likely 2 of them you will use after install, because they sync your mambo user base and groups to Gallery2. The first is quit important if you want your mambo users to view as users and not as guests. If you don’t do this, users that haven’t visited the gallery2 component will not exist in the gallery2 database and strange things will happen with modules outside the component page.
The last tool is there to remove the user groups if they are useless or you just want to get rite of them.

Using Mambo groups:
I’ll explain a bit about how you can use the user groups from mambo.
First, when you have synced the groups, the groups won’t have any specific rights attached to them. So don’t you worry about all those administrators you just synced.
Second, The users are synced only to there highest group they have access to. So they only exist in 2 groups: highest mambo group and “Registered Users

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Wed, 2005-07-13 16:00

chapter: Back-end overview, component version 2.0.6 or higher

User management

Here you will see an overview of the entire mambo user base and their status with in G2. You can see if mambo users are blocked and too which group they belong. It will also detect G2 sync problems, here is table with all the error messages and what they mean.

  1. “User is Blocked!
 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Wed, 2005-07-13 16:01

chapter: Back-end overview, component version 2.0.6 or higher

Album Management

An overview of your gallery is given here, in a tree form. It will give you some data like: Last modified, warnings and album name. The warnings are self-explaining and can be handled by clicking on the album name it belongs to. This will bring up more specifics about that album and you can adjust title, keywords, summary and description. It will also show the current album highlight. Further more it will show links to parent album, child albums and a link to the owner of this album.

 
KAC

Joined: 2004-12-01
Posts: 164
Posted: Wed, 2005-07-20 13:36

How to set up com_gallery2* for the first time.

Keep in mind the component is designed to confirm the setting before proceeding.

Often times when users are setting up the component for the first time, they enter all the values at once and get confused as to what is wrong.

Follow this process one step at a time until you have your configuration complete.

During the setup you will have some optional setting to configure as well as some REQUIRED entries to make. The following three items will be required in order to proceed:

1. Full Path to Gallery G2:
2. Relative path to Gallery G2:
3. Path to Mambo:

The component is designed to confirm these setting before proceeding.

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.

If the Full path to Gallery G2 is set correctly, you will NOT get the error stating the Full path to Gallery G2 is incorrect. Instead, the component will look at the next item (Relative path to Gallery G2:) and notice it is empty and give you an error stating "Relative path to Gallery G2 is incorrect". You can now proceed to setting the Relative path to Gallery G2.

Now that the Full path to Gallery G2 is correct and you see error "Relative path to Gallery G2 is incorrect", enter the Relative path to Gallery G2 and hit "Save".

If the Relative path to Gallery G2 is set wrong you will get an error stating the Relative path to Gallery G2 is incorrect. Try entering the correct setting and hit "save".

If the Relative path to Gallery G2 is set correctly, you will NOT get the error stating the Relative path to Gallery G2 is incorrect. Instead, the component will look at the next itme (Path to Mambo:) and notice it is empty and give you an error stating "Path to Mambo is incorrect". You can now proeed to setting the correct Path to Mambo.

Now that the Full path to Gallery G2 and the Relative path to Gallery G2 are correct and you see error "Path to Mambo is incorrect", enter the Path to Mambo and hit "Save" and repeat until it's set correctly.

Now you can chose your other options and you're done.

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Wed, 2005-07-20 13:54

KAC,

thxs!

michiel

 
empath

Joined: 2005-07-21
Posts: 3
Posted: Thu, 2005-07-21 14:43

I'm having a problem setting it up.

I only barely know php, but i kinda have tracked down the problem.

I have gallery installed under http://www.mysite.com/mambo/gallery2

The only relative path to gallery it would accept was ./gallery2
the only path to mambo it accepts is /mambo/
it generates an embeduri of /mambo/index.php? etc

When the site is embeded, the url of the galleries becomes http://www.mysite.com/mambo//mambo/index.php? etc

I don't know whether it's generating the embed url incorrectly or the testing the path to mambo incorrectly.

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Thu, 2005-07-21 16:49

empath,

what is your gallery2 core version?

did you download from http://galleryupdates.jpmullan.com/G2/

Regards,
Michiel

 
empath

Joined: 2005-07-21
Posts: 3
Posted: Thu, 2005-07-21 18:31

no, i didn't download it from there.

The version i have is gallery 2.0 beta 3, though.

 
empath

Joined: 2005-07-21
Posts: 3
Posted: Thu, 2005-07-21 18:42

I think the problem is the path to mambo.

it should just be . or /

but it will only let me put in /mambo/

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Thu, 2005-07-21 19:12

empath,

Can you give the url to your site, and you have to download from that url it is more up to date and fixes some path problems!!

Regards,
Michiel

 
savagecat
savagecat's picture

Joined: 2005-07-21
Posts: 2
Posted: Thu, 2005-07-21 23:48

Let's say that the path is correct, in my example:

/home/savagec1/public_html/components/com_gallery2

Yet it still give the "full path" error, even when the other path of /home/savagec1/public_html/administrator/components/com_gallery2 is given.

Edit to add:
Yes it's still able to find userfuncs.php in the Tools portion.

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Fri, 2005-07-22 05:15

savagecat,

hi the full path should piont to your gallery2 install, not the component install!

regards,
Michiel

 
savagecat
savagecat's picture

Joined: 2005-07-21
Posts: 2
Posted: Fri, 2005-07-22 10:23

Silly me, I thought installing the gallery2 component would actually install it.

So I ftp gallery2 and give it the full path of
/home/savagec1/public_html/gallery2 and /home/savagec1/public_html
...and both bomb.

 
bobbob1975

Joined: 2005-07-23
Posts: 2
Posted: Sat, 2005-07-23 07:32

Thanks for the mambo mods they have made my site much better.

On the random picture mod though when i install it makes the sidebars to larges so i have to scale the picture back to 120. the problem is not the size of the picture but the space around the picture does not decrease then you increase the size so it pushes the bar out making it larger, anywhere to change that?

Also where do i change teh border around it from blue to say black?

If you dont understand the first part my site is at www.piratesahoy.net

 
thomaswestin

Joined: 2005-07-23
Posts: 34
Posted: Sat, 2005-07-23 20:33

Hi,

I got the same issue

My setup is a clean install of
- mambo 4.5.2.3
- g2 beta 4
- g2 component v2.0.6

I point the full path to the g2 beta 4 directory /home/w/westin/www/g2

G2 is running OK at [url]westin.nu/g2[/url]
Mambo is running OK at [url]westin.nu/cms[/url]

I still get the "Full path to Gallery2 is inorrect!" message

What am I missing?

Thanks for any input
Kind regards,
Thomas

 
bobbob1975

Joined: 2005-07-23
Posts: 2
Posted: Sat, 2005-07-23 23:39

trailing "/" perhaps?

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Mon, 2005-07-25 11:20

savagecat,

don't understand your Q?

Regards,
Michiel

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Mon, 2005-07-25 11:22

bobbob1975,

this is css change, just look at the source and change this in the template css or mambo css.

thomaswestin,

try trailing slash as bobbob1975 pionts out report if this isn't working

Regards,
Michiel

 
speleo

Joined: 2005-06-14
Posts: 13
Posted: Mon, 2005-07-25 14:56

michiel_1981,

Your test site shows the Gallery 2 sidebar with the tree navigation. While I can get Gallery to do this natively I can't get the side bar to show it. I have seen a link to mod_album_tree in this thread but can't find it anywhere. Is this the answer to my quest?

Keep up the good work!

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Mon, 2005-07-25 15:31

speleo,

do you have the latest sidebar module installed?

regards,
Michiel

 
speleo

Joined: 2005-06-14
Posts: 13
Posted: Mon, 2005-07-25 16:09

I've got
Gallery 2 b4
mod_galleryside_v2.3.zip
com_gallery2_v2.0.6.zip
mambo 4.5.2

However I'm also seeing wierd stuff in that I can go into G2 native and change the [blocks] [album select] [selector type] and and nothing seems to happen. I'm running two sites and what works on one is not the same on the other. I need to do a bit more investigating to see if the issue is with the componenet, G2 or my brain.

 
speleo

Joined: 2005-06-14
Posts: 13
Posted: Mon, 2005-07-25 17:54

OK...I got my head around this now but still have an issue.

I had to go into the [display] [themes] [matrix] [Blocks to show in the sidebar] and turn on "Album Quick Links [DHTML]" to show the tree view in the G2 native sidebar.

Now when I go into [blocks] [album select] [selector type] and change the options I see the changes.

So it would seem that G2 works natively but the tree is lost when embedded. As far as I know I'm on the latest codebase:

Quote:
Gallery version = 2.0-beta-4 core 0.9.32
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, Thumbnail, ImageMagick
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-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5
mod_galleryside_v2.3.zip
com_gallery2_v2.0.6.zip
mambo 4.5.2

To see what I'm talking about here is the native G2 http://www.darencilau.co.uk/gallery2/main.php and the mambo embedded http://www.darencilau.co.uk/index.php?option=com_gallery2&Itemid=45.

Is this something to do with going to beta 4 or in my configuration?

 
thomaswestin

Joined: 2005-07-23
Posts: 34
Posted: Mon, 2005-07-25 23:27
michiel_1981 wrote:

try trailing slash as bobbob1975 pionts out report if this isn't working

Thanks a lot, the trailing slash solved it! I tried this at some stage also, but the problem is that when you hit save, the field is emptied. Then you get the next message about the relative path and the same thing there, hit save and the field is emptied. Easy to miss that the error message has changed when you have tried ten different ways already... Also with the mambo path.

Suggestion: Some info in the config form about a trailing slash would be good since pwd in putty etc doesn't give that. Also, if the fields could be verified in a step by step manner, as a wizard would help a lot, or at least some info about the above

Kind regards,
Thomas

 
thomaswestin

Joined: 2005-07-23
Posts: 34
Posted: Tue, 2005-07-26 00:06

Hi, me again, two more issues :)

1. User Management

G2 component is configured with the paths OK

Now in the User Management I get this info:

Quote:
1 Administrator Blocked admin Super Administrator User doesn't exist in G2

Note: The Blocked text is rendered white in my browser (Firefox 1.0) so I didn't see this until I copy/pasted the text here!

So I ran the Tools / Sync Users & Groups, no errors but I still got the same info in User Management as above

Also, how do I unblock a user?

2. Albums

When I go here I get this info:

Quote:
Input Array does not match ?: SELECT DISTINCT g2_AccessMap.g_accessListId FROM g2_AccessMap WHERE (g2_AccessMap.g_userId = NULL OR g2_AccessMap.g_groupId IN (1)) AND g2_AccessMap.g_permission & 1 =

What am I doing wrong?

Thanks,
Thomas

Quote:
 
jko

Joined: 2004-04-22
Posts: 34
Posted: Tue, 2005-07-26 10:52
thomaswestin wrote:
2. Albums

When I go here I get this info:

Quote:
Input Array does not match ?: SELECT DISTINCT g2_AccessMap.g_accessListId FROM g2_AccessMap WHERE (g2_AccessMap.g_userId = NULL OR g2_AccessMap.g_groupId IN (1)) AND g2_AccessMap.g_permission & 1 =

What am I doing wrong?

Thanks,
Thomas

I've been scratching my head with the integration for a few hours and I was seeing this error as well as not getting the pictures showing and the album links were wrong. It finally occurred to me to disable the url rewrite functions in G2 and it all came good including getting rid of the error you are seeing above.

I take it using url rewrite in combination with the mambo component is not allowed, or is there someting in the configuration that can be tweaked to allow it to work correctly?

John

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Tue, 2005-07-26 12:30

jko,

it can be done, just look at my demo site but, it's to complicated to explain at the moment, working hard to get it user friendly.

regards,
Michiel

 
thomaswestin

Joined: 2005-07-23
Posts: 34
Posted: Tue, 2005-07-26 21:44
jko wrote:
It finally occurred to me to disable the url rewrite functions in G2 and it all came good including getting rid of the error you are seeing above.
John

Hi,

OK I disabled the two boxes that were checked in G2 / URL Rewrite (it was Show Object and Download objects) -Is this the way to disable it correctly? I still get the error in the Mambo component / Album management.

Also, if anyone could please tell me (a G2/Mambo newbie) how to unblock a user (see my previous post). Thanks,

/Thomas

 
buddhaboa

Joined: 2005-07-29
Posts: 11
Posted: Sun, 2005-07-31 08:04

Hi there. I installed the Beta and the mambo components and all looks good. Your instructions for updating the mambo com are great and work perfectly. Now when I go to my gallery in the menu (like to Component) as the menu type it is embedded in a wrapper and not as pretty as your demo test site.

But I get an error as well. The pictures do not show up though the albums are there and wehn I click on an album, I get a path that does not exist:

http://www.mysite.com/v/snakes/IMG_0026.JPG.html

I am using 404SEF component but the same thing happens when i disable that component - so should not be the problem. Also the Gallery2 image block shows links to a photo but not the photo itself. When I click the link it opens the page above which does not exist.

The /v/ is NOT in my configuration.
The /snakes/ is the name of the album so that is cool.

Any ideas? Maybe is should be a differet type of menu link or it was not integrated corectly?

Cheers

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Sun, 2005-07-31 08:12

buddhaboa,

short urls, are giving problem, try setting it off for gallery2 in mambo and in gallery2.
I managed to get it working on 2 different sites, but it was a pain in the butt. I'm writing instructions on this until and a good clean configuration.

hints:
look at your embedded gallery2 short urls settings!
make sure the gallery2 rules come in front off mambo rules
debug and rewrite any errors in the rules

[edit]
Don't use wrapper, use component link!

goodluck,
Michiel

 
buddhaboa

Joined: 2005-07-29
Posts: 11
Posted: Sun, 2005-07-31 08:51

michiel_1981

Just took short urls off in Gallery setup and it works now for displaying the pictures and links. Looks quite good :)

On the gallery2 image block I get teh following errors in my mambo site:

Fatal G2 error
Here's the error from G2:
Error (ERROR_STORAGE_FAILURE)

    * in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1166 (gallerystatus::error)
    * in modules/core/classes/GalleryStorage.class at line 245 (mysqldatabasestorage::search)
    * in modules/core/classes/Gallery.class at line 223 (gallerystorage::search)
    * in modules/imageblock/classes/ImageBlockHelper.class at line 423 (gallery::search)
    * in modules/imageblock/classes/ImageBlockHelper.class at line 336 (imageblockhelper::_iscached)
    * in modules/imageblock/classes/ImageBlockHelper.class at line 209 (imageblockhelper::fetchviewabledata)
    * in modules/imageblock/classes/ImageBlockHelper.class at line 89 (imageblockhelper::_addblock)
    * in modules/core/classes/GalleryEmbed.class at line 738 (imageblockhelper::loadimageblocks)
    * in /home/buddhab/public_html/modules/mod_gallery_block.php at line 57 (galleryembed::getimageblock)
    * in /home/buddhab/public_html/includes/frontend.html.php at line 231
    * in /home/buddhab/public_html/includes/frontend.php at line 122 (modules_html::module2)
    * in /home/buddhab/public_html/templates/test1/index.php at line 57
    * in /home/buddhab/public_html/index.php at line 221

	
Site Admin
Gallery

Advanced Search
add album add comment add items edit album edit captions edit permissions view slideshow
Random Image
IMG_0026
IMG_0026

Date: 07/30/2005 Views: 2

[/img]

 
buddhaboa

Joined: 2005-07-29
Posts: 11
Posted: Sun, 2005-07-31 09:18

Hi there

I got the URLs to work given your feedback. Just tried integrating the gallery2 sidebar and I get this error when I go to my gallery:

Error Detail -
Error (ERROR_STORAGE_FAILURE)

    * in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1411 (gallerystatus::error)
    * in modules/core/classes/GalleryStorage.class at line 365 (mysqldatabasestorage::updatemapentry)
    * in modules/core/classes/interfaces/GalleryItemAttributesMap.inc at line 159 (gallerystorage::updatemapentry)
    * in modules/core/classes/helpers/GalleryItemAttributesHelper_simple.class at line 52 (galleryitemattributesmap::updatemapentry)
    * in modules/core/classes/GalleryCoreApi.class at line 1106 (galleryitemattributeshelper_simple::incrementviewcount)
    * in modules/core/ShowItem.inc at line 107 (gallerycoreapi::incrementitemviewcount)
    * in modules/core/classes/GalleryTheme.class at line 645 (showitemview::loadtemplate)
    * in modules/core/classes/GalleryView.class at line 285 (matrixtheme::loadtemplate)
    * in main.php at line 285 (showitemview::doloadtemplate)
    * in main.php at line 87
    * in modules/core/classes/GalleryEmbed.class at line 155
    * in /home/buddhab/public_html/modules/mod_galleryside.php at line 20 (galleryembed::handlerequest)
    * in /home/buddhab/public_html/includes/frontend.html.php at line 231
    * in /home/buddhab/public_html/includes/frontend.php at line 122 (modules_html::module2)
    * in /home/buddhab/public_html/templates/test1/index.php at line 57
    * in /home/buddhab/public_html/index.php at line 221

System Information
Gallery version 	2.0-beta-4+
PHP version 	4.3.11 cgi
Webserver 	Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a PHP-CGI/0.1b
Database 	mysql 4.0.25-standard
Operating system 	Linux unix15.vizaweb.com 2.4.21-27.0.4.ELsmp #1 SMP Sat Apr 16 18:43:06 EDT 2005 i686
Browser 	Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

Both the image block and the sidebar give errors in my mambo site. The Com Link now works though :P

 
michiel_1981

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

buddhaboa,

put your debug-mode to "buffered" in the gallery2 config file.
paste the extra info you receive after this in http://gallery.pastebin.com and place the link to the pastebin here.

thxs,
Michiel

 
buddhaboa

Joined: 2005-07-29
Posts: 11
Posted: Mon, 2005-08-01 12:11

Thanks michiel_1981

I did the buffered option and pasted the output into the bin. Here is the link:
http://gallery.pastebin.com/326694

I hope you can figure out a fix for this...I am sure it is something I did wrong :)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-08-01 14:02

buddhaboa, 1. there's no error in this pastebin entry. it's just a lot of debug output, but no error and certainly not the same as the one you had before.
2.please preserve the formatting when pasting the error. it's very hard to read if it's just a single huge line.

 
buddhaboa

Joined: 2005-07-29
Posts: 11
Posted: Mon, 2005-08-01 15:21

Good Point Valiant,

Here is the error I get with the Gallery2 Sidebar http://gallery.pastebin.com/326828

Here is the error I get with the Mambo Gallery2 Image Block: http://gallery.pastebin.com/326832

Final problem is the gallery2 looks very small and compressed inside my mambo - I looked at teh various themes but cannot get it to appear as nice as with the Demo Site that michiel_1981 has is integrated on.

Does Gallery2 NEED to be in the same Database as my mambo instance? Currently it is in a separate database...

 
michiel_1981

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

buddhaboa,

gallery2 doesn't need to be in same database, but it is preferred! It will be faster because the components and modules can use the database engine from mambo and a second engine isn't started.

looks and feel of demo site, i have changed the matrix theme and did some css changes to make it work this way. Thxs for the complement ;)

regards,
Michiel

 
buddhaboa

Joined: 2005-07-29
Posts: 11
Posted: Mon, 2005-08-01 17:24

Hi Michiel

I will work on the matrix theme and try to make it look as nice as you did - unless you can share what you have done already?

Any hints on what I did wrong to generate the Errors in the Gallery2 Image Block and Gallery2 Sidebar?

 
aravot
aravot's picture

Joined: 2005-03-05
Posts: 61
Posted: Tue, 2005-08-02 06:30

Michiel,

I too interested in your blue theme I am using the same 247portal blue template for Mambo, (I hope you share with us)

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Tue, 2005-08-02 06:45

aravot,

pm me your e-mail adress and i'll send i to you.

regards,
Michiel

 
buddhaboa

Joined: 2005-07-29
Posts: 11
Posted: Tue, 2005-08-02 09:07

Anyone have a solution to the Error in the sidebar and the image block that I am getting? I am not sure what I might have done wrong and wonder if reinstalling with fix it.

 
thomaswestin

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

I solved my problems myself. I had not to setup G2 component correctly (mirror users and the two following boxes need to be set to Yes...)

/Thomas

 
Ego_Eime

Joined: 2005-08-04
Posts: 2
Posted: Thu, 2005-08-04 00:24

----edit---
sorry, I just realized I should have posted this in another thread...

Hey all, glad I finally found this thread as I have been researching this problem for quite a while now--here it is: thanks in advance!
After installing gallery 1.5 with mambo 4.5.2 and realizing that exec() was permanenlty disabled on my hosting server--
I unistalled g1.5 and installed gallery2 core 0.9.32 with mambo component 2.0.6.B.1
-outside of mambo, ie, directly from the url, i can upload and view pics fine--when I link to G2 from Mambo, it shows fine, but the uploaded pics dont show, yet while it is loading the page, it shows the frame of the pic, and then shrinks down to the text--
The only errors I seemed to be getting is when I went to the "Album Management" part of 'components' in mambo-I got something like this:
nput Array does not match ?: SELECT DISTINCT g2_AccessMap.g_accessListId FROM g2_AccessMap

but then, it just stop producing that error, yet I still cannot see the pics on the frontend of mambo--any ideas?
I hope I was short, eloquent, yet succint--Thank you

btownyouth.com
Ego Eime

 
tomSWE

Joined: 2005-08-04
Posts: 4
Posted: Thu, 2005-08-04 15:11

Hi!

I have just installed Gallery2 beta4 and it works great.
Now I want to integrate it with mambo but get error on.Full Path to Gallery G2. I have tried several combination but I'm not really shure about what the Full path is.
I have installed it in c:/inetpub/www/gallery2 folder, and the g2data folder is in c:\g2data.

Witch one is the Full Path to Gallery G2: ????? :-?

Please help... / Tom

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Thu, 2005-08-04 15:15

tomSWE,

the first, g2data contains the photos, etz the first contains the program.

regards,
Michiel

 
smilepolice

Joined: 2005-08-04
Posts: 1
Posted: Thu, 2005-08-04 19:24

Can some please help me find the path to what this is asking

1. Full Path to Gallery G2:
2. Relative path to Gallery G2:
3. Path to Mambo:

My ftp to the compent is
ftp://smilepolice.id.au/public_html/components/com_gallery2/

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Fri, 2005-08-05 06:50

smilepolice,

what is your full server path to mambo?
What is your full server path to gallery2?

these are not ftp paths!

regards,
Michiel

 
tomSWE

Joined: 2005-08-04
Posts: 4
Posted: Fri, 2005-08-05 07:14

sorry but my confusion remains ;)

Is the full server path to Gallery 2 = http://blabla.com/gallery2/main.php ????

 
michiel_1981

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

tomSWE,

nope, that is your URL not a server path
your server path should /home/smilepolice.id.au/public_html/ or something

you can find your server path to mambo in your mambo config file!
just post that one and tell me in what directory you place your gallery2 install(not the component!!).

regards,
Michiel

 
tomSWE

Joined: 2005-08-04
Posts: 4
Posted: Fri, 2005-08-05 09:06

michiel_1981

I guess this is what u want.
Just posted the first 10 lines.
The Gallery2 installation is c:\Inetpub\www\gallery2

This site is running on a local network.
The server is as u can see a Windows Web Server
---code----
<?php
$mosConfig_offline = '0';
$mosConfig_host = 'localhost';
$mosConfig_user = '*****';
$mosConfig_password = '*****';
$mosConfig_db = 'mambo';
$mosConfig_dbprefix = 'mos_';
$mosConfig_lang = 'english';
$mosConfig_absolute_path = 'C:/Inetpub/www/mambo';
$mosConfig_live_site = 'http://localhost/Mambo';
$mosConfig_sitename = 'testsite';
---end code----