Mambo + G2 Document

trompete
trompete's picture

Joined: 2005-08-29
Posts: 3
Posted: Mon, 2005-08-29 14:51
fryfrog wrote:
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!? :)

I might just be willing to implement it. My Zend studio's been getting pretty lonely since I switched to Mambo 8). We definitely need CVS though.

 
michiel_1981

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

jawalker,

i have wrote a document on the paths
paths document

maybe that can help, if the config doesn't allow the right settings manualy set it in the database.

trompete,
next version is sef ready, i'm do the best i can to get it working correctly with all the modules at the moment, further it defently needs a document(working on that as wel)

CVS is on his way, at the moment i'm installing subversion so that wish is granted as well.

regards,
Michiel

 
trompete
trompete's picture

Joined: 2005-08-29
Posts: 3
Posted: Tue, 2005-08-30 12:20

Great. Subversion is way better!! I did what you asked me to in your email.

michiel_1981 wrote:

trompete,
next version is sef ready, i'm do the best i can to get it working correctly with all the modules at the moment, further it defently needs a document(working on that as wel)

CVS is on his way, at the moment i'm installing subversion so that wish is granted as well.

regards,
Michiel

 
jawalker

Joined: 2005-08-29
Posts: 2
Posted: Tue, 2005-08-30 12:52
michiel_1981 wrote:
jawalker,

i have wrote a document on the paths
paths document

maybe that can help, if the config doesn't allow the right settings manualy set it in the database.

trompete,
next version is sef ready, i'm do the best i can to get it working correctly with all the modules at the moment, further it defently needs a document(working on that as wel)

CVS is on his way, at the moment i'm installing subversion so that wish is granted as well.

regards,
Michiel

Michiel,
I found your guide very useful, however I still cannot get the System to accept the path to mambo which i now believe should be /cms/

You mention manually entering data into database, as another alternative. Looks like I'll have to go that route. Can you tell me which table(s) within the database I need to alter and what data I should be putting into them in order to get it to work?

Keep up the good work by the way. Impressed by Gallery 2 + Mambo so far.

John W

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Tue, 2005-08-30 14:02

jawalker,

it should be /CMS/ in your case.

if it doesn't accept, try directly into database.

regards,
Michiel

 
aclose

Joined: 2005-09-02
Posts: 2
Posted: Fri, 2005-09-02 18:47

hi Michiel,

i appreciate the time you've spent supporting the community not only writing components but answering questions about them. :)

i too am having path issues. i just read through the previous 7 pages of this thread and your path document but i'm still unable to have Mambo recognize the proper Mambo path.

i'm running Mambo 4.5.2 and installed Gallery2-rc2 this morning. this appears to be working nicely. i then installed com_gallery2_v2.0.6.1 and received the following error:
Warning: embed(embed.php): failed to open stream: No such file or directory in /home/thecloses/public_html/components/com_gallery2/userfuncs.php on line 64

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

looking in the components directory on the server i do see the com_gallery2 directory and it does contain the userfuncs.php file. so i'm not sure why i got the error...
and when i go back install/uninstall components in MamboAdmin i see Gallery2 listed, although it doesn't have the author, version, date, etc. listed. and under the components tab Gallery2 exists.
so i clicked on the Gallery2 Config tab and began entering my paths. :)

full g2: /home/thecloses/public_html/gallery2/
rel g2: ./gallery2/

both those are fine, it's the next one that's buggin'

Path to Mambo: /

it should be / but Mambo doesn't like that for some reason. Mambo is installed directly in my public_html directory.

http://www.thecloses.net/index.php

so i believe my path to Mambo should be /

you mentioned in a couple earlier posts that this could also be edited directly in the database. do you know which table needs to be edited? i've looked through a couple of them but did not see anything that struck me as a place for system configuration.

thanks for your help
andy

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Fri, 2005-09-02 19:12

Hi,

There is a topic about this on www.4theweb.nl, which explains what to do and there is also a new document with some FAQ, also this one and how you can fix this.

regards,
Michiel

 
aclose

Joined: 2005-09-02
Posts: 2
Posted: Fri, 2005-09-02 19:54
michiel_1981 wrote:
Hi,

There is a topic about this on www.4theweb.nl, which explains what to do and there is also a new document with some FAQ, also this one and how you can fix this.

regards,
Michiel

Michiel,

thank you for such a quick reply! :) i didn't realize you had a forum on your site. thanks again.

for others with this issue:

you are looking for the mos_gallery2 table

the solution details are available in this thread:
http://dev.4theweb.nl/index.php?option=com_simpleboard&itemid=12&func=view&id=55&catid=2&limit=12&limitstart=0

 
orchis

Joined: 2005-09-08
Posts: 2
Posted: Thu, 2005-09-08 12:16

I'm still having Problems with the 'Full Path to Gallery G2: '/data/geze.de/docroot/G2'
It just won't take it :x :x

I've installed a neu G2, and have un/installed die 'com_gallery2'...
Not getting futher

System Information:
Mambo verison = 4.5.2
Gallery version = 2.0-rc-2 core 0.9.36
PHP version = 4.4.0 apache
Webserver = Apache/1.3.33 (Unix) PHP/4.4.0 mod_gzip/1.3.26.1a mod_deflate/1.0.21 mod_ssl/2.8.24 OpenSSL/0.9.7g
Database = mysql 4.0.24
Toolkits = ArchiveUpload, Exif, ImageMagick, NetPBM, Gd
Operating system = FreeBSD xxxx 5.2-BETA FreeBSD 5.2-BETA #0: Thu Nov 27 i386
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Fri, 2005-09-09 07:06

orchis,

In some cases the path check always fails in version 2.0.6

this will be fixed in version 2.0.7 and will be released today.

regards,
Michiel

 
orchis

Joined: 2005-09-08
Posts: 2
Posted: Fri, 2005-09-09 20:34

Thx.. I took the download straight away....

First I uninstalled the Component 2.0.6, den installed 2.0.7... Installition was succesfull..

But then when I go on one of the Component Menus, I always get the same..!

Quote:
This site is temporarily unavailable.
Please notify the System Administrator

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Fri, 2005-09-09 22:17

orchis,

See this post

regards,
Michiel

 
totzo

Joined: 2006-02-23
Posts: 1
Posted: Thu, 2006-02-23 21:55

Hi everyone,

I've just discovered gallery2 and am trying to embed it into joomla (1.07) with mostly great results. I really like the pgtheme with the pgsnow colourpack- this is what I'd like to get up and running. The only snag is that when it comes to the "photos" page in any album it spews out a load of text above in the main site area, like this:

Quote:
"); win.document.write("
"); win.document.write("
"); win.document.write("
"); win.document.write(title1); win.document.write("
"); win.document.write("
"); win.document.write(desc); win.document.write("
"); win.document.write("
"); if (witem > w) { win.document.write("
Full Size"); win.document.write(" "); win.document.write(separ); win.document.write(" "); win.document.write("Screen Size image
"); ;} win.document.write(""); win.document.write("
"); win.document.write("
"); win.document.close(); } //--> //]]>

I can't work out if the issue is with joomla or with gallery. It doesn't happen with any of other themes (matrix, siriux etc.) so is it just the pgtheme not integrating well?

Any input would be appreciated,

T

 
glassparman
glassparman's picture

Joined: 2005-07-18
Posts: 9
Posted: Thu, 2006-03-02 04:30

I'm having a strange issue. I'm getting the following error only when a member who is logged in, tries to view a thumbnail by clicking on it:

Fatal error: Call to undefined method GalleryPhotoItem::getOrderBy() in /usr/home/ftp/fid/mmckinne/public_html/menalto2/gallery2/modules/core/classes/helpers/GalleryChildEntityHelper_simple.class on line 480

This is Gallery 2 and the com_ version 1.4 from

Also, how do I find out what exact version of Gallery 2 I have installed?

Thanks in advance,
Michael

 
Weirdo
Weirdo's picture

Joined: 2005-09-09
Posts: 4
Posted: Mon, 2006-03-13 13:15
totzo wrote:
Hi everyone,

I've just discovered gallery2 and am trying to embed it into joomla (1.07) with mostly great results. I really like the pgtheme with the pgsnow colourpack- this is what I'd like to get up and running. The only snag is that when it comes to the "photos" page in any album it spews out a load of text above in the main site area, like this:

Quote:
"); win.document.write("
"); win.document.write("
"); win.document.write("
"); win.document.write(title1); win.document.write("
"); win.document.write("
"); win.document.write(desc); win.document.write("
"); win.document.write("
"); if (witem > w) { win.document.write("
Full Size"); win.document.write(" "); win.document.write(separ); win.document.write(" "); win.document.write("Screen Size image
"); ;} win.document.write(""); win.document.write("
"); win.document.write("
"); win.document.close(); } //--> //]]>

I can't work out if the issue is with joomla or with gallery. It doesn't happen with any of other themes (matrix, siriux etc.) so is it just the pgtheme not integrating well?

Any input would be appreciated,

T

I´ve got the same problem ..... :-(

Any thoughts from anyone?

Thanks,

Weirdo

 
jfretless
jfretless's picture

Joined: 2003-05-02
Posts: 17
Posted: Thu, 2006-04-27 06:27

Hello,
I've been using Gallery for a couple of years, and just started trying to integrating it in to a CMS. I picked Mambo. I see alot of errors regarding paths in previous posts, well, I don't have those. ...or at least the error I'm seeing doesn't mention paths. I get the following error when I enter Components->Gallery2->Config.

Fatal error: Call to a member function on a non-object in /home/fotobug/public_html/mambo/components/com_gallery2/userfuncs.php on line 169

and when I go to... Components->Gallery2->Album Management

Fatal error: Call to a member function on a non-object in /home/fotobug/public_html/mambo/administrator/components/com_gallery2/admin.gallery2.php on line 486

Can anyone help me with this? If you need any info on my side, what versions, just ask. It's late, my wife is calling me to bed... so, I'll add more info in the morning, if needed.

Thanks in advance...

John

 
MrGibbage

Joined: 2005-12-06
Posts: 16
Posted: Sat, 2006-05-06 15:09

I tried installing this yesterday in my mambo site, but I am getting an error when I tried to configure the component:
Fatal error: Call to undefined function: iserror() in /home/peloruso/public_html/mambo/components/com_gallery2/classes/core.class on line 139
I actually saw the configuration screen once, and filled in the appropriate path names, but then got this error and have not been able to make it go away. I have uninstalled the component and re-installed, but I still get the error message when I click on the Gallery2 "config" link. I am using the latest versions of Mambo and G2 (just downloded them yesterday)
Mambo 4.5.3h Stable [ Phoenix ] 31-Dec-2005 03:00 GMT
Gallery 2.1.1. Any suggestions?

Skip

 
MrGibbage

Joined: 2005-12-06
Posts: 16
Posted: Thu, 2006-05-11 05:38

I saw some documentation that suggested changing the "if ($ret->iserror()) {" lines to simply "if ($ret) {". This has eliminated the fatal error message. But now I am getting an "unexpected '}'" error:
Parse error: parse error, unexpected '}' in /home/peloruso/public_html/hrdslr/administrator/components/com_gallery2/adminpages/tools.php on line 303

But the code looks good:
foreach($g2Usernames as $g2Username){
$i++;
if($i % $increment == 0){
userSync::timeLimit();
$description = sprintf('processing %d of %d.', $i, $total);
print userSync::progressUpdate($title, $description, round($i/$total*100), $startTime);
ob_flush();
flush();
}
/* build */
list($ret, $g2User) = GalleryCoreApi::fetchUserByUserName($g2Username);
if ($ret){
return $ret->wrap(__FILE__, __LINE__);
}
$g2UserById[$g2User->getId()] = $g2User;
$g2UserByUsername[strtolower($g2Username)] = $g2User;
} //line 303

Anyone?

 
RakiuraBlue

Joined: 2006-08-31
Posts: 10
Posted: Wed, 2006-09-20 05:37

I'm not sure this is the place to post this enquiry, but here goes:

Will the instructions listed here for bridging Mambo/G2 work for:
Mambo 4.6 (clean install)
Gallery 2.1.2 (clean install)?

Thanks!

RB

 
tiamot

Joined: 2006-09-28
Posts: 1
Posted: Thu, 2006-09-28 15:50

I am also interested in integrating the latest Mambo and the latest and greatest Gallery.
Would someone be so kind as to point us newbees in the right direction. :)

Stuff I'm looking for is:
How to install gallery if an existing mambo install is in place (I understand that paths are important).
What mambo modules or components are needed, and where to get them.
Are tweeks needed for mambo 4.6?
Has anyone done this?

http://opensource.4theweb.nl/ appears to be currently offline. I'll check there as soon as it's back up as well.

 
clover2010

Joined: 2007-11-19
Posts: 1
Posted: Mon, 2007-11-19 09:01

Hi all,

I'm trying to develop a slideshow in Mambo4.5. I have installed Gallery2 successfully (Thanks to all the tutorials given here!). However, to much avail, I can't find any installers/components/modules such that Gallery2 works together with Mambo. I tried accessing to http://mamboforge.net/projects/gallery2/ but the site is down for several days. My ultimate aim to have the slideshow similar to the one which the user: bobbob1975 has in his site @ http://www.piratesahoy.com/

Can anyone post any installers for Gallery2 to work with Mambo4.5 or direct me to sites which has the installers?

Know that there are many helpful people here. Thanks a lot in advance!