Mambo / Joomla! + G2
Sakim
Joined: 2005-07-04
Posts: 2 |
![]() |
I tried that Michiel, but it has no effect: The page is in English, with the eexception of "Dit is de startpagina van uw Gallery" Thanks for pondering tho Greets |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
Sakim, also after several refreshes? grtz, [edit] language isn't changed by the component so owner/date/view are in english if default language is set to "none" [edit2] these settings seem to work for me. |
|
cocaindotmy
![]()
Joined: 2005-06-22
Posts: 2 |
![]() |
i already install all the needed files...but seems no pic show in my mambo, but it show in my standalone g2 gallery....please help me out? |
|
repute
Joined: 2005-06-27
Posts: 21 |
![]() |
You didnt'define ther path like it should you forgot to add /v2 |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
Language problem Everybody who has language problems, make sure you have these 2 settings correct in mambo: global >> locale grtz, |
|
cocaindotmy
![]()
Joined: 2005-06-22
Posts: 2 |
![]() |
repute wrote:
You didnt'define ther path like it should you forgot to add /v2 Oh my god, thank you...it fix my problem :oops: And I got another question to ask that i log on to my account with mambo, but my account seems didnt appear when i see the gallery. May i know how to fix it? Thx...i need to fix it to let people can add a comment to all the pictures :o |
|
spoco2
Joined: 2005-06-30
Posts: 9 |
![]() |
Hi all, Firstly, I'm getting pretty close to getting what I want out Gallery 2 and Mambo (I've worked with Mambo before and both love and hate it!) I have another question in regards to this component... and that's what are the parameters, if any, that can be used with it when defining a component menu item? Reason being is this, I'm wanting to have different Mambo templates applied based on which album (With many sub albums) is being viewed. So: If you enter the galleries via different menu items from the mambo menu, then you'll end up with a different template, that'll hold as long as you're viewing the albums under that main album. eg. Main Menu So, while you're looking at the galleries as a whole it keeps the site template, but if you entered via one of the others, then you've been directed to a sub-gallery and have a different template based around that gallery. Templates can only be assigned at a component menu item level, which is why I can't just make a link to the sub galleries. Also, I would prefer that the initial gallery is not the main root gallery I have, but start in one of the other top level ones I have. Anyone know how to do this with G2 and Mambo? |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
spoco2, 1) link to none root gallery go to the none root album as guest and copy the url starting with index.php?option=etz 2) different templates by mambo templates switch is managed by itemid and so what you ask can't be done unless, you code it into your template or i build the component in such a way that it will except different Itemids and this will be something i add after it is more stable and all the bugs are out. So this will take some time. grtz, |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
spoco2, different templates is possible, i didn't have to recode for that. My mistake Language Update! grtz, |
|
skiing3151
Joined: 2005-07-11
Posts: 3 |
![]() |
I'm sorry, I'm sure you've answered this before but i am desperate and i cannot find the solution in any of the forums i have searched. The url to my mambo site is http://mhs.mead.k12.wa.us/~meadband/ . The url to my G2 install is http://mhs.mead.k12.wa.us/~meadband/gallery2 . Both are a fresh install. I am running on a freebsd4.2, apache2, and mysql 4.1.4. Now, when i go to http://mhs.mead.k12.wa.us/~meadband/index.php?option=com_gallery2 it is embedded but no pictures show up. Now, when you click the nav link in G2 anywhere from here it takes me to the url of http://mhs.mead.k12.wa.us/~meadb//index.php?option=com_gallery2&lots of options ...... NOTICE how it takes ~meadband and is now ~meadb/ ? What causes this and what causes my pictures not to show? Gallery 2 works great on its own! Also a third question. Using gallery remote, the galleries are read only. permissions are set for read write for all on all data files for G2. If you need more information, just let me know. I am very able and wish your help. |
|
jeffreyd00
Joined: 2004-08-20
Posts: 2 |
![]() |
Hi, I had the same exact problem. You will need to edit your config.php file in the gallery component in Mambo. path should be *mamboinstall*/administrator/components/com_gallery2/config.php For some reason it truncated my path too. Take a look inside the file. It is pretty seld explainatory. Hope that helps. |
|
skiing3151
Joined: 2005-07-11
Posts: 3 |
![]() |
perfect, that did the trick. Thank you. Also, does anyone know why the gallery would be read only from gallery remote? |
|
leadwolf
Joined: 2005-07-11
Posts: 2 |
![]() |
Help? I'm testing Mambo+G2 as subfolders on my site: Both work fine by themselves of course, but the intergration does not. Here's my debug info: tablePrefix=>g2_ I can see the Gallery when I click the link, but if I try to click an album, it goes way bad. One thing of interest is the embedPath shows mamb instead of mambo. When I click on the album I get mamb//index... I've tried some of the other fixes, but I'm still a no-go at this station. Thanks in advance, |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
leadwolf, your embedPath is wrong(/mambo/) and you should update your gallery to at least 0.9.25 grtz, |
|
mackworth
Joined: 2005-07-11
Posts: 8 |
![]() |
I am not sure what the full path/ relative path stuff is. I have files on a virtual host in /www/u/username/htdocs/gallery Running latest nightly. I can see the module on the site but there is just x where the image is supposed to be, and clicking the image gives me the wrong link. It does mysite.com/index... instead of mysite.com/mamb/index... the site is mike-m.org and I am running core 0.9.31 with 2.0.5 of the mambo integration. |
|
leadwolf
Joined: 2005-07-11
Posts: 2 |
![]() |
Thanks Michiel! I got it upgraded and had to do some more research, but I finally got it. I didn't realise there were "nightly" updates. That was the majority of my issue. You 'da man.' Keep up the good work. Thanks, |
|
mosey
Joined: 2005-07-14
Posts: 19 |
![]() |
Sorry in advance for this newbie post. I have installed a version of gallery2 thats a few days old along with the mambo integration and received the same error as leadwolf. However, being new to cvs nightly builds - apart from reuploading the entire zip file content (8mbs) to the server is there another method of upgrading gallery? Thanks! |
|
malthazor
Joined: 2003-04-03
Posts: 33 |
![]() |
I had G2 installed and integrated with the original beta-3. I decided to check out progress with the latest code and have an issue. Just for the record I completely cleaned out G2 (database, files etc) and uninstalled components and modules relating to G2. I grabbed a snapshot Gallery version = 2.0-beta-3+ core 0.9.31 Install, user sync and etc worked. However I can't get gallery2 to hide the sidebar (even when the option is set). Plus every time I go into gallery2 I get these errors at the top of my browser: Quote:
Warning: Cannot modify header information - headers already sent in /srv/www/htdocs/index.php on line 194 G2 standalone works fine. Browsing the G2 galleries works fine except for the annoying errors and not being able to hide the sidebar. Any help on were to start looking would be greatly appreciated. |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
malthazor, sidebar problem will be fixed, gallery2 code changed some where around 0.9.30 /0.9.31 do you have statistic component running? grtz, |
|
malthazor
Joined: 2003-04-03
Posts: 33 |
![]() |
I only have these running: There is a statistics module, but it is unpublished and has been. |
|
cpzhao
Joined: 2004-12-29
Posts: 14 |
![]() |
As a user on my site suggested, I invite you guys to visit my site as a Showcase Mambo and Gallery2 Integration. Cheers, |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
KAC
Joined: 2004-12-01
Posts: 164 |
![]() |
I get the following error when I try to enter my path info. It's the same path info that was working fine before for me: Warning: embed(embed.php): failed to open stream: No such file or directory in /home/kac/domains/seemypics.net/public_html/components/com_gallery2/userfuncs.php on line 64 Fatal error: embed(): Failed opening required 'embed.php' (include_path='.:/usr/local/lib/php') in /home/kac/domains/seemypics.net/public_html/components/com_gallery2/userfuncs.php on line 64 |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
KAC, where do you get this error could you check if the files is really there. grtz, |
|
KAC
Joined: 2004-12-01
Posts: 164 |
![]() |
ok, here is what I did. I uninstalled my old G2 component. I then installed the 2.0.6 version and it installed successfully but gave me a message at the top saying "must enter settings on next page" or something like that (I can't remember exactly). Next, I went to components>Gallery2>Config and entered all my: Full path to gallery2 Selected No for all options except "mirror logins" and "run user script". Then hit "Save". That is when I got the error above. So what I've done now tried setting one at a time. Second, I entered the "Relative path to Gallery2" then selected "No" for all options except "mirror logins" and "run user script" and hit save. It then accepted my settings without the error above. Now my problem is that even though I have "No" selected for "Display G2 sidbar", it still displays. |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
KAC, you updated to the latest core? grtz, |
|
KAC
Joined: 2004-12-01
Posts: 164 |
![]() |
No, I'm working on that right now. Also, I noticed that even though I set "Run user setup script" to "Yes", it defaults back to "No" after hitting save. Is that right? I did run the manual sync first. I'll report back after I update to the latest core. |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
That is correct it only needed ones, and almost useless, you can add you're self to the admin group using "user management". Regards, [edit] |
|
KAC
Joined: 2004-12-01
Posts: 164 |
![]() |
OK, all seems to work fine after upgrading the G2 beta3 core to v31 except I now have a fatal error in the galleryblock mambo module. I'm using version 2.3 and that seems to be the latest, right? I did upgrade all the G2 modules. |
|
dave132
Joined: 2005-07-18
Posts: 4 |
![]() |
Ok - I think I am ready to give this a try. Could someone please let me know the steps for installing Gallery2 for embedding into Mambo from Scratch? |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
dave132, have a working mambo install. that simple. Regards, |
|
KAC
Joined: 2004-12-01
Posts: 164 |
![]() |
For some reason, the G2 sidebar module doesn't display for me now at all. Even if I have it set to show on "All" pages. I've had to disable the modules until I figure out why. |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
KAC, the sidebar handeling has changed in G2 i have to rewrite the module, i'll relaese it tonight if i'm finished. grtz, |
|
KAC
Joined: 2004-12-01
Posts: 164 |
![]() |
OK, how about the galleryblock module. Is that not functional now either? |
|
mackworth
Joined: 2005-07-11
Posts: 8 |
![]() |
mike-m.org It shows the path as mike-m.org/mambo/... instead of mike-m.org/gallery/... What am I doing wrong? path: /www/u/username/htdocs/gallery/ Gallery Core: 0.9.31 |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
KAC, mod_gallery_block should work. mackworth, Disable sef for gallery2 component and disable short urls in gallery2 Regards, |
|
mackworth
Joined: 2005-07-11
Posts: 8 |
![]() |
By "disable SEF for gallery component" do you mean all of mambo? Whats the timeline on a component that supports SEF on an SEf enabled gallery install. |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
mackworth, what sef in mambo are you using, just shipped sef or sef404, sefadvance etz... i'm working on a sef version, hopefully next relaise because i want it 2 on my site, but it isn't the easiest thing todo ;) and there is no timeline for the next version. Regards, |
|
janetweber
Joined: 2005-06-28
Posts: 6 |
![]() |
V2.0.6 work except album mamagement. I get this error when I run it: 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 = Any ideas as how to fix this? |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
yes, you are still unkown user for gallery2, have you synced your userbase or added your self to the admin group of gallery2? |
|
brianburnett
Joined: 2005-07-19
Posts: 2 |
![]() |
I tried for quite a long time last evening to get the Mambo+G2 component working, however The only thing I was able to repeat was the errors. The administration configurations don't seem to work properly for the configuration I have. Server Configuration: Gallery2 Path: /home/user/public_html/foo/gallery2 Gallery2 Web: http://foo.bar.com/gallery2 Mambo Path: /home/user/public_html/public Mambo Web: http://www.bar.com/public Application Versions: Apache: 1.3.33 MySQL: 4.2.22-standard PHP4: 4.3.11 Mambo: 4.5.2 com_gallery2: 2.0.6 Component Configuration: G2 Path: /home/user/public_html/foo/gallery2 G2 RelPath: ../foo/gallery2 Mambo Dir: /public Error: "Full path to Gallery2 is inorrect!" I am very interested at the possiblility of this working, can someone help? |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
brianburnett, yup, that is correct, your setup isn't supported yet! your gallery2 can't be on a different domain for now, this will be supported in the future! Regards, ps: possible solution Server Configuration: Gallery2 Path: /home/user/public_html/gallery2/ Gallery2 Web: http://www.bar.com/gallery2/main.php Mambo Path: /home/user/public_html/ Mambo Web: http://www.bar.com/index.php then Gallery2 Path: /home/user/public_html/foo/ Gallery2 Web: http://foo.bar.com/ place .htaccess file in there redirecting to gallery2 RewriteEngine On RewriteCond %{HTTP_HOST} ^foo\.bar\.com$ [NC] RewriteRule ^(.*)$ http://www.bar.com/gallery2/$1 [R=307,L] htacces i'm not quit sure but fiddle with it and it will work. |
|
brianburnett
Joined: 2005-07-19
Posts: 2 |
![]() |
Thanks so much for taking a look at this! Just curious... Though I have Gallery2 configured for Gallery2 Path: /home/user/public_html/foo/gallery2 I can also access gallery2 through this URL, shouldn't it still work? Gallery2 Web: http://www.bar.com/foo/gallery2 or is the config.php incorrect and that is why it won't work correctly? Just a thought, is there a way to hard-code the variables that are needed for this configuration somewhere in the component files? |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
brianburnett, hmm, maybe, if the config doesn't let it, you could change it in the database, and see if it works. The config checks if certain files are at that location, if he can't find it the component doesn't work but you never know. Just change them in the database. regards, |
|
mosey
Joined: 2005-07-14
Posts: 19 |
![]() |
Sorry, so just to clarify (my connection is wireless so takes forever to upload G2 again): |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
mosey, just uninstall version 2.0.5 then reinstall 2.0.6 most modules are supported, only sidebar isn't! that's it. if you have root access use the tarbal there are ways of doing that also without root access i'll try to find the topic were this is explained. Regards, |
|
mosey
Joined: 2005-07-14
Posts: 19 |
![]() |
Hi Michiel, Kind Regards |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
New sidebar module has been released, you can get it here
Regards, |
|
mosey
Joined: 2005-07-14
Posts: 19 |
![]() |
Excellent ;) I've just upgraded the gallery2 component and on the whole it seems to be working no problems. I especially like the new configuration - had some problems with 2.0.5 with regards to the relative path that I had to edit manually in a textfile and over-write with an FTP upload. Fatal error: Call to a member function on a non-object in /home/path-to-my-mambo/mambo2/administrator/components/com_gallery2/admin.gallery2.html.php on line 241
error next to its entry. I haven't yet looked at the file so cannot be sure exactly what lines 241 contains. |
|
Lakys
Joined: 2005-06-26
Posts: 55 |
![]() |
I have the following error message instead of the sidebar: Quote:
Warning: Missing argument 1 for handlerequest() in C:\########\httpdocs\gallery\modules\core\classes\GalleryEmbed.class on line 157 I have the last 2.06 version of the mod, Mambo 4.5.2 and also: Gallery version = 2.0-beta-3+ core 0.9.31 Any idea what I am doing wrong? Except that, the embedded gallery, the image block and the gallery tree are working properly. Thank you in advance! |
|