Drupal 4.6 + G2
R1Power
Joined: 2003-07-30
Posts: 6 |
![]() |
Hi, Also if I use www.mydomain.com in the browser the image block and embeded gallery can't display any images. Gallery and gallery.module have been updated from cvs What have I missed in my config? Many thanks in advance. |
|
MichelleC
Joined: 2005-04-16
Posts: 42 |
![]() |
It looks as though you have clean URLs on in your Gallery and not in Drupal. This may be confusing it. Your thumbnails point to, for example, http://tchia.com/gallery/Winter.jpg.html but your photo is actually at http://tchia.com/?q=gallery/Winter.jpg.html from Drupal's perspective. As for the www problem, I've noticed that as well but haven't had a chance to look into it. Michelle |
|
kiz_0987
Joined: 2005-02-27
Posts: 189 |
![]() |
You may want to try this: http://drupal.org/node/32389 Another option (untested) is to use symbolic links in your sites subdir for www.example.com and example.com (see multi-site drupal setup -- eve if you do not use multi-site this may work). |
|
R1Power
Joined: 2003-07-30
Posts: 6 |
![]() |
Thanks Michelle, I fixed the clean URL issue by removing the module from drupal and G2. Somehow I can't get the image to display with ModRewrite, anyhow am not too fuss it is working now. Still trying to solve why I can't use www.domain. However both drupal and G2 does work with www.domain standalone. Cheers |
|
R1Power
Joined: 2003-07-30
Posts: 6 |
![]() |
Hi Kiz Cheers |
|
Shiva Thomas
![]()
Joined: 2005-10-03
Posts: 1 |
![]() |
Gallery 2.0 and Drupal 4.6.3 work quite nicely for me. Thanks for the integration. |
|
schultmc
![]()
Joined: 2003-05-21
Posts: 108 |
![]() |
I just migrated one of my PostNuke sites to Drupal 4.6.3 and have successfully integrated Gallery 2.0.1 into my Drupal site but I'd like to turn off some of the Gallery UI so it looks more like the gallery intergrated here on GMC. I'm fine w/ a RTFM answer, but I followed the integration docs on Codex and my result is what's currently on the VandyLand site, not GMC. What do I need to do?
-- Debian gallery package maintainer |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
better ask bharat / mindless about the changes applied to GMC... |
|
michellex
Joined: 2005-12-03
Posts: 13 |
![]() |
Has anyone tried to embed a G2 multisite with one Dupal? Thanks, |
|
lvthunder
Joined: 2003-09-12
Posts: 808 |
![]() |
I don't know if this will work or not but you can try copying the g2 module to a file with a different name and point the second one to the other gallery, or just make the gallery theme look like your drupal theme so it looks embeded but it really isn't. The second option isn't very good if you are actually allowing other people to upload to G2. |
|
michellex
Joined: 2005-12-03
Posts: 13 |
![]() |
I got it to work. Just for future reference for anyone else who wants to do this, here's what I did: Rename the gallery module folder to whatever your module name is gonna be. Upload the new folder to the gallery modules directory. Do the multisite install. It's embedded now! |
|
michellex
Joined: 2005-12-03
Posts: 13 |
![]() |
No. Scratch that. The link works from the front_page, but not from anywhere else. I get the following error: user error: Duplicate entry '1-DesignUser' for key 1 Fatal error: Duplicate entry '1-DesignUser' for key 1 query: INSERT INTO watchdog (uid, type, message, severity, link, location, hostname, timestamp) VALUES (1, 'php', 'Duplicate entry '1-DesignUser' for key 1 query: INSERT INTO watchdog (uid, type, message, severity, link, location, hostname, timestamp) VALUES (1, 'design', 'Unable to initialize embedded Design<br/>Error (ERROR_STORAGE_FAILURE)<ul><li><b>in</b> modules/core/classes/GalleryStorage/DatabaseStorage.class <b>at line</b> 1238 (gallerystatus::error) <li><b>in</b> modules/core/classes/GalleryStorage.class <b>at line</b> 294 (mysqldatabasestorage::addmapentry) <li><b>in</b> modules/core/classes/interfaces/ExternalIdMap.inc <b>at line</b> 96 (gallerystorage::a in /home/steelvei/public_html/drupal/includes/database.mysql.inc on line 66 Fatal error: Duplicate entry '1-DesignUser' for key 1 query: UPDATE sessions SET uid = 1, hostname = '68.184.236.163', session = 'messages|a:0:{}watchdog_overview_filter|s:3:\"all\";file_uploads|a:0:{}', timestamp = 1139153610 WHERE sid = 'c5abefdafd729c0a432f1c6e06d3042b' in /home/steelvei/public_html/drupal/includes/database.mysql.inc on line 66 Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0 [edit] |
|
michellex
Joined: 2005-12-03
Posts: 13 |
![]() |
New problem. I should note too that this only happens in guest mode. When I'm logged in all is well. Thanks again! |
|
rtconner
Joined: 2006-02-16
Posts: 3 |
![]() |
Anyone know if there is a roles hook in drupal? I can't find one. Some way of the g2 mod knowing if roles are added or removed. That way a g2 mod can add or remove g2 groups. Its very buggy and this really can't be done right if there is no such hook. |
|
fermi
Joined: 2006-11-16
Posts: 4 |
![]() |
Hi, I have this configuration: Gallery version = 2.0.4 core 1.0.0.4 I have a gallery that I wish embed with drupal 4.6.3. The problem is that to get into the drupal portal I do it throught http://subdomain.domain.com, and this is an alias of http://www.domain.com/subdomain. The gallery is installed in http://www.domain.com/subdomain/photogallery. When I upload the gallery module, it doesn't recognize the gallery. In fact when I switch on the gallery bloc, the link that shows (doesn't show any thumbmail) it's http://subdomain.domain.com/v/fotos/album/subalbum/photopage.html and if I click on the link, appears the not found page. Thanks in advance, Fermí |
|
kiz_0987
Joined: 2005-02-27
Posts: 189 |
![]() |
You have not set up URL rewrite properly. Check the install guide. |
|
fermi
Joined: 2006-11-16
Posts: 4 |
![]() |
kiz_0987 wrote:
You have not set up URL rewrite properly. Check the install guide. What ought I touch? Where? (in drupal or in the gallery?). Thanks, Fermí |
|
kiz_0987
Joined: 2005-02-27
Posts: 189 |
![]() |
fermi
Joined: 2006-11-16
Posts: 4 |
![]() |
Hi kiz, Thanks for your support. I haver read it, and my htaccess. Now I have to tell you that I didn't explains so well the problem so I'll do it now. As it seems, the RewriteEngine is On, and the RewriteBase is /dir/photogallery. The problem that I have (I think) is that the drupal site is called by http://subdomain.domain.com/ and that this is a permanent redirection to http://www.domain.com/dir/ . But when I activate the gallery2 module at drupal, it doesn't get the pictures (appears a link), and the link to se site is http://subdomain.domain.com/picture.jpg.html , and as you can see , the fact is that it should appear http://subdomain.domain.com/photogallery/picture.jpg.html. So , what should I change on the htaccess? Thanks for your help, Fermí. |
|