Gallery2 Trouble

Having trouble installing serendipity?
Post Reply
smartieskiller
Regular
Posts: 43
Joined: Sun Mar 12, 2006 3:15 am

Gallery2 Trouble

Post by smartieskiller »

Ok i've installed this great tool (Menalto gallery-2.1-rc-2a-full ) and it work but when i'm embed it i could not loggin into my serendipity blog !!! but if i try directly without serendipity blog ,i can ???? LOOOL surely a bad process from me.
  • Gallery 2 System Directory : /homepages/35/d144540310/htdocs/blogdeletrange/serendipity/gallery2/
    Gallery 2 HTTP Path : /gallery2/
    Serendipity Embed File Name : gallery2
    Headline : Galerie Photo
    URL shorthand name (Backwards compatibility) : gallery2
    Font size for the gallery div. : 1.6em
    Width for the gallery div. : 670px
My blog: http://www.leblogdeletrange.fr
My gallery http://www.leblogdeletrange.fr/gallery2

So when under the blog i try to login to the gallery admin it doesn't do it and getting me in anither page.
Sorry for bad english but it's not my first language.I'm sure that if you look my gallery you'll see what i mean.

Thx in advance.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Gallery2 Trouble

Post by garvinhicking »

Hi!

YOu should not install other applications in the serendipity main directory. Instead you should install them on a different directory level.

Or you need to disable mod_rewrite URL rewriting.

Serendipity cannot handle URL rewiring PLUS having gallery2 in its subdirectory with its own handling.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
smartieskiller
Regular
Posts: 43
Joined: Sun Mar 12, 2006 3:15 am

Post by smartieskiller »

it's desable in conifg panel "mod_rewrite URL rewriting."
and i'll try to put gallery in another directory
smartieskiller
Regular
Posts: 43
Joined: Sun Mar 12, 2006 3:15 am

Post by smartieskiller »

i'm doing like you said but always same thing.

Serendipity Directory :
/homepages/35/d144540310/htdocs/blogdeletrange/serendipity/
Gallery 2 System Directory :
/homepages/35/d144540310/htdocs/blogdeletrange/gallery2/
Gallery 2 HTTP Path : /gallery2/
Serendipity Embed File Name : gallery2
Headline : Galerie Photo
URL shorthand name (Backwards compatibility) : gallery2
Font size for the gallery div. : 1.6em
Width for the gallery div. : 670px

and it doesn't change anymore.
I'm using the Freshy theme and for yhe like i put this:
index.php?serendipity[subpage]=gallery2 pehaps it's that the error ???? but if it's that what should i put in the link section ???

thx in advance
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Uhm, no, the problem is not the CONFIGURATIOn of the Blog, it'S your actual FTP!

It seems you've put the gallery2 application inside the serendipity directory! That shouldn't be done, that's what I've meant. Only changing it in the plugin configuration does not put the gallery2 installation somewhere else...

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
smartieskiller
Regular
Posts: 43
Joined: Sun Mar 12, 2006 3:15 am

Post by smartieskiller »

garvinhicking wrote:Hi!

Uhm, no, the problem is not the CONFIGURATIOn of the Blog, it'S your actual FTP!

It seems you've put the gallery2 application inside the serendipity directory! That shouldn't be done, that's what I've meant. Only changing it in the plugin configuration does not put the gallery2 installation somewhere else...

Best regards,
Garvin
look my last post i don't put it il the same directory i put it in another directory.
did you mean that i must put gallery2 on another server and serendipity on this one ??
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Maybe you can describe in which path you installed serendipity and in which path you installed Gallery2, and what is the URL of serendipity and what is the URL of Gallery2.

IT should be something like this:

Serendipity: /home/www/myhost.com/serendipity/
Gallery2: /home/www/myhost.com/gallery2/
Serendipity HTTP: http://myhost.com/serendipity/
Gallery2 HTTP: http://myhost.com/gallery2/

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
scottwalsh
Regular
Posts: 17
Joined: Sun May 20, 2007 9:05 am
Contact:

Post by scottwalsh »

It is possible to run gallery2 in a sub-directory under serendipity with no major issues (although there may be good reasons not to that I'm not aware of).

The trick is modifying the htaccess after setting up serendipity.

My set up is along the lines of:

Code: Select all

Serendipity: /home/www/myhost.com/
Gallery2: /home/www/myhost.com/gallery2/
Serendipity HTTP: http://myhost.com/
Gallery2 HTTP: http://myhost.com/gallery2/
After finishing config of serendipity, modify the .htaccess file. Look of the follow line near the top of .htaccess

Code: Select all

DirectoryIndex /index.php
and remove the /, changing it to:

Code: Select all

DirectoryIndex index.php
Gallery2 should now work under the serendipity directory.

A key point to note though, is some config changes (anything to do with url rewriting), causes serendipity to re-generate the .htaccess file. If you do that sort of config change, you need to repeat the above step.
------

Scott Walsh

http://zone3.net.nz/
profile, journal of travels and photos
luper
Regular
Posts: 5
Joined: Fri Jun 29, 2007 4:26 pm
Contact:

Post by luper »

thank you... I couldn't just do mysite.com/gallery or /forum but now I can. It's so simple! lol thanks
Post Reply