Page 1 of 1

Gallery2 Trouble

Posted: Mon May 21, 2007 4:39 pm
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.

Re: Gallery2 Trouble

Posted: Mon May 21, 2007 4:44 pm
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

Posted: Mon May 21, 2007 8:17 pm
by smartieskiller
it's desable in conifg panel "mod_rewrite URL rewriting."
and i'll try to put gallery in another directory

Posted: Tue May 22, 2007 2:29 pm
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

Posted: Tue May 22, 2007 3:49 pm
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

Posted: Wed May 23, 2007 12:22 am
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 ??

Posted: Wed May 23, 2007 11:44 am
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

Posted: Sat Jun 16, 2007 8:23 am
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.

Posted: Sat Jun 30, 2007 12:10 pm
by luper
thank you... I couldn't just do mysite.com/gallery or /forum but now I can. It's so simple! lol thanks