most CMS develop their own forum software. i know, you want the best forum software (not necessarily phpbb) and a good CMS, but that's difficult.
if you want mambo + g2 + phpbb, then G2 isn't the glue code between mambo and phpbb. In this relation, we made G2 a slave of mambo. so if you want to have these three applications integrated, this has nothing to do with G2. if you find a phpbb<->mambo integration, G2 should work with it.
skuba
Joined: 2004-05-06
Posts: 103
Posted: Tue, 2005-05-03 19:19
That's cool. There are probably integrations between phpbb and mambo. I just have to find one that works.
I have done vbulletin and mambo, but I rathe ruse phpbb which is free and already runnin gon a website I have.
thanks
mx
Joined: 2005-05-01
Posts: 5
Posted: Wed, 2005-05-04 04:05
when enabling "Run user setup script:" in gallery2 componet and then saving this error appears:
Fatal error: Call to undefined function: isexternalidmapped() in /var/www/html/administrator/components/com_gallery2/admin.gallery2.php on line 138
What does this mean?
also if you click the Gallery link on the menu the thumbnails do not appear, only a link. is there a reason for this?
and last when i try to initalize my g2 database i get these errors:
Test: core :: InitializeGallery [1 iteration(s)]
Timing: 0.0614 elapsed, 16.2784 per second
Error: Error (ERROR_BAD_PLUGIN) : Unknown module version 0.9.0
* in modules/core/CoreModuleExtras.inc at line 358 (gallerystatus::error)
* in modules/core/module.inc at line 512 (coremoduleextras::upgrade)
* in modules/core/classes/GalleryModule.class at line 137 (coremodule::upgrade)
* in modules/core/test/TestCase/InitializeGallery.class at line 62 (coremodule::installorupgrade)
* in lib/tools/test/TestCase.class at line 13 (initializegallerytestcase::teststart)
* in lib/tools/test/index.php at line 225 (initializegallerytestcase::start)
* in lib/tools/test/index.php at line 153
* in lib/tools/test/index.php at line 48
* in lib/tools/test/index.php at line 10
Error (ERROR_BAD_PLUGIN) : Unknown module version 0.9.0
* in modules/core/CoreModuleExtras.inc at line 358 (gallerystatus::error)
* in modules/core/module.inc at line 512 (coremoduleextras::upgrade)
* in modules/core/classes/GalleryModule.class at line 137 (coremodule::upgrade)
* in modules/core/test/TestCase/InitializeGallery.class at line 62 (coremodule::installorupgrade)
* in lib/tools/test/TestCase.class at line 13 (initializegallerytestcase::teststart)
* in lib/tools/test/index.php at line 225 (initializegallerytestcase::start)
* in lib/tools/test/index.php at line 153
* in lib/tools/test/index.php at line 48
* in lib/tools/test/index.php at line 10
is there a way to fix this so it actually works?
Thanks for all your help so far.
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-05-04 08:21
mx, @error: (function does not exist): probably your G2 version is out of date. Get a recent nightly snapshot.
@thumbnails: seems as if your "relativeG2Path" is wrong (too many .. or so)
@error: no idea.
try installing a recent G2 version and set the correct relativeG2Path, then it should work.
downatone
Joined: 2004-09-11
Posts: 56
Posted: Thu, 2005-05-05 22:16
Almost there, but not quote.
I've downloaded the com installer and sidebar mod.
The framework for the gallery seems to be working, BUT no pictures will display, even thumbnails...
Take a look: [url]www.downatone.com[/url] & click on G2 on the side bar or goto: http://www.downatone.com/index.php?option=com_gallery2&Itemid=55
Any ideas on how to get my pretty pictures to appear would be greatly appreciated.
cheers
:: downatone ::
tulsais
Joined: 2005-05-05
Posts: 3
Posted: Thu, 2005-05-05 23:01
downatone: try changing your relative path to './gallery'
tulsais
Joined: 2005-05-05
Posts: 3
Posted: Thu, 2005-05-05 23:13
Anyone have problems with the album action drop downs and the site admin link not working when you navigation to a sub album? When I click the link for site admin or use the drop down, it just redirects back to the initial page... Help!
downatone
Joined: 2004-09-11
Posts: 56
Posted: Fri, 2005-05-06 01:00
Quote:
downatone: try changing your relative path to './gallery'
Nice, cheers tulsais.
ccondrup
Joined: 2005-05-07
Posts: 3
Posted: Sat, 2005-05-07 06:55
Hello, thanks for the awesome work on this!
I was wondering: Is there any roadmap/timeline for when the usermanagement/registration will be integrated? I know it's probably hard to say, but are you working on it?
I feel like I can't switch to G2 unless users can login to Mambo, and then go ahead and upload images as they please (depending on userlevel).
Though, I'm rushed to switch to G2, as G1.5 no longer works - I'm one of the many with the init.php popuperror. Don't wanna go back to an earlier Mambo to use 1.4.4 either
Well, thanks again for nice work so far!
decomike
Joined: 2004-11-25
Posts: 13
Posted: Sat, 2005-05-07 18:58
Again and again I didn't get it working. Everytime G2 alone was working but not in Mambo. I only got an empty page and when look at the source there was only a table def.
I didn't do anything for some weeks and today I read again all the postings and try it again. This time i started a complete fresh installation Mambo 4.5.1b and G2. I noticed 2 things which wasn't before, no writeable temp and a memory limit that wasn't 16M. I change that in the .htaccess file by appending these lines to the file:
The first line is a tmp directory i made with CHMOD 777
YES! YES! YES! Now it's working. Thank you all for the help!
rza
Joined: 2005-05-08
Posts: 34
Posted: Sun, 2005-05-08 08:55
got this error trying to integreat com_gallery2 into mambo admin page
filled in all the required stuff and click on Save.
got this error msg
Table 'mambo.mos_mambogallery2' doesn't exist SQL=UPDATE mos_mambogallery2 SET
value='var/www/html/gallery2/' WHERE field='path'
don't see anyone getting this error
i used this step to create gallery DB
MySQL
mysqladmin -uroot create gallery2
mysql gallery2 -uroot -e"GRANT ALL ON gallery2.* TO username@localhost IDENTIFIED BY 'password'"
i thought it might be the naming problem, so i replaced gallery2 with mos_mambogallery2. That did not help either.
another thing, can the gallery user login using 1 single ID to post pictures? meaning mambo user logging into the site and then clicking on gallery link gives him the same login
malthazor
Joined: 2003-04-03
Posts: 33
Posted: Sun, 2005-05-08 20:34
I've been playing with G2 beta 2. I have the integration with Mambo 4.5.2 working fairly well. Something that's bugging me is the main gallery area with photo's or thumb's etc won't expand in width to use all available area. The top (with gallery name and welcome, . . .) does but the rest won't.
Hoping someone can point me where to fix this issue. If I launch G2 standalone the layout is good.
KAC
Joined: 2004-12-01
Posts: 164
Posted: Mon, 2005-05-09 01:42
I believe the thumbnail size is fixed. What you have to do is change the album layout in the gallery admin area to show, for example, 3 or 4 columns instead of 2.
malthazor
Joined: 2003-04-03
Posts: 33
Posted: Mon, 2005-05-09 13:37
Actually it renders in the same amount of "total" space whether 1, 2, 3 or 4 columns. However, upon further investigation it appears the issue shows up when I use Firefox at resolutions over 1024x768 and expand the width of my browser. If I narrow my browser width down it pops into place and looks ok. MSIE renders OK at higher resolutions.
On my laptop using 1024x768 full screen Firefox, MSIE, Opera all render it fine. So not a big issue I guess, just a funny little bug is CSS or something.
Thanks.
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-05-10 10:27
rza, are you sure you are using the latest mambo integration module and the latest G2 version?
Full Path: /home/dorrian/public_html/mambo/software/gallery2/
Relative: ./software/gallery2 or ../software/gallery2 (tried both)
Mambo: / or /mambo (i've tried both)
Thanks.
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-05-10 12:08
zerolight, i have no clue of mambo, but the error says not G2 is working incorrectly, but another mambo module, com_tfsformambo/tfsformambo.php is generating strange database errors.
zerolight
Joined: 2005-01-17
Posts: 4
Posted: Tue, 2005-05-10 12:33
thanks valiant. unsinstalling TFS worked. wonder why it was getting in the way.
i don't suppose you know much about gallery 1.5? i just managed to screw that up now.
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-05-10 13:13
no, never worked on g1, sorry.
rza
Joined: 2005-05-08
Posts: 34
Posted: Tue, 2005-05-10 14:05
hi,
sorry to post double topic as i did not see anyone helping.
got the latest from the site u gave and encountered errors during core installation.
funny thing is that those files dun exist at all in the current directory. wonder why there is a double // after g2data. i have removed the gallery2 dir and sub dir g2data and also old database by deleting gallery2 from /var/lib/mysql. created a new DB and install from there.
file_exists(/var/www/html/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc)
realpath(/var/www/html/gallery2/modules/core/classes/../../..)
Binding text domain: modules_core ->
/var/www/html/gallery2/modules/core/locale
file_exists(/var/www/html/gallery2/g2data//versions.dat)
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-05-10 14:18
rza, try again... empty g2data, new gallery2 codebase, empty database. (empty php cache if you have installed something like ioncube phpa or turk mmcache). perhaps restart apache.
it worked previously, so it should work again.
(and you didn't have to start from scratch, you could have upgraded as well)
sulo
Joined: 2005-05-10
Posts: 3
Posted: Tue, 2005-05-10 20:50
Perhaps I can find someone here to help me ...
Integrating g2 into mambo 4.5.2 works fine on my site, thanks to the coders!!
My problem now is:
When I click on my g2 link in my mambo sidebar, all the german "umlaute" like "ae" (=ä) or "oe" (=ö) in the rest of the navigation turn to a "�". This affects the hole navigation ... within g2 (standalone and integratetd version) the album names with "Umlaut" are all correct!
I don't know where to change a setting or if this is a general Problem?!
One other nice thing would be to change the german translation of g2, is there a possibility to change this without compiling a mo (or was it po) file? I tried to set up a cygwin environment ( http://www.rabinovich.org/gallery2/docs/ ) under winXP, but I failed
Hope my english is not too bad and I'm not asking in the wrong thread, thx for your help in advance!!!!
Greetz,
sulo
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-05-10 21:15
@umlauts: take a look at the <head> part of G2 and your mambo.
perhaps you can modify the <head> part somewhere in the mambo templates / source to have the same (correct) charset as G2.
i.e.
thnx valiant for your quick help, but when I change the mambo charset to UTF-8, the sidemenu is always scrambled with the strange signs.
g2 seems to override the mambo charset and therefore my browser (firefox+IE) changes to UTF-8
Does this problem only apear on my german side? Isn't there a switch in g2 to adjust to iso-8859-1 without compiling new language files?
rza
Joined: 2005-05-08
Posts: 34
Posted: Tue, 2005-05-10 23:19
valiant wrote:
rza, try again... empty g2data, new gallery2 codebase, empty database. (empty php cache if you have installed something like ioncube phpa or turk mmcache). perhaps restart apache.
it worked previously, so it should work again.
(and you didn't have to start from scratch, you could have upgraded as well)
i tried removing the whole gallery2 dir,g2data but only miss out on empty cache and restart apache. how do u empty cache btw? i not sure whether it was installed with ioncube phpa or turk mmcache. maybe i should restart apache. i shall go home n do tat.
btw, i tried adding the component for mambo by installing it using admin page. it wasn't able to find the installation file. i tried using both .zip and .tar.gz file.
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-05-11 00:03
rza, forget about the php cache. probably you don't have installed such an accelerator.
- first step is getting G2 installed. does it work now?
- second step is getting mambo to work
- then install the gallery com module for mambo. probably you have to repack it, it has been discussed in this thread.
rza
Joined: 2005-05-08
Posts: 34
Posted: Wed, 2005-05-11 08:33
i just clear everything as told. remove gallery2 DB and g2data and restart apache.
redo all the steps.
go to install core module.
the first step i got this in stack trace
Stack Trace:
Error (ERROR_STORAGE_FAILURE) : Error trying to load /var/www/html/gallery2/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql/Schema.sql
* in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1818 (gallerystatus::error)
* in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1507 (mysqldatabasestorage::_executesqlfile)
* in modules/core/classes/GalleryStorage.class at line 338 (mysqldatabasestorage::configurestore)
* in modules/core/classes/GalleryModule.class at line 132 (gallerystorage::configurestore)
* in install/steps/InstallCoreModuleStep.class at line 83 (coremodule::installorupgrade)
* in install/index.php at line 174 (installcoremodulestep::loadtemplatedata)
and follow by a long list below....
if i click on Install Gallery Core again, the errors will be shorten to the errors i posted. last thing now is i am going to reboot my server.
rza
Joined: 2005-05-08
Posts: 34
Posted: Wed, 2005-05-11 08:53
ignore the above!!! i got it installed finally. downloaded current gallery file again and redo everything. it's working now!!!!
thanks valiant for your help. now to get integration working...
rza
Joined: 2005-05-08
Posts: 34
Posted: Wed, 2005-05-11 09:11
arrghhhh...am still getting this error msg
Table 'mambo.mos_mambogallery2' doesn't exist SQL=UPDATE mos_mambogallery2 SET
value='var/www/html/gallery2/' WHERE field='path'
i see that mysql has Mambo and gallery2 directory residing on /var/lib/mysql
in mambo, there are files with names mos_mambo....
while in gallery2, there are files with names with g2_....
is my DB the problem??
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-05-11 10:29
rza, you're the only one with a mos_mambogallery2 problem.
AFAIK, there's no database table for the mambo integration component. what's this all about?
KAC
Joined: 2004-12-01
Posts: 164
Posted: Wed, 2005-05-11 12:49
I don't know if this helps but I have both mambo and G2 working together and took a look at my database to try and help out.
I too have two tables mos_mambo... and g2_...
I also have two seperate databases. One for Mambo and one for G2.
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-05-11 13:21
sure, mos_mambo... tables and g2_ tables, but mos_mambogallery2?
ah, i see. rza chose mos_mambogallery2 as the prefix for all mambo and g2 tables.
correct?
rza: mos_mambogallery2 as a prefix is too long. try a 0-5 character long prefix.
jpsagaire
Joined: 2003-09-22
Posts: 5
Posted: Wed, 2005-05-11 14:57
Sulo,
no! not only in German. in French small squares renplace the carracteres with accent. Not finds solution. :cry:
jp
KAC
Joined: 2004-12-01
Posts: 164
Posted: Thu, 2005-05-12 13:35
**********************************************************
SORRY to double post this but this pertains to both the general embedding of G2 in Mambo and Gallery Remote
***********************************************************
I use Mambo with G2 integration and thought I'd mention what I've done to get this working.
I originally had my Mambo Global Configuration settings set to NOT use friendly URL setting (SEO tab --> Use Engine Friendly URL's = No).
This caused my website a lot of problems. I would get FORBIDDEN 403 errors / 404 URL Not Found erros all too often while browsing the site or even browsing pics in G2.
I also could not use the Gallery Remote because I couldn't figure out how to include the password and login name in the URL to set the proper embedded path in GR login. I was forced to uninstall the G2 embedded component then upload the pics to the G2 using GR in standalone mode. Then reinstalled the G2 embedding component. Real pain in the arse!!! I could use the web upload in G2 but that's only 4 pics at a time.....I usually have a lot to upload at once, so GR is a must for me.
Well, I changed Mambo Global Configuration ---> SEO tab --> Use Engine Friendly URL's = YES
Since then, I have not received ONE FORBIDDEN 403 / 404 URL Not Found error.
BUT, after making that change, I then could not upload pics to the site even when uninstalling the G2 component to try and upload pics in standalone mode. The reason for this is that after making the change. GR all of a sudden started giving me login errors stating the gallery_remote2.php was not found.
After finding the solution for that (read solution here: http://gallery.menalto.com/index.php?na ... &t=30112), I then was able to upload pics using GR in standalone mode EVEN THOUGH it's actually embedded.
All's working well now and I'm a happy camper.
I posted this because this solution took me a total of about 8 hours of reading to fix both the FORBIDDEN problem and GR login problem. Hopefully it helps others.
rza
Joined: 2005-05-08
Posts: 34
Posted: Thu, 2005-05-12 14:18
valiant wrote:
sure, mos_mambo... tables and g2_ tables, but mos_mambogallery2?
ah, i see. rza chose mos_mambogallery2 as the prefix for all mambo and g2 tables.
correct?
rza: mos_mambogallery2 as a prefix is too long. try a 0-5 character long prefix.
i did not specify any special prefix at all...i left it as it is...arghh..wreaking my brains out...
i had G1 installed b4 but i used the admin page to uninstall it..maybe there is something left in there b4?
KAC
Joined: 2004-12-01
Posts: 164
Posted: Thu, 2005-05-12 16:02
rza,
During the Mambo install didn't it ask you to specify the table name? Maybe force it to "Mambo".
rza
Joined: 2005-05-08
Posts: 34
Posted: Fri, 2005-05-13 02:31
KAC wrote:
rza,
During the Mambo install didn't it ask you to specify the table name? Maybe force it to "Mambo".
Database type:mysql (all versions)
DB Hostname:localhost
DB Username:mysql
DB Password:***
DB Name:gallery2
Table Prefix:g2_
Column Prefix:g_
i changed it to mambo_ and also try changin it to mos_
still getting same errors...i am going home today to try n find out why it is asking for mos_mambogallery2
rza
Joined: 2005-05-08
Posts: 34
Posted: Fri, 2005-05-13 08:47
found tat stinking problem!
in my /var/lib/mysql/Mambo, there were 3 files named mos_gallery2.* renamed them to mos_mambogallery2.* and it works now.
weird thing tat is happening is if i go directly to http://url/gallery2/index.php, i can do things like site admin, view account etc...
but if i click on the gallery link in my mambo homepage, http://url/index.php and login via there. i get permission errors when i click on site admin and your account
below are the errors
Error Detail -
Error (ERROR_PERMISSION_DENIED) :
* in modules/core/UserPreferences.inc at line 172 (gallerystatus::error)
* in modules/core/UserAdmin.inc at line 143 (userpreferencesview::loadtemplate)
* in modules/core/classes/GalleryView.class at line 214 (useradminview::loadtemplate)
* in main.php at line 295 (useradminview::doloadtemplate)
* in main.php at line 79
* in modules/core/classes/GalleryEmbed.class at line 139
* in /var/www/html/components/com_gallery2/gallery2.php at line 90 (galleryembed::handlerequest)
* in /var/www/html/index.php at line 182
rza
Joined: 2005-05-08
Posts: 34
Posted: Fri, 2005-05-13 08:50
now even i cant add items from gallery2 mainpage
Database Error
An error has occurred while interacting with the database.
The exact nature of database errors is not captured unless Gallery debug mode is enabled in config.php. Before seeking support for this error please enable buffered debug output and retry the operation. Look near the bottom of the lengthy debug output to find error details.
Error (ERROR_STORAGE_FAILURE)
* in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1164 (gallerystatus::error)
* in modules/core/classes/GalleryStorage.class at line 220 (mysqldatabasestorage::search)
* in modules/core/classes/Gallery.class at line 223 (gallerystorage::search)
* in modules/watermark/classes/WatermarkHelper.class at line 89 (gallery::search)
* in modules/watermark/WatermarkOption.inc at line 73 (watermarkhelper::fetchwatermarks)
* in modules/core/ItemAdd.inc at line 486 (watermarkoption::isappropriate)
* in modules/core/ItemAdd.inc at line 311 (itemaddoption::getalladdoptions)
* in modules/core/ItemAdmin.inc at line 153 (itemaddview::loadtemplate)
* in modules/core/classes/GalleryView.class at line 214 (itemadminview::loadtemplate)
* in main.php at line 295 (itemadminview::doloadtemplate)
* in main.php at line 79
* in main.php at line 70
rza, i don't know what you are doing wrong.
1. reinstall G2, standalone. get standalone working.
2. deactivate the url rewrite module in G2
3. then try again installing the com_g2 module in mambo
perhaps a mambo user can assist you.
KAC
Joined: 2004-12-01
Posts: 164
Posted: Fri, 2005-05-13 13:45
Valiant's right, you should get G2 standalone working properly first. Then you can get help embedding G2 in Mambo.
By the looks of your errors you have your "g2data" folder outside your gallery install folder "gallery2". Make sure you have permission to write to the g2data folder.
d3vlabs
Joined: 2005-05-10
Posts: 100
Posted: Tue, 2005-05-17 01:11
When I open up the G2 script standalone there are no issues, yet when I open it up as a component in Mambo, the actual images don't show up, only the placeholders. I see from reading the forums that this is a common issue and it has to do with proper path settings. I tried playing around with different settings in g2 settings component yet got nothing. Here are my settings, please correct me if I'm wrong somewhere, thank you.
Using the latest g2 mambo component CVS for both component and module:
Full Path to Gallery G2: /home/d3v/public_html/gallery2/
Relative path to Gallery G2: ../gallery2
Path to Mambo: /
embedUri: index.php?option=com_gallery2&Itemid=159 [159 taken from menu>main menu>item id in mambo]
Login page redirect: index.php
Display G2 Sidebar: NO
Display G2 login: NO
Use mirrored user logins: NO
Run user setup script: NO
Enable auto-album creation: NO
KAC
Joined: 2004-12-01
Posts: 164
Posted: Tue, 2005-05-17 05:07
I would guess your Path to Mambo would be: "/mambo"
Also try your Relative pathe do Gallery G2: "./gallery2"
d3vlabs
Joined: 2005-05-10
Posts: 100
Posted: Tue, 2005-05-17 05:28
KAC wrote:
I would guess your Path to Mambo would be: "/mambo"
Also try your Relative pathe do Gallery G2: "./gallery2"
Tried both suggestions. Did not work. Anyone else?
Actually maybe this is a diffrent issue after all. When I click on the placeholders for the images, now i get PageNotFound error with
"The requested URL /mambo/index.php was not found on this server"
Since index.php is the place to where users who have no access are meant to be redirected, then maybe this is an authentication error.
Any thoughts on this at all? The URL for the G2 and all the settings are still the same as listed in the post above.[/b]
xgecko
Joined: 2005-05-18
Posts: 2
Posted: Wed, 2005-05-18 04:44
Does the G2 Mambo integration project have a home? I am having difficulty finding links to downloads and such. I don't see anything on mamboforge.net under gallery2 and g2 is too short to search for.
d3vlabs
Joined: 2005-05-10
Posts: 100
Posted: Wed, 2005-05-18 04:48
xgecko wrote:
Does the G2 Mambo integration project have a home? I am having difficulty finding links to downloads and such. I don't see anything on mamboforge.net under gallery2 and g2 is too short to search for.
Just this thread and you can get the latest cvs builds from sourceforge or from attachment on thread pages.
xgecko
Joined: 2005-05-18
Posts: 2
Posted: Wed, 2005-05-18 05:15
Why not setup a Mamboforge page for it with downloads and all?
d3vlabs
Joined: 2005-05-10
Posts: 100
Posted: Wed, 2005-05-18 05:25
Up to the originators of this thread.
fableman
Joined: 2005-04-29
Posts: 25
Posted: Wed, 2005-05-18 07:13
Any idees why ?
--------------------- httpd Begin ------------------------
A total of 1 sites probed the server
66.249.194.46
A total of 14 unidentified 'other' records logged
GET //test2/gallery2/images/xhtml10.png?g2_GALLERYSID=d886bfc751368ff1da09f83b72ffefa3 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/gallery.gif?g2_GALLERYSID=7ef2e65cd833314558fcdad5cb42f58d HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/gallery.gif?g2_GALLERYSID=0d5dfb0e1ddf9370e91ba5eaea3f779c HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/xhtml10.png?g2_GALLERYSID=f57c2fcce65b8a72f9d688654a68a6bc HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/gallery.gif?g2_GALLERYSID=d886bfc751368ff1da09f83b72ffefa3 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/xhtml10.png?g2_GALLERYSID=f7f73b097ad55c09431c6bea0aacdfe9 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/xhtml10.png?g2_GALLERYSID=5005ef445f2c8cfe23632d40a6f83854 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/xhtml10.png?g2_GALLERYSID=0d5dfb0e1ddf9370e91ba5eaea3f779c HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/gallery.gif?g2_GALLERYSID=c0f58a0975d6f12bd7cefd4ecc76c257 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/gallery.gif?g2_GALLERYSID=5005ef445f2c8cfe23632d40a6f83854 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/xhtml10.png?g2_GALLERYSID=7ef2e65cd833314558fcdad5cb42f58d HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/gallery.gif?g2_GALLERYSID=f7f73b097ad55c09431c6bea0aacdfe9 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/xhtml10.png?g2_GALLERYSID=c0f58a0975d6f12bd7cefd4ecc76c257 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/gallery.gif?g2_GALLERYSID=f57c2fcce65b8a72f9d688654a68a6bc HTTP/1.1 with response code(s) 2 200 responses
---------------------- httpd End -------------------------
Posts: 32509
most CMS develop their own forum software. i know, you want the best forum software (not necessarily phpbb) and a good CMS, but that's difficult.
if you want mambo + g2 + phpbb, then G2 isn't the glue code between mambo and phpbb. In this relation, we made G2 a slave of mambo. so if you want to have these three applications integrated, this has nothing to do with G2. if you find a phpbb<->mambo integration, G2 should work with it.
Posts: 103
That's cool. There are probably integrations between phpbb and mambo. I just have to find one that works.
I have done vbulletin and mambo, but I rathe ruse phpbb which is free and already runnin gon a website I have.
thanks
Posts: 5
when enabling "Run user setup script:" in gallery2 componet and then saving this error appears:
Fatal error: Call to undefined function: isexternalidmapped() in /var/www/html/administrator/components/com_gallery2/admin.gallery2.php on line 138
What does this mean?
also if you click the Gallery link on the menu the thumbnails do not appear, only a link. is there a reason for this?
and last when i try to initalize my g2 database i get these errors:
is there a way to fix this so it actually works?
Thanks for all your help so far.
Posts: 32509
mx, @error: (function does not exist): probably your G2 version is out of date. Get a recent nightly snapshot.
@thumbnails: seems as if your "relativeG2Path" is wrong (too many .. or so)
@error: no idea.
try installing a recent G2 version and set the correct relativeG2Path, then it should work.
Posts: 56
Almost there, but not quote.
I've downloaded the com installer and sidebar mod.
The framework for the gallery seems to be working, BUT no pictures will display, even thumbnails...
Take a look: [url]www.downatone.com[/url] & click on G2 on the side bar or goto: http://www.downatone.com/index.php?option=com_gallery2&Itemid=55
Any ideas on how to get my pretty pictures to appear would be greatly appreciated.
cheers
:: downatone ::
Posts: 3
downatone: try changing your relative path to './gallery'
Posts: 3
Anyone have problems with the album action drop downs and the site admin link not working when you navigation to a sub album? When I click the link for site admin or use the drop down, it just redirects back to the initial page... Help!
Posts: 56
Nice, cheers tulsais.
Posts: 3
Hello, thanks for the awesome work on this!
I was wondering: Is there any roadmap/timeline for when the usermanagement/registration will be integrated? I know it's probably hard to say, but are you working on it?
I feel like I can't switch to G2 unless users can login to Mambo, and then go ahead and upload images as they please (depending on userlevel).
Though, I'm rushed to switch to G2, as G1.5 no longer works - I'm one of the many with the init.php popuperror. Don't wanna go back to an earlier Mambo to use 1.4.4 either
Well, thanks again for nice work so far!
Posts: 13
Again and again I didn't get it working. Everytime G2 alone was working but not in Mambo. I only got an empty page and when look at the source there was only a table def.
I didn't do anything for some weeks and today I read again all the postings and try it again. This time i started a complete fresh installation Mambo 4.5.1b and G2. I noticed 2 things which wasn't before, no writeable temp and a memory limit that wasn't 16M. I change that in the .htaccess file by appending these lines to the file:
php_value session.save_path "/home/httpd/vhosts/mydomain.com/httpdocs/tmp"
php_value memory_limit 16M
The first line is a tmp directory i made with CHMOD 777
YES! YES! YES! Now it's working. Thank you all for the help!
Posts: 34
got this error trying to integreat com_gallery2 into mambo admin page
filled in all the required stuff and click on Save.
got this error msg
Table 'mambo.mos_mambogallery2' doesn't exist SQL=UPDATE mos_mambogallery2 SET
value='var/www/html/gallery2/' WHERE field='path'
don't see anyone getting this error
i used this step to create gallery DB
MySQL
mysqladmin -uroot create gallery2
mysql gallery2 -uroot -e"GRANT ALL ON gallery2.* TO username@localhost IDENTIFIED BY 'password'"
i thought it might be the naming problem, so i replaced gallery2 with mos_mambogallery2. That did not help either.
another thing, can the gallery user login using 1 single ID to post pictures? meaning mambo user logging into the site and then clicking on gallery link gives him the same login
Posts: 33
I've been playing with G2 beta 2. I have the integration with Mambo 4.5.2 working fairly well. Something that's bugging me is the main gallery area with photo's or thumb's etc won't expand in width to use all available area. The top (with gallery name and welcome, . . .) does but the rest won't.
Hoping someone can point me where to fix this issue. If I launch G2 standalone the layout is good.
Posts: 164
I believe the thumbnail size is fixed. What you have to do is change the album layout in the gallery admin area to show, for example, 3 or 4 columns instead of 2.
Posts: 33
Actually it renders in the same amount of "total" space whether 1, 2, 3 or 4 columns. However, upon further investigation it appears the issue shows up when I use Firefox at resolutions over 1024x768 and expand the width of my browser. If I narrow my browser width down it pops into place and looks ok. MSIE renders OK at higher resolutions.
On my laptop using 1024x768 full screen Firefox, MSIE, Opera all render it fine. So not a big issue I guess, just a funny little bug is CSS or something.
Thanks.
Posts: 32509
rza, are you sure you are using the latest mambo integration module and the latest G2 version?
please download both from http://galleryupdates.jpmullan.com (current.gallery2.tar.gz and http://galleryupdates.jpmullan.com#integrations mambo.tar.gz.
Posts: 4
Any chance someone can take a look at my site
http://www.zerolight.co.uk/mambo/
clicking on Gallery 2 (beta) from the menu on the right...
Then tell me what the heck I've done wrong. Please.
My Gallery 2 install is here..
http://www.zerolight.co.uk/mambo/software/gallery2
Full Path: /home/dorrian/public_html/mambo/software/gallery2/
Relative: ./software/gallery2 or ../software/gallery2 (tried both)
Mambo: / or /mambo (i've tried both)
Thanks.
Posts: 32509
zerolight, i have no clue of mambo, but the error says not G2 is working incorrectly, but another mambo module, com_tfsformambo/tfsformambo.php is generating strange database errors.
Posts: 4
thanks valiant. unsinstalling TFS worked. wonder why it was getting in the way.
i don't suppose you know much about gallery 1.5? i just managed to screw that up now.
Posts: 32509
no, never worked on g1, sorry.
Posts: 34
hi,
sorry to post double topic as i did not see anyone helping.
got the latest from the site u gave and encountered errors during core installation.
funny thing is that those files dun exist at all in the current directory. wonder why there is a double // after g2data. i have removed the gallery2 dir and sub dir g2data and also old database by deleting gallery2 from /var/lib/mysql. created a new DB and install from there.
file_exists(/var/www/html/gallery2/g2data//cache/entity)
file_exists(/var/www/html/gallery2/g2data//cache/layout)
file_exists(/var/www/html/gallery2/g2data//cache/module)
file_exists(/var/www/html/gallery2/g2data//cache/derivative)
(mysql): SHOW TABLES
file_exists(/var/www/html/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc)
realpath(/var/www/html/gallery2/modules/core/classes/../../..)
Binding text domain: modules_core ->
/var/www/html/gallery2/modules/core/locale
file_exists(/var/www/html/gallery2/g2data//versions.dat)
Posts: 32509
rza, try again... empty g2data, new gallery2 codebase, empty database. (empty php cache if you have installed something like ioncube phpa or turk mmcache). perhaps restart apache.
it worked previously, so it should work again.
(and you didn't have to start from scratch, you could have upgraded as well)
Posts: 3
Perhaps I can find someone here to help me ...
Integrating g2 into mambo 4.5.2 works fine on my site, thanks to the coders!!
My problem now is:
When I click on my g2 link in my mambo sidebar, all the german "umlaute" like "ae" (=ä) or "oe" (=ö) in the rest of the navigation turn to a "�". This affects the hole navigation ... within g2 (standalone and integratetd version) the album names with "Umlaut" are all correct!
I don't know where to change a setting or if this is a general Problem?!
One other nice thing would be to change the german translation of g2, is there a possibility to change this without compiling a mo (or was it po) file? I tried to set up a cygwin environment ( http://www.rabinovich.org/gallery2/docs/ ) under winXP, but I failed
Hope my english is not too bad and I'm not asking in the wrong thread, thx for your help in advance!!!!
Greetz,
sulo
Posts: 32509
@umlauts: take a look at the <head> part of G2 and your mambo.
perhaps you can modify the <head> part somewhere in the mambo templates / source to have the same (correct) charset as G2.
i.e.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
Posts: 3
thnx valiant for your quick help, but when I change the mambo charset to UTF-8, the sidemenu is always scrambled with the strange signs.
g2 seems to override the mambo charset and therefore my browser (firefox+IE) changes to UTF-8
Does this problem only apear on my german side? Isn't there a switch in g2 to adjust to iso-8859-1 without compiling new language files?
Posts: 34
i tried removing the whole gallery2 dir,g2data but only miss out on empty cache and restart apache. how do u empty cache btw? i not sure whether it was installed with ioncube phpa or turk mmcache. maybe i should restart apache. i shall go home n do tat.
btw, i tried adding the component for mambo by installing it using admin page. it wasn't able to find the installation file. i tried using both .zip and .tar.gz file.
Posts: 32509
rza, forget about the php cache. probably you don't have installed such an accelerator.
- first step is getting G2 installed. does it work now?
- second step is getting mambo to work
- then install the gallery com module for mambo. probably you have to repack it, it has been discussed in this thread.
Posts: 34
i just clear everything as told. remove gallery2 DB and g2data and restart apache.
redo all the steps.
go to install core module.
the first step i got this in stack trace
Stack Trace:
Error (ERROR_STORAGE_FAILURE) : Error trying to load /var/www/html/gallery2/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql/Schema.sql
* in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1818 (gallerystatus::error)
* in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1507 (mysqldatabasestorage::_executesqlfile)
* in modules/core/classes/GalleryStorage.class at line 338 (mysqldatabasestorage::configurestore)
* in modules/core/classes/GalleryModule.class at line 132 (gallerystorage::configurestore)
* in install/steps/InstallCoreModuleStep.class at line 83 (coremodule::installorupgrade)
* in install/index.php at line 174 (installcoremodulestep::loadtemplatedata)
and follow by a long list below....
if i click on Install Gallery Core again, the errors will be shorten to the errors i posted. last thing now is i am going to reboot my server.
Posts: 34
ignore the above!!! i got it installed finally. downloaded current gallery file again and redo everything. it's working now!!!!
thanks valiant for your help. now to get integration working...
Posts: 34
arrghhhh...am still getting this error msg
Table 'mambo.mos_mambogallery2' doesn't exist SQL=UPDATE mos_mambogallery2 SET
value='var/www/html/gallery2/' WHERE field='path'
i see that mysql has Mambo and gallery2 directory residing on /var/lib/mysql
in mambo, there are files with names mos_mambo....
while in gallery2, there are files with names with g2_....
is my DB the problem??
Posts: 32509
rza, you're the only one with a mos_mambogallery2 problem.
AFAIK, there's no database table for the mambo integration component. what's this all about?
Posts: 164
I don't know if this helps but I have both mambo and G2 working together and took a look at my database to try and help out.
I too have two tables mos_mambo... and g2_...
I also have two seperate databases. One for Mambo and one for G2.
Posts: 32509
sure, mos_mambo... tables and g2_ tables, but mos_mambogallery2?
ah, i see. rza chose mos_mambogallery2 as the prefix for all mambo and g2 tables.
correct?
rza: mos_mambogallery2 as a prefix is too long. try a 0-5 character long prefix.
Posts: 5
Sulo,
no! not only in German. in French small squares renplace the carracteres with accent. Not finds solution. :cry:
jp
Posts: 164
**********************************************************
SORRY to double post this but this pertains to both the general embedding of G2 in Mambo and Gallery Remote
***********************************************************
I use Mambo with G2 integration and thought I'd mention what I've done to get this working.
I originally had my Mambo Global Configuration settings set to NOT use friendly URL setting (SEO tab --> Use Engine Friendly URL's = No).
This caused my website a lot of problems. I would get FORBIDDEN 403 errors / 404 URL Not Found erros all too often while browsing the site or even browsing pics in G2.
I also could not use the Gallery Remote because I couldn't figure out how to include the password and login name in the URL to set the proper embedded path in GR login. I was forced to uninstall the G2 embedded component then upload the pics to the G2 using GR in standalone mode. Then reinstalled the G2 embedding component. Real pain in the arse!!! I could use the web upload in G2 but that's only 4 pics at a time.....I usually have a lot to upload at once, so GR is a must for me.
Well, I changed Mambo Global Configuration ---> SEO tab --> Use Engine Friendly URL's = YES
Since then, I have not received ONE FORBIDDEN 403 / 404 URL Not Found error.
BUT, after making that change, I then could not upload pics to the site even when uninstalling the G2 component to try and upload pics in standalone mode. The reason for this is that after making the change. GR all of a sudden started giving me login errors stating the gallery_remote2.php was not found.
After finding the solution for that (read solution here: http://gallery.menalto.com/index.php?na ... &t=30112), I then was able to upload pics using GR in standalone mode EVEN THOUGH it's actually embedded.
All's working well now and I'm a happy camper.
I posted this because this solution took me a total of about 8 hours of reading to fix both the FORBIDDEN problem and GR login problem. Hopefully it helps others.
Posts: 34
i did not specify any special prefix at all...i left it as it is...arghh..wreaking my brains out...
i had G1 installed b4 but i used the admin page to uninstall it..maybe there is something left in there b4?
Posts: 164
rza,
During the Mambo install didn't it ask you to specify the table name? Maybe force it to "Mambo".
Posts: 34
Database type:mysql (all versions)
DB Hostname:localhost
DB Username:mysql
DB Password:***
DB Name:gallery2
Table Prefix:g2_
Column Prefix:g_
i changed it to mambo_ and also try changin it to mos_
still getting same errors...i am going home today to try n find out why it is asking for mos_mambogallery2
Posts: 34
found tat stinking problem!
in my /var/lib/mysql/Mambo, there were 3 files named mos_gallery2.* renamed them to mos_mambogallery2.* and it works now.
weird thing tat is happening is if i go directly to http://url/gallery2/index.php, i can do things like site admin, view account etc...
but if i click on the gallery link in my mambo homepage, http://url/index.php and login via there. i get permission errors when i click on site admin and your account
below are the errors
Error Detail -
Error (ERROR_PERMISSION_DENIED) :
* in modules/core/UserPreferences.inc at line 172 (gallerystatus::error)
* in modules/core/UserAdmin.inc at line 143 (userpreferencesview::loadtemplate)
* in modules/core/classes/GalleryView.class at line 214 (useradminview::loadtemplate)
* in main.php at line 295 (useradminview::doloadtemplate)
* in main.php at line 79
* in modules/core/classes/GalleryEmbed.class at line 139
* in /var/www/html/components/com_gallery2/gallery2.php at line 90 (galleryembed::handlerequest)
* in /var/www/html/index.php at line 182
Posts: 34
now even i cant add items from gallery2 mainpage
Database Error
An error has occurred while interacting with the database.
The exact nature of database errors is not captured unless Gallery debug mode is enabled in config.php. Before seeking support for this error please enable buffered debug output and retry the operation. Look near the bottom of the lengthy debug output to find error details.
Error (ERROR_STORAGE_FAILURE)
* in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1164 (gallerystatus::error)
* in modules/core/classes/GalleryStorage.class at line 220 (mysqldatabasestorage::search)
* in modules/core/classes/Gallery.class at line 223 (gallerystorage::search)
* in modules/watermark/classes/WatermarkHelper.class at line 89 (gallery::search)
* in modules/watermark/WatermarkOption.inc at line 73 (watermarkhelper::fetchwatermarks)
* in modules/core/ItemAdd.inc at line 486 (watermarkoption::isappropriate)
* in modules/core/ItemAdd.inc at line 311 (itemaddoption::getalladdoptions)
* in modules/core/ItemAdmin.inc at line 153 (itemaddview::loadtemplate)
* in modules/core/classes/GalleryView.class at line 214 (itemadminview::loadtemplate)
* in main.php at line 295 (itemadminview::doloadtemplate)
* in main.php at line 79
* in main.php at line 70
Posts: 34
i tink i post my gallery for u to see
http://devilsunited.homelinux.com:8080/index.php?option=com_gallery2&Itemid=35
Posts: 32509
rza, i don't know what you are doing wrong.
1. reinstall G2, standalone. get standalone working.
2. deactivate the url rewrite module in G2
3. then try again installing the com_g2 module in mambo
perhaps a mambo user can assist you.
Posts: 164
Valiant's right, you should get G2 standalone working properly first. Then you can get help embedding G2 in Mambo.
By the looks of your errors you have your "g2data" folder outside your gallery install folder "gallery2". Make sure you have permission to write to the g2data folder.
Posts: 100
When I open up the G2 script standalone there are no issues, yet when I open it up as a component in Mambo, the actual images don't show up, only the placeholders. I see from reading the forums that this is a common issue and it has to do with proper path settings. I tried playing around with different settings in g2 settings component yet got nothing. Here are my settings, please correct me if I'm wrong somewhere, thank you.
Using the latest g2 mambo component CVS for both component and module:
com_gallery2
mod_g2_sidebar
From 2005/04/05
site's url: www.d3v.clanhq.net/mambo/
gallery2 urls www.d3v.clanhq.net/gallery2/
gallery2/g2data is CHMOD'ed to 777
Gallery Component Settings
Full Path to Gallery G2: /home/d3v/public_html/gallery2/
Relative path to Gallery G2: ../gallery2
Path to Mambo: /
embedUri: index.php?option=com_gallery2&Itemid=159 [159 taken from menu>main menu>item id in mambo]
Login page redirect: index.php
Display G2 Sidebar: NO
Display G2 login: NO
Use mirrored user logins: NO
Run user setup script: NO
Enable auto-album creation: NO
Posts: 164
I would guess your Path to Mambo would be: "/mambo"
Also try your Relative pathe do Gallery G2: "./gallery2"
Posts: 100
Tried both suggestions. Did not work. Anyone else?
Actually maybe this is a diffrent issue after all. When I click on the placeholders for the images, now i get PageNotFound error with
"The requested URL /mambo/index.php was not found on this server"
Since index.php is the place to where users who have no access are meant to be redirected, then maybe this is an authentication error.
Any thoughts on this at all? The URL for the G2 and all the settings are still the same as listed in the post above.[/b]
Posts: 2
Does the G2 Mambo integration project have a home? I am having difficulty finding links to downloads and such. I don't see anything on mamboforge.net under gallery2 and g2 is too short to search for.
Posts: 100
Just this thread and you can get the latest cvs builds from sourceforge or from attachment on thread pages.
Posts: 2
Why not setup a Mamboforge page for it with downloads and all?
Posts: 100
Up to the originators of this thread.
Posts: 25
Any idees why ?
--------------------- httpd Begin ------------------------
A total of 1 sites probed the server
66.249.194.46
A total of 14 unidentified 'other' records logged
GET //test2/gallery2/images/xhtml10.png?g2_GALLERYSID=d886bfc751368ff1da09f83b72ffefa3 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/gallery.gif?g2_GALLERYSID=7ef2e65cd833314558fcdad5cb42f58d HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/gallery.gif?g2_GALLERYSID=0d5dfb0e1ddf9370e91ba5eaea3f779c HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/xhtml10.png?g2_GALLERYSID=f57c2fcce65b8a72f9d688654a68a6bc HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/gallery.gif?g2_GALLERYSID=d886bfc751368ff1da09f83b72ffefa3 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/xhtml10.png?g2_GALLERYSID=f7f73b097ad55c09431c6bea0aacdfe9 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/xhtml10.png?g2_GALLERYSID=5005ef445f2c8cfe23632d40a6f83854 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/xhtml10.png?g2_GALLERYSID=0d5dfb0e1ddf9370e91ba5eaea3f779c HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/gallery.gif?g2_GALLERYSID=c0f58a0975d6f12bd7cefd4ecc76c257 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/gallery.gif?g2_GALLERYSID=5005ef445f2c8cfe23632d40a6f83854 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/xhtml10.png?g2_GALLERYSID=7ef2e65cd833314558fcdad5cb42f58d HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/gallery.gif?g2_GALLERYSID=f7f73b097ad55c09431c6bea0aacdfe9 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/xhtml10.png?g2_GALLERYSID=c0f58a0975d6f12bd7cefd4ecc76c257 HTTP/1.1 with response code(s) 2 200 responses
GET //test2/gallery2/images/gallery.gif?g2_GALLERYSID=f57c2fcce65b8a72f9d688654a68a6bc HTTP/1.1 with response code(s) 2 200 responses
---------------------- httpd End -------------------------