Welcome to Geeklog, Anonymous Friday, April 26 2024 @ 11:36 am EDT

Geeklog Forums

GL_Gallery2


mwc

Anonymous
Hey guys,

I am close (I hope) to completing the integration of Gallery2 into my GeekLog site. I am having a problem with links. Have spent much time on this and would appreciate any help!


Behavior: I can see the Gallery2 menu with links to the names of my photo albums in the left hand column of my GeekLog site. If I click on the "Gallery" link, GL displays the top-level page of my Gallery2 site, but no picks display. If instead of clicking on "Gallery" I click on the link for one of my albums, I get a 404. So, using GL_Gallery2 inside GL I can pull up the home page of my Gallery 2 (w/ no pics diaplyed) but get a 404 for any othe rlocation in my Galler2 site.

My Gallery2 site is fine as stand-alone site - it is only within GL that I get the 404s. So is my GL site - no 404's in either one.


Log files:
Apache error.log
[Sun Jul 23 23:56:50 2006] [error] [client 192.168.1.101] File does not exist: C:/Documents and Settings/Mike/My Documents/websites/prod/gl/GL_Gallery2/v, referer: http://192.168.1.102/gl/GL_Gallery2/index.php?g2_GALLERYSID=8eb48f21ebddfe5b25d1bf5194ef3f02
[Mon Jul 24 00:02:47 2006] [error] [client 192.168.1.101] File does not exist: C:/Documents and Settings/Mike/My Documents/websites/prod/gl/GL_Gallery2/v, referer: http://192.168.1.102/gl/

Apache access.log:
192.168.1.101 - - [23/Jul/2006:23:56:50 -0400] "GET /gl/GL_Gallery2/v/Ireland-Test/ HTTP/1.1" 404 306
192.168.1.101 - - [24/Jul/2006:00:02:47 -0400] "GET /gl/GL_Gallery2/v/Jamaica2004/?g2_GALLERYSID=8eb48f21ebddfe5b25d1bf5194ef3f02 HTTP/1.1" 404 305

GeekLog error.log also often has this error:
07/23/06 23:47:00 - Error (ERROR_CONFIGURATION_REQUIRED)<b>in</b> CBig Grinocuments and SettingsMikeMy Documentswebsitesprodgrootgallery2modulescoreclassesGalleryEmbed.class <b>at line</b> 764 (GalleryStatus::error)
<b>in</b> C:progsgeekloggeeklog-1.4.0sr2pluginsGL_Gallery2functions.inc <b>at line</b> 441 (GalleryEmbed::getImageBlock)
<b>in</b> CBig Grinocuments and SettingsMikeMy Documentswebsitesprodgllib-common.php <b>at line</b> 3188
<b>in</b> CBig Grinocuments and SettingsMikeMy Documentswebsitesprodgllib-common.php <b>at line</b> 3139
<b>in</b> CBig Grinocuments and SettingsMikeMy Documentswebsitesprodgllib-common.php <b>at line</b> 1175
<b>in</b> CBig Grinocuments and SettingsMikeMy Documentswebsitesprodglindex.php <b>at line</b> 238



Environment & installation notes:
- apache 2.0.55
- PHP 5.1.4
- Gallery2 2.0.2
- GeekLog 1.4.0sr2
- GL_Gallery2 plugin 0.50

Gallery2 publicly available files are installed here:
CBig Grinocuments and SettingsMikeMy Documentswebsitesprodgrootgallery2

GL publicly available files are installed here:
CBig Grinocuments and SettingsMikeMy Documentswebsitesprodgl

$_GLG_CONF['G2_path'] = 'CBig Grinocuments and SettingsMikeMy Documentswebsitesprodgrootgallery2';

$_GLG_CONF['G2_relative_path'] = '../../groot/gallery2'; //changed this to UNIX format based on forum posting

After installing GL_gallery2, I uninstalled and reinstalled URL Rewrite in Gallery2

I modified (per previous postings) functions.inc as follows:
'loginRedirect' => 'users.php',
changed to:
'loginRedirect' => $_CONF['site_url'].'/users.php',


<b></b><b>
 Quote

All times are EDT. The time is now 11:36 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content