Status: offline

squirrellydw

Forum User
Junior
Registered: 02/08/06
Posts: 33
Well I installed the GL_Gallery2 Plugin and I am having a few problems.

See below, got the first problem fixed

Status: offline

squirrellydw

Forum User
Junior
Registered: 02/08/06
Posts: 33
ok, I got the images to show up however I can only see them when I am logged out, whats up with that?

Also when I click on a picture it takes me out of geeklog, I have no header so no way to get back to the main site.

Status: offline

jaapvdv

Forum User
Newbie
Registered: 03/02/06
Posts: 1
After installing the GL_Gallery2 plugin I am confronted with the same problem.
Gallery2 stand-alone works fine, Gallery2 embedded in Geeklog also seems to function properly, except for the fact that no image are shown.
All I see are broken image icons. Not only for the images in my albums, also for the Gallery2 logo and the other images in Gallery2 itself. Can someone help?

Status: offline

stolidus

Forum User
Newbie
Registered: 03/07/06
Posts: 14
I have the same problem. Install went fine, but no images. Empty boxes.

I followed Gallery2 recommendation to store data outside of webtree, is this the prob? C:g2data is where the images are. Gallery2 works fine independently. Anybody with an idea? Thanks in advance.

Status: offline

stolidus

Forum User
Newbie
Registered: 03/07/06
Posts: 14
I only have the gd graphics toolkit installed is that it?

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
Which Gallery version are you using? Looks like you are using a windows server, apache or IIS?

if IIS look here.

GL_Gallery2 0.5.0 only works with Gallery 2.0.x or lower.
I have a version that works with Gallery 2.1.
Let me know if you are interested. I need some testers.
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com

Status: offline

squirrellydw

Forum User
Junior
Registered: 02/08/06
Posts: 33
Quote by suprsidr: Which Gallery version are you using? Looks like you are using a windows server, apache or IIS?

if IIS look here.

GL_Gallery2 0.5.0 only works with Gallery 2.0.x or lower.
I have a version that works with Gallery 2.1.
Let me know if you are interested. I need some testers.


Here is what I am running, I still can't get it to work correctly. I will update to 2.1 when its final.

Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.2 cgi-fcgi
Webserver = Apache/1.3.34 (Unix) mod_fastcgi
Database = mysql 4.0.26-log

Status: offline

stolidus

Forum User
Newbie
Registered: 03/07/06
Posts: 14
Hey there,

Righto, windows, apache. I fixed it. The only thoing that seemed to work is changing the way my slashes hang. the relative path had to be unix format /../yadayada and direct g2 path had to be C:backslash...backslash...backslashetc. Very interesting.

Now I'm having a problem locking everything down. I changed permissions on Gallery2 to make everyone sign-in so that the site is not just hanging open and when I did that my geeklog site is redirected to http://my.site.net/gallery2/usr.php and of course a 404 error shows saying it is not available. No matter how I came in the webroot index.php was sending to webroot/gallery2/users.php

Well I have the G2 site hanging open again just to keep my geeklog site accessible.

I've played with the permissions and have reached my limit. I don't know where to go from here. Any help? Thanks in advance.

Why doesn't the forum allow backslash ? oh well.

Status: offline

dingo

Forum User
Newbie
Registered: 03/14/06
Posts: 1
I had a similar issue with Gallery 2.0.3 and GL_Gallery2 0.5.0 running under Apache and Linux. After installing GL_Gallery2 I could do everything in Gallery except see photos.

I found that my relative path was incorrect in the config.php for GL_Gallery2. My setup is as follows:

Gallery2 is at "/var/www/gallery"
The Geeklog public_html is at "/var/www/html"
GL_Gallery2 is at "/var/www/html/GL_Gallery2".

Based on this I entered a path of "../../gallery" for the relative path configuration.

After quite a bit of uninstalling/reinstalling/reading, I found that the relative path is based on a brower's relative path or a web relative path - not a OS level relative path.

I have an alias set up in the apache config so that the gallery pages can be accessed directly via http://www.mydomain.com/gallery.

Changing my path to "../gallery" for my relative path fixed my issue.

To hopefully further clear up:

  • When you access http://www.mydomain.com you are accessing the document root of the web server... or "./" in relative terms.
  • When accessing GL_Gallery2 pages I am accessing http://www.mydomain.com/GL_Gallery2. Or ./GL_Gallery2 in relative terms from the document root.
  • When accessing the gallery I am, via the Alias, accessing http://www.mydomain.com/gallery... or ./gallery in relative terms from the document root.


From this, the relative browser/web path from http://www.mydomain.com/GL_Gallery2 to http://www.mydomain.com/gallery is ../gallery.

Since I have made the change to my config.php everything is working as expected!

Hope this helps.

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
Now I'm having a problem locking everything down. I changed permissions on Gallery2 to make everyone sign-in so that the site is not just hanging open and when I did that my geeklog site is redirected to http://my.site.net/gallery2/usr.php and of course a 404 error shows saying it is not available. No matter how I came in the webroot index.php was sending to webroot/gallery2/users.php


The redirect problem is an easy fix. in path_to_geeklog/plugins/GL_Gallery2/functions.inc look for the init function somewhere around line 707 you will see a loginRedirect
it should read 'loginRedirect' => $_CONF['site_url'].'/users.php';

and the path thing, I hope to fix in the next release.


Cheers

FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
As for squirrellydw I think you still have a path issue, or you have the url_rewrite module active and not setup properly.

Another possibility is that your user id did not get mapped properly during install. Its happened to me several times during testing.
If you login using another username do you see the images? do they link to the right place?

what version of GL_Gallery2 are you using?
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com

squirrellydw

Anonymous
Quote by suprsidr: As for squirrellydw I think you still have a path issue, or you have the url_rewrite module active and not setup properly.

Another possibility is that your user id did not get mapped properly during install. Its happened to me several times during testing.
If you login using another username do you see the images? do they link to the right place?

what version of GL_Gallery2 are you using?


Here is what I am running, I still can't get it to work correctly. I will update to 2.1 when its final.
I can give you access to my site if you wantto try it?


Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.2 cgi-fcgi
Webserver = Apache/1.3.34 (Unix) mod_fastcgi
Database = mysql 4.0.26-log

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
Well, looking at your site (I was actually there the other day ) your paths should look something like this
Text Formatted Code
$_GLG_CONF['G2_path'] = '/home/suprsidr/www/testbed/public_html/gallery2';

$_GLG_CONF['G2_relative_path'] = '../gallery2/';
 


if they do, we will try something else.
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com

Status: offline

squirrellydw

Forum User
Junior
Registered: 02/08/06
Posts: 33
I uninstalled everything, I will try it again unless you want to

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
I'm available for chat on msn suprsidr-at-hotmail, aim suprsidr-at-aol, skype suprsidr

would be easier
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com

Status: offline

stolidus

Forum User
Newbie
Registered: 03/07/06
Posts: 14
Quote by suprsidr:
Now I'm having a problem locking everything down. I changed permissions on Gallery2 to make everyone sign-in so that the site is not just hanging open and when I did that my geeklog site is redirected to http://my.site.net/gallery2/usr.php and of course a 404 error shows saying it is not available. No matter how I came in the webroot index.php was sending to webroot/gallery2/users.php


The redirect problem is an easy fix. in path_to_geeklog/plugins/GL_Gallery2/functions.inc look for the init function somewhere around line 707 you will see a loginRedirect
it should read 'loginRedirect' => $_CONF['site_url'].'/users.php';

and the path thing, I hope to fix in the next release.


Cheers


should read 'loginRedirect' => $_CONF['site_url'].'/users.php',

should end with comma not semi-colon

tiny but significant for those who don't write code.

Thanks, I'm giving it a try now.

Status: offline

stolidus

Forum User
Newbie
Registered: 03/07/06
Posts: 14
The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

* This problem can sometimes be caused by disabling or refusing to accept
cookies.

This is the page I get when replacing the line of code as directed. Any thoughts?

I am taking away all rights from the 'Everybody' group in order to force log-in and restrict viewing permissions to select groups on my geeklog site.

As soon as I remove 'Everybody' group permissions and logout, then the redirect situation is a problem.

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
this is a problem we had on another site.
do your image blocks get rendered on users.php like in the left blocks?

Basically the page that gallery redirects to(users.php) is asking for permission to view a gallery object, and then redirecting again.
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com

Status: offline

squirrellydw

Forum User
Junior
Registered: 02/08/06
Posts: 33
Thanks suprsidr, you are great.

Status: offline

stolidus

Forum User
Newbie
Registered: 03/07/06
Posts: 14
the random photo block does, apparently. I disabled the random photo block and all is well. Except of course random photo block doesn't work. First I tried to reset group to all users to see if it would keep from redirecting to users.php, but nope. Set it back to my 'family' group and disabled it altogether. Is there a way to get random photo to work after log-in. I didn't think this was an issue because I had the block set to a specific group and assumed the call for the object did not happen till log-in. I guess it needs to render on first call. Is this an order problem in the code? Any suggestions would be appreciated. Thanks again suprsidr.

Page navigation