Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 02:46 am EST

Geeklog Forums

Geeklog Gallery Integration


EsmereldaPea

Anonymous

Downloaded and installed both yesterday. Had Gallery installed just fine. Made manual edits exactly as instructed to integrate, now when I tried to go to the gallery, I get the following errors:

Parse error: parse error, unexpected '}' in /usr/home/*****/www/gallery/init.php on line 202

Fatal error: Cannot instantiate non-existent class: albumdb in /usr/home/*****/www/gallery/albums.php on line 34

I have tried removing brackets to no avail. I'm also not really sure why I'm getting the other error. I'm not a PHP whiz by any stretch, but I can sometimes troubleshoot simple problems. I did do the permissions hack posted in help a little bit ago that was supposed to be added to the CVS (but, I don't know nothing 'bout no CVS, so I used the standard download).

Gallery doesn't have to be installed INSIDE the geeklop directory, does it (mine isn't)?? Can anyone help?

 Quote

Anonymous

Anonymous
The only "manual edit" in the Gallery-Geeklog integration is the addition of two lines in the Gallery/config.php $GALLERY_EMBEDDED_INSIDE = "geeklog"; $GEEKLOG_DIR = '/path/to/geeklog/html' The path tells Gallery where to find lib-common.php. Make sure your path is correct. The rest of the integration requires NO editing of files. The files are copied over the existing files and the Geeklog folder is added to the classes directory. NOTE: The integration is for Gallery 1.3.3; it DOES NOT work for the new Gallery 1.3.4rc2.
 Quote

EsmereldaPea

Anonymous

I am using Gallery 1.3.3, so there's no problem there. There ARE instructions for a manual install, and that's what I did.

I just tried copying the files in the distribution over instead of the manual install, and that fixed it. I did see two glaring errors in the instructions - the closing semicolon in the edit to config.php was left off (which would affect even those doing NOT doing a manual install), and in the manual install instuctions for util.php, the opening curly bracket at the end of the line being replaced was left off, and then whatever else was causing my error.

Ok, another question - When I try to add an image to a story, it tells me that the image "does not meet width limitations (is: 640, max: 300)" How does Gallery integrate exactly with Geeklog - is the integration just placing it in the geeklog wrapper? If so, is there another tighter integration with something that would allow me to make use of ImageMagick's features from within Geeklog, OR alternately, let me select from images in the Gallery to place in my story?

I know I might be asking too much . . . but a girl can dream, can't she?

 Quote

Anonymous

Anonymous
Gallery has nothing to do with images in stories in Geeklog. The limits on images in Geeklog stories are set in Geeklog.
 Quote

Status: offline

vinny

Site Admin
Admin
Registered: 06/24/02
Posts: 352
Location:Colorado, USA
I know it isn't much use to you now, but I've fixed these two problems with the README file in CVS and they will be included in the next release of the integration. Thanks for letting us know about these problems. -Vinny
 Quote

All times are EST. The time is now 02:46 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