After adding in that code I still get the same error. Anything I can do to help troublshoot?
-Tim
michiel_1981 wrote:
buffman,
in the userfuncs.php
around line 350 there is this code:
if($g2_Config['databasequel']!=1){
$gallery2_db = new database( $g2_Config['hostname'], $g2_Config['username'], $g2_Config['password'], $g2_Config['database'], $g2_Config['tablePrefix'] );
$query = 'SELECT '.$g2_Config['columnPrefix'].'parameterName, '.$g2_Config['columnPrefix'].'parameterValue'
. ' FROM '.$g2_Config['tablePrefix'].'PluginParameterMap'
. ' WHERE '.$g2_Config['columnPrefix'].'pluginType = \'module\''
. " AND $sql";
$gallery2_db->setQuery( $query );
$data = $gallery2_db->query();
} else {
global $database;
$query = 'SELECT '.$g2_Config['columnPrefix'].'parameterName, '.$g2_Config['columnPrefix'].'parameterValue'
. ' FROM '.$g2_Config['tablePrefix'].'PluginParameterMap'
. ' WHERE '.$g2_Config['columnPrefix'].'pluginType =\'module\''
. " AND $sql";
$database->setQuery( $query );
$data = $database->query();
}
this the newest version, and includes connection for second database, replace the code with the one above and try saving again. Check if the error is gone.
regards,
Michiel
michiel_1981
Joined: 2005-05-19
Posts: 430
Posted: Tue, 2005-08-02 06:23
buffman,
wait until the next version, i'll have second database fixed by then, hopefully.
regards,
Michiel
buffman
Joined: 2005-07-18
Posts: 9
Posted: Tue, 2005-08-02 07:22
Thanks for the quick response and awesome support!
Great component!
Many many thanks!
-Tim
jeff260z
Joined: 2005-07-20
Posts: 26
Posted: Tue, 2005-08-02 16:53
Michel my gallery install is sharing a database with mambo. Mambo is root dir and gallery is in gallery2 dir.
Fantastic componant btw. It is amazing and really adds to my site. Once I get the members pictures moved over and publish it for all to see I'm sure they are going to flip.
Thanks for the hard work.
Jeff
michiel_1981
Joined: 2005-05-19
Posts: 430
Posted: Tue, 2005-08-02 17:44
jeff260z,
thxs,
Michiel
buffman
Joined: 2005-07-18
Posts: 9
Posted: Wed, 2005-08-03 02:22
Hi guys!
Has anyone gotten TFS for mambo working properly with the gallery2 sidebar module? I get this error when TFS is installed; i'm not sure if its a problem/incompatibility with gallery2 or TFS.
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 /var/www/html/mambo/modules/mod_galleryside.php at line 20 (galleryembed::handlerequest)
* in /var/www/html/mambo/includes/frontend.html.php at line 264
* in /var/www/html/mambo/includes/frontend.php at line 122 (modules_html::module2)
* in /var/www/html/mambo/templates/247extender_c/index.php at line 76
* in /var/www/html/mambo/index.php at line 208
Any suggestions would be very helpful!
Thanks!
michiel_1981
Joined: 2005-05-19
Posts: 430
Posted: Wed, 2005-08-03 05:56
buffman,
which TFS bridge are you using? There are known problems with TFS , mostly do to TFS hacks in the core files! and stuff get's loaded on gallery2 pages also.
I installed version 2 (03.12.05) and then the patch (04.27.05).
Should I try a diff version from somewhere else? It works fine on all of the pages except for the gallery sidebar module page.
Thanks!
lvanderb
Joined: 2005-04-22
Posts: 2
Posted: Sat, 2005-08-06 00:58
Hi,
I have Mambo 4.5.2 and G2 beta 4. I am having a heck of a time with users!
Now, everyone visiting my gallery has Site Admin access and I don't know what to do to turn it off. I may try uninstalling the g2 mambo component, but that's not going to fix G2.
It was working until a new user was added to Mambo... and now... don't know what to do!
Help!
Gallery is found at [edit]removed for security[/edit]
Thanks,
Linda
jeff260z
Joined: 2005-07-20
Posts: 26
Posted: Sat, 2005-08-06 03:17
Wow that's not good. Ya I checked the site out and had full admin access to everything. That admin link shouldn't be there.
Take it offline before someone does something.
michiel_1981
Joined: 2005-05-19
Posts: 430
Posted: Sat, 2005-08-06 06:59
lvanderb,
i have deleted the url, but can you tell me what this has to do with mambo and what have you done before this error occurd?
regards,
Michiel
dazz0r
Joined: 2005-08-06
Posts: 10
Posted: Sat, 2005-08-06 10:04
Can anyone tell me what i have to do/download/change/... to get gallery into mambo?
There is 31 pages of posts here and you lost me after the first 5 and i dont know much about php so that isnt much help either.
Tnx
michiel_1981
Joined: 2005-05-19
Posts: 430
Posted: Sat, 2005-08-06 12:04
dazz0r,
install gallery2 and get it to work.
install the gallery2 component from
[url]mamboforge.net/projects/gallery2/[/url]
configure the component and sync user base!
Make a menu link and your set, if nothing goed wrong ;)
regards,
Michiel
dazz0r
Joined: 2005-08-06
Posts: 10
Posted: Sat, 2005-08-06 15:15
tnx for the help
i'm now in the configuration fase, but when i need to give the full path to my Gallery it wont work.
Can somebody give me an idea how the path should look like?
michiel_1981
Joined: 2005-05-19
Posts: 430
Posted: Sat, 2005-08-06 15:27
like the fullpath from your mambo configuration, look in your config file and you'll see how it should look like, only make sure you adjust it to the gallery2 directory.
example
/home/domain.com/www/gallery2/
or
/var/client/html-root/
something like that.
regards,
Michiel
dazz0r
Joined: 2005-08-06
Posts: 10
Posted: Sat, 2005-08-06 15:41
tnx again, im getting closer
the configuration is ok now but when i click on album managment i get the following error
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 =
anyone an idea what the problem is?
michiel_1981
Joined: 2005-05-19
Posts: 430
Posted: Sat, 2005-08-06 16:37
dazz0r,
yup, you haven't synced the user base!
regards,
Michiel
dazz0r
Joined: 2005-08-06
Posts: 10
Posted: Sat, 2005-08-06 17:25
alright thats working, ive made a link in my menu to the component but when i click on it i only get a white screen??
michiel_1981
Joined: 2005-05-19
Posts: 430
Posted: Sat, 2005-08-06 18:59
dazz0r,
which version did you install, what is the gallery2 version?
you can find this information on the admin pages of gallery2 in "maintainence".
regards,
Michiel
dazz0r
Joined: 2005-08-06
Posts: 10
Posted: Sat, 2005-08-06 19:51
gallery 2 beta 4
and com_gallery2_v2.0.6
michiel_1981
Joined: 2005-05-19
Posts: 430
Posted: Sat, 2005-08-06 20:08
dazz0r,
Peakoverload had the same problem maybe he can help you
it is indeed the same problem but its just that i already have the latest version. And i discoverd something else, when there are no albums or photo's in the Gallery it works fine but as soon as i put a photo in it i end up getting a black screen.
lvanderb
Joined: 2005-04-22
Posts: 2
Posted: Sun, 2005-08-07 10:58
michiel_1981 wrote:
lvanderb,
i have deleted the url, but can you tell me what this has to do with mambo and what have you done before this error occurd?
regards,
Michiel
Thanks!
I made a really bone-headed mistake and renamed the guest account in G2, so I can't blame either G2 or Mambo, but thought I should at least let you know!
I will try the user integration again... fingers crossed and all that!
Linda
dazz0r
Joined: 2005-08-06
Posts: 10
Posted: Sun, 2005-08-07 12:56
i tested some more, installed the gallery2 beta 4+ and its just when i add a photo it breaks down and leaves me with a white screen
dazz0r
Joined: 2005-08-06
Posts: 10
Posted: Sun, 2005-08-07 13:47
now im getting this error
Quote:
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 92160 bytes) in /scoutnet.be/users/siegfriedranst/public_html/modules/mod_mainmenu.php on line 189
michiel_1981
Joined: 2005-05-19
Posts: 430
Posted: Sun, 2005-08-07 15:33
dazz0r,
try a clean install with rc1.
maybe that will help.
regards,
Michiel
rudyb
Joined: 2004-12-11
Posts: 36
Posted: Mon, 2005-08-08 10:09
Okay so yeah...
Just installed G2 RC1, and the mambo component from mamboforge. I can get gallery to show up in mambo no problem now, but it's not very 'integrated'. Looks like it's just using the default gallery theme, and not taking on the Mambo template.
(yes, I know it's probably already been answered, but I've dug through several threads already, and if I have to go through another 32 pages of replies at 3am, I'm gonna lose it)
Thanks!
michiel_1981
Joined: 2005-05-19
Posts: 430
Posted: Mon, 2005-08-08 14:18
rudyb,
what did you expect, that gallery2 would know how you want it to look, you have alter the theme to your liking or download a theme that somebody else made. There is a mambo theme floating around that uses your mambo template color and background, but i don't have time to find it for you.
i thought it was called mtrans
goodluck,
Michiel
janetweber
Joined: 2005-06-28
Posts: 6
Posted: Mon, 2005-08-08 17:19
I am getting the following error install the gallery2 component v2.06 in Mambo 4.5.2.3:
Warning: Invalid argument supplied for foreach() in /home/janetweb/public_html/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/janetweb/public_html/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/janetweb/public_html/components/com_gallery2/userfuncs.php on line 64
How do i fix this problem?
rudyb
Joined: 2004-12-11
Posts: 36
Posted: Mon, 2005-08-08 18:28
michiel_1981 wrote:
rudyb,
what did you expect, that gallery2 would know how you want it to look, you have alter the theme to your liking or download a theme that somebody else made. There is a mambo theme floating around that uses your mambo template color and background, but i don't have time to find it for you.
i thought it was called mtrans
goodluck,
Michiel
...
Usually when you "integrate" something into a CMS, it takes on the look and feel of your CMS template automatically (and when I say usually, I really just mean that most things I've incorporated into Mambo do, including Gallery 1).
As it stands, G2 doesn't seem to quite "integrate" into mambo. It just sort of gets stuck in there.
Ah well, all in time, I'm sure. I'll check out the theme you mentioned.
Thanks!
rudyb
Joined: 2004-12-11
Posts: 36
Posted: Mon, 2005-08-08 20:54
Okay, found *a* version of Mtrans, but it doesn't seem to be working with this release. Uploaded it to the themes folder, and I get this error:
Quote:
Error (ERROR_BAD_PLUGIN) : Class MTransTheme does not exist
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 113 (gallerystatus::error)
* in modules/core/classes/GalleryCoreApi.class at line 187 (gallerypluginhelper_simple::loadplugin)
* in modules/core/AdminThemes.inc at line 320 (gallerycoreapi::loadplugin)
* in modules/core/SiteAdmin.inc at line 153 (adminthemesview::loadtemplate)
* in modules/core/classes/GalleryTheme.class at line 672 (siteadminview::loadtemplate)
* in modules/core/classes/GalleryView.class at line 285 (matrixtheme::loadtemplate)
* in main.php at line 289 (siteadminview::doloadtemplate)
* in main.php at line 90
* in main.php at line 82
Ideas?
dazz0r
Joined: 2005-08-06
Posts: 10
Posted: Tue, 2005-08-09 16:56
so i fixed all the problems, got it working.
Did a fresh install to remove all the crap, installation went fine. i install the component in mambo, no problems there...go to the config, copy paste the 3 lines from a txt file where i saved them from the working installation. I thought live was beatifull, but then it when i pressed save the yellow letters said 'Path to mambo is incorrect!' wtf??? it worked before, its in the same folder, has the same now, the 2 other lines are the same. I dont get it???
i have the latest version of both the files, the 3 lines are (when they worked):
/scoutnet.be/users/siegfriedranst/public_html/gallery/gallery2/ (is still fine)
/gallery/gallery2/ (is still fine)
/ (doesnt work anymore)
anyone an idea for this wierd problem?
rudyb
Joined: 2004-12-11
Posts: 36
Posted: Tue, 2005-08-09 17:01
You said you did a fresh install. Didn't change where your mambo is? Still root directory?
Figured you already know this, but it never hurts to check.
dazz0r
Joined: 2005-08-06
Posts: 10
Posted: Tue, 2005-08-09 17:10
yep its still http://www.yoursite.com/, i din't do a fresh install of mambo. Only of Gallery and the component in mambo
rudyb
Joined: 2004-12-11
Posts: 36
Posted: Tue, 2005-08-09 18:46
Well, then... that's bizarre, and I'm not too proud to say I have no clue.
artemido
Joined: 2005-02-08
Posts: 24
Posted: Tue, 2005-08-09 22:49
rename the directory you have "mtrans" stored in to "mtran"...
rudyb wrote:
Okay, found *a* version of Mtrans, but it doesn't seem to be working with this release. Uploaded it to the themes folder, and I get this error:
Quote:
Error (ERROR_BAD_PLUGIN) : Class MTransTheme does not exist
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 113 (gallerystatus::error)
* in modules/core/classes/GalleryCoreApi.class at line 187 (gallerypluginhelper_simple::loadplugin)
* in modules/core/AdminThemes.inc at line 320 (gallerycoreapi::loadplugin)
* in modules/core/SiteAdmin.inc at line 153 (adminthemesview::loadtemplate)
* in modules/core/classes/GalleryTheme.class at line 672 (siteadminview::loadtemplate)
* in modules/core/classes/GalleryView.class at line 285 (matrixtheme::loadtemplate)
* in main.php at line 289 (siteadminview::doloadtemplate)
* in main.php at line 90
* in main.php at line 82
Ideas?
artemido
Joined: 2005-02-08
Posts: 24
Posted: Wed, 2005-08-10 01:53
actually, for that matter, the use of mtran/mtrans should just be abandoned altogether. Since the theme is really just a recolored matrix, why not just create a custom color pack for matrix?
artemido wrote:
rename the directory you have "mtrans" stored in to "mtran"...
rudyb wrote:
Okay, found *a* version of Mtrans, but it doesn't seem to be working with this release. Uploaded it to the themes folder, and I get this error:
Quote:
Error (ERROR_BAD_PLUGIN) : Class MTransTheme does not exist
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 113 (gallerystatus::error)
* in modules/core/classes/GalleryCoreApi.class at line 187 (gallerypluginhelper_simple::loadplugin)
* in modules/core/AdminThemes.inc at line 320 (gallerycoreapi::loadplugin)
* in modules/core/SiteAdmin.inc at line 153 (adminthemesview::loadtemplate)
* in modules/core/classes/GalleryTheme.class at line 672 (siteadminview::loadtemplate)
* in modules/core/classes/GalleryView.class at line 285 (matrixtheme::loadtemplate)
* in main.php at line 289 (siteadminview::doloadtemplate)
* in main.php at line 90
* in main.php at line 82
Ideas?
artemido
Joined: 2005-02-08
Posts: 24
Posted: Wed, 2005-08-10 02:20
fyi: still having the header error with G2RC1, and I can definitively tell you what's _not_ causing the problem: G2 modules. I deactivated and uninstalled every single module other than "core" and I still have the the header error message. This is really about the only thing keeping me from releasing the latest iteration of my site, so any help you guys can provide would be awesome... Thanks! :o)
michiel_1981
Joined: 2005-05-19
Posts: 430
Posted: Wed, 2005-08-10 14:42
artemido,
I have found the problem, and i'll post a fix as soon as i'm 100% sure this change will work for everybody and we don't get 2 versions that have header issues.
please hold on,
regards,
Michiel
rudyb
Joined: 2004-12-11
Posts: 36
Posted: Wed, 2005-08-10 16:14
artemido wrote:
rename the directory you have "mtrans" stored in to "mtran"...
rudyb wrote:
Okay, found *a* version of Mtrans, but it doesn't seem to be working with this release. Uploaded it to the themes folder, and I get this error:
Quote:
Error (ERROR_BAD_PLUGIN) : Class MTransTheme does not exist
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 113 (gallerystatus::error)
* in modules/core/classes/GalleryCoreApi.class at line 187 (gallerypluginhelper_simple::loadplugin)
* in modules/core/AdminThemes.inc at line 320 (gallerycoreapi::loadplugin)
* in modules/core/SiteAdmin.inc at line 153 (adminthemesview::loadtemplate)
* in modules/core/classes/GalleryTheme.class at line 672 (siteadminview::loadtemplate)
* in modules/core/classes/GalleryView.class at line 285 (matrixtheme::loadtemplate)
* in main.php at line 289 (siteadminview::doloadtemplate)
* in main.php at line 90
* in main.php at line 82
Ideas?
Tried that, got Mtran installed and activated. Still doesn't make gallery change to the color scheme of my mambo template. Guess I'll go back to Gallery 1 for now.
artemido
Joined: 2005-02-08
Posts: 24
Posted: Wed, 2005-08-10 16:27
michiel_1981 wrote:
artemido,
I have found the problem, and i'll post a fix as soon as i'm 100% sure this change will work for everybody and we don't get 2 versions that have header issues.
please hold on,
regards,
Michiel
more than happy to beta test and provide feedback... :D
artemido
Joined: 2005-02-08
Posts: 24
Posted: Wed, 2005-08-10 16:28
try just using the matrix theme, installing the "color packs" module, and use one of the stock color packs or create your own (they're insanely easy to set up...seriously...).
rudyb wrote:
artemido wrote:
rename the directory you have "mtrans" stored in to "mtran"...
rudyb wrote:
Okay, found *a* version of Mtrans, but it doesn't seem to be working with this release. Uploaded it to the themes folder, and I get this error:
Quote:
Error (ERROR_BAD_PLUGIN) : Class MTransTheme does not exist
* in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 113 (gallerystatus::error)
* in modules/core/classes/GalleryCoreApi.class at line 187 (gallerypluginhelper_simple::loadplugin)
* in modules/core/AdminThemes.inc at line 320 (gallerycoreapi::loadplugin)
* in modules/core/SiteAdmin.inc at line 153 (adminthemesview::loadtemplate)
* in modules/core/classes/GalleryTheme.class at line 672 (siteadminview::loadtemplate)
* in modules/core/classes/GalleryView.class at line 285 (matrixtheme::loadtemplate)
* in main.php at line 289 (siteadminview::doloadtemplate)
* in main.php at line 90
* in main.php at line 82
Ideas?
Tried that, got Mtran installed and activated. Still doesn't make gallery change to the color scheme of my mambo template. Guess I'll go back to Gallery 1 for now.
intermark
Joined: 2005-08-10
Posts: 5
Posted: Wed, 2005-08-10 23:24
Would this header problem with g2rc1 cause this css validation problem below?
It seems to mainly affect IE by showing the script error icon in the bottom left corner of the browser and they hybrid theme doesn't display images properly.
Invalid number : width only 0 can be a length. You must put an unit after your number : 635
intermark
Joined: 2005-08-10
Posts: 5
Posted: Thu, 2005-08-11 02:45
Here's a screenshot of what's happening to the hybrid theme and also the error details. *note: this only happens in IE...it renders fine in firefox and safari.
I've just install com_gallery2 and the G2 sidebar into mambo.
The only thing I'm having problem with at this point is when I go into the gallery component on the front-end of Mambo using Firefox.
It switches the character encoding to a utf-8. I want it to stay at ISO-8859-1. When I move out of the G2 component it reverts back to ISO-8859-1 like normal.
Why is it switching character encoding when it goes into the G2 component? Anyone got an idea on this?
My sympton:
* Mambo was succesfully installed and runs pretty nicely stand alone
(that is, use browser go to http://mysite.com/mambo/gallery2)
* Component was successfully installed in Mambo with the default suggestion:
Full Path to Gallery G2: /home/u5/myusername/html/mambo/gallery2/
Relative path to Gallery G2: ./gallery2
Path to Mambo: /http://mysite.com/mambo/
embedUri: /http://mysite.com/mambo/index.php?option=com_gallery2&Itemid=27
Succesful defined as getting "Configuration Saved Succesfully!" message
Clearly it's the extra "http://mysite.com/" that's giving me trouble.
I tried to tweak the path setting in content configuration, but it doesn't like
any path other than its suggestion...
I remember somebody has the similar problem but I couldn't find it now.
Please help. Thanks.
Posts: 430
jhvl,
this is a commen problem and i'm working on a fix.
regards,
Michiel
Posts: 2
OK. And thanks for your quick answer and the great support you are providing
jh
Posts: 12
Just thought I would throw my header results in the pile..
Posts: 9
Hi Michiel -
After adding in that code I still get the same error. Anything I can do to help troublshoot?
-Tim
Posts: 430
buffman,
wait until the next version, i'll have second database fixed by then, hopefully.
regards,
Michiel
Posts: 9
Thanks for the quick response and awesome support!
Great component!
Many many thanks!
-Tim
Posts: 26
Michel my gallery install is sharing a database with mambo. Mambo is root dir and gallery is in gallery2 dir.
Fantastic componant btw. It is amazing and really adds to my site. Once I get the members pictures moved over and publish it for all to see I'm sure they are going to flip.
Thanks for the hard work.
Jeff
Posts: 430
jeff260z,
thxs,
Michiel
Posts: 9
Hi guys!
Has anyone gotten TFS for mambo working properly with the gallery2 sidebar module? I get this error when TFS is installed; i'm not sure if its a problem/incompatibility with gallery2 or TFS.
Any suggestions would be very helpful!
Thanks!
Posts: 430
buffman,
which TFS bridge are you using? There are known problems with TFS , mostly do to TFS hacks in the core files! and stuff get's loaded on gallery2 pages also.
regards,
Michiel
Posts: 9
Hi Michiel -
I'm using TFSforMambo for > 4.5.1 from http://mamboforge.net/frs/?group_id=94&release_id=4044
I installed version 2 (03.12.05) and then the patch (04.27.05).
Should I try a diff version from somewhere else? It works fine on all of the pages except for the gallery sidebar module page.
Thanks!
Posts: 2
Hi,
I have Mambo 4.5.2 and G2 beta 4. I am having a heck of a time with users!
Now, everyone visiting my gallery has Site Admin access and I don't know what to do to turn it off. I may try uninstalling the g2 mambo component, but that's not going to fix G2.
It was working until a new user was added to Mambo... and now... don't know what to do!
Help!
Gallery is found at [edit]removed for security[/edit]
Thanks,
Linda
Posts: 26
Wow that's not good. Ya I checked the site out and had full admin access to everything. That admin link shouldn't be there.
Take it offline before someone does something.
Posts: 430
lvanderb,
i have deleted the url, but can you tell me what this has to do with mambo and what have you done before this error occurd?
regards,
Michiel
Posts: 10
Can anyone tell me what i have to do/download/change/... to get gallery into mambo?
There is 31 pages of posts here and you lost me after the first 5 and i dont know much about php so that isnt much help either.
Tnx
Posts: 430
dazz0r,
install gallery2 and get it to work.
install the gallery2 component from
[url]mamboforge.net/projects/gallery2/[/url]
configure the component and sync user base!
Make a menu link and your set, if nothing goed wrong ;)
regards,
Michiel
Posts: 10
tnx for the help
i'm now in the configuration fase, but when i need to give the full path to my Gallery it wont work.
Can somebody give me an idea how the path should look like?
Posts: 430
like the fullpath from your mambo configuration, look in your config file and you'll see how it should look like, only make sure you adjust it to the gallery2 directory.
example
/home/domain.com/www/gallery2/
or
/var/client/html-root/
something like that.
regards,
Michiel
Posts: 10
tnx again, im getting closer
the configuration is ok now but when i click on album managment i get the following error
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 =
anyone an idea what the problem is?
Posts: 430
dazz0r,
yup, you haven't synced the user base!
regards,
Michiel
Posts: 10
alright thats working, ive made a link in my menu to the component but when i click on it i only get a white screen??
Posts: 430
dazz0r,
which version did you install, what is the gallery2 version?
you can find this information on the admin pages of gallery2 in "maintainence".
regards,
Michiel
Posts: 10
gallery 2 beta 4
and com_gallery2_v2.0.6
Posts: 430
dazz0r,
Peakoverload had the same problem maybe he can help you
see this post
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&p=156363&highlight=white+mambo#156363
regards,
Michiel
Posts: 10
it is indeed the same problem but its just that i already have the latest version. And i discoverd something else, when there are no albums or photo's in the Gallery it works fine but as soon as i put a photo in it i end up getting a black screen.
Posts: 2
Thanks!
I made a really bone-headed mistake and renamed the guest account in G2, so I can't blame either G2 or Mambo, but thought I should at least let you know!
I will try the user integration again... fingers crossed and all that!
Linda
Posts: 10
i tested some more, installed the gallery2 beta 4+ and its just when i add a photo it breaks down and leaves me with a white screen
Posts: 10
now im getting this error
Posts: 430
dazz0r,
try a clean install with rc1.
maybe that will help.
regards,
Michiel
Posts: 36
Okay so yeah...
Just installed G2 RC1, and the mambo component from mamboforge. I can get gallery to show up in mambo no problem now, but it's not very 'integrated'. Looks like it's just using the default gallery theme, and not taking on the Mambo template.
Any ideas?
http://www.ownedgear.com/index.php?option=com_gallery2&Itemid=48
(yes, I know it's probably already been answered, but I've dug through several threads already, and if I have to go through another 32 pages of replies at 3am, I'm gonna lose it)
Thanks!
Posts: 430
rudyb,
what did you expect, that gallery2 would know how you want it to look, you have alter the theme to your liking or download a theme that somebody else made. There is a mambo theme floating around that uses your mambo template color and background, but i don't have time to find it for you.
i thought it was called mtrans
goodluck,
Michiel
Posts: 6
I am getting the following error install the gallery2 component v2.06 in Mambo 4.5.2.3:
Warning: Invalid argument supplied for foreach() in /home/janetweb/public_html/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/janetweb/public_html/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/janetweb/public_html/components/com_gallery2/userfuncs.php on line 64
How do i fix this problem?
Posts: 36
...
Usually when you "integrate" something into a CMS, it takes on the look and feel of your CMS template automatically (and when I say usually, I really just mean that most things I've incorporated into Mambo do, including Gallery 1).
As it stands, G2 doesn't seem to quite "integrate" into mambo. It just sort of gets stuck in there.
Ah well, all in time, I'm sure. I'll check out the theme you mentioned.
Thanks!
Posts: 36
Okay, found *a* version of Mtrans, but it doesn't seem to be working with this release. Uploaded it to the themes folder, and I get this error:
Ideas?
Posts: 10
so i fixed all the problems, got it working.
Did a fresh install to remove all the crap, installation went fine. i install the component in mambo, no problems there...go to the config, copy paste the 3 lines from a txt file where i saved them from the working installation. I thought live was beatifull, but then it when i pressed save the yellow letters said 'Path to mambo is incorrect!' wtf??? it worked before, its in the same folder, has the same now, the 2 other lines are the same. I dont get it???
i have the latest version of both the files, the 3 lines are (when they worked):
/scoutnet.be/users/siegfriedranst/public_html/gallery/gallery2/ (is still fine)
/gallery/gallery2/ (is still fine)
/ (doesnt work anymore)
anyone an idea for this wierd problem?
Posts: 36
You said you did a fresh install. Didn't change where your mambo is? Still root directory?
What's the web address to access your mambo?
Is it still http://www.yoursite.com/ ?
not like, http://www.yoursite.com/mambo/ ?
Figured you already know this, but it never hurts to check.
Posts: 10
yep its still http://www.yoursite.com/, i din't do a fresh install of mambo. Only of Gallery and the component in mambo
Posts: 36
Well, then... that's bizarre, and I'm not too proud to say I have no clue.
Posts: 24
rename the directory you have "mtrans" stored in to "mtran"...
Posts: 24
actually, for that matter, the use of mtran/mtrans should just be abandoned altogether. Since the theme is really just a recolored matrix, why not just create a custom color pack for matrix?
Posts: 24
fyi: still having the header error with G2RC1, and I can definitively tell you what's _not_ causing the problem: G2 modules. I deactivated and uninstalled every single module other than "core" and I still have the the header error message. This is really about the only thing keeping me from releasing the latest iteration of my site, so any help you guys can provide would be awesome... Thanks! :o)
Posts: 430
artemido,
I have found the problem, and i'll post a fix as soon as i'm 100% sure this change will work for everybody and we don't get 2 versions that have header issues.
please hold on,
regards,
Michiel
Posts: 36
Tried that, got Mtran installed and activated. Still doesn't make gallery change to the color scheme of my mambo template. Guess I'll go back to Gallery 1 for now.
Posts: 24
more than happy to beta test and provide feedback... :D
Posts: 24
try just using the matrix theme, installing the "color packs" module, and use one of the stock color packs or create your own (they're insanely easy to set up...seriously...).
Posts: 5
Would this header problem with g2rc1 cause this css validation problem below?
It seems to mainly affect IE by showing the script error icon in the bottom left corner of the browser and they hybrid theme doesn't display images properly.
URI : http://www.purposefilled.net/index.php?option=com_gallery2&Itemid=27&g2_view=core.ShowItem&g2_itemId=23
* Line: 74
Invalid number : width only 0 can be a length. You must put an unit after your number : 635
Posts: 5
Here's a screenshot of what's happening to the hybrid theme and also the error details. *note: this only happens in IE...it renders fine in firefox and safari.
[img]http://www.purposefilled.net/pics/sshot.jpg[/img]
[img]http://www.purposefilled.net/pics/error.jpg[/img]
Posts: 16
I've just install com_gallery2 and the G2 sidebar into mambo.
The only thing I'm having problem with at this point is when I go into the gallery component on the front-end of Mambo using Firefox.
It switches the character encoding to a utf-8. I want it to stay at ISO-8859-1. When I move out of the G2 component it reverts back to ISO-8859-1 like normal.
Why is it switching character encoding when it goes into the G2 component? Anyone got an idea on this?
Posts: 5
where's the love??? :cry:
Posts: 2
I got a problem after embedding.
My setup:
* Mambo 4.5.2 in http://mysite.com/html/mambo/
* Gallery 2.0 RC1 in http://mysite.com/html/mambo/gallery2/
* com_gallery2_v2.0.6
* gallery sidebar module published 7/20
My sympton:
* Mambo was succesfully installed and runs pretty nicely stand alone
(that is, use browser go to http://mysite.com/mambo/gallery2)
* Component was successfully installed in Mambo with the default suggestion:
Full Path to Gallery G2: /home/u5/myusername/html/mambo/gallery2/
Relative path to Gallery G2: ./gallery2
Path to Mambo: /http://mysite.com/mambo/
embedUri: /http://mysite.com/mambo/index.php?option=com_gallery2&Itemid=27
Succesful defined as getting "Configuration Saved Succesfully!" message
* I also installed sidebar module. Mambo didn't complain.
* Now, I can see G2 being embedded in the Mambo page, but all
clickable contents, including photos, are broken. I check the link they point
to and they are always in the form:
http://mysite.com/http://mysite.com/mambo/index.php?option=com_gallery2&Itemid=27.....
Clearly it's the extra "http://mysite.com/" that's giving me trouble.
I tried to tweak the path setting in content configuration, but it doesn't like
any path other than its suggestion...
I remember somebody has the similar problem but I couldn't find it now.
Please help. Thanks.
Ming