Page 1 of 1

[Resolved] Subdomain and gallery2

Posted: Fri Aug 31, 2007 2:17 pm
by Nihilists
The blog is installed on a subdomain called brian:
http://brian.mysite.com

The gallery is installed at:
http://www.mysite.com/gallery

I have both gallery plugins installed and edited them "correctly"

The following links were pulled off the page:
http://brian.mysite.com/index.php?/gallery

Shortcut from a single image:
http://brian.mysite.com/gallery/main.ph ... a51e803a10

Image Location:
http://brian.mysite.com/gallery/main.ph ... a51e803a10

I know what the lines should look like... replace brian with www, but I can't seem to find out where this is.

Thanks in advance,
-Brian

Re: Subdomain and gallery2

Posted: Fri Aug 31, 2007 2:52 pm
by garvinhicking
Hi!

Can you make a screenshot or tell your full installation? In the serendipity_event_galleryimage plugin you should usually only need to enter the full "http://..../gallery/" address for the input variable "URL of Gallery".

Regards,
Garvin

Posted: Fri Aug 31, 2007 3:02 pm
by Nihilists
Gallery2 Embed: /index.php?/gallery
Gallery 2 System Directory:
/home/content/[fullpath]/html/gallery/
Gallery 2 HTTP Path:
http://www.mysite.com/gallery/
Serendipity Embed File Name:
http://www.mysite.com/gallery/main.php
URL shorthand name:
/index.php?/gallery

Markup: Gallery Image
URL of Gallery:
http://www.mysite.com/gallery/
URL of the Gallery album directory:
http://www.mysite.com/gallery/
Absolute gallery-path:
/home/content/[fullpath]/html/gallery/
Absolute album-path:
/home/content/[fullpath]/html/gallery/

Posted: Fri Aug 31, 2007 3:04 pm
by Nihilists
I did change a few things in:
serendipity_event_g2embeded.php

Where it was reference gallery2, I changed it to gallery

Posted: Fri Aug 31, 2007 3:34 pm
by garvinhicking
Hi!

Hm, but where does the error occur, in the g2embed or galleryimage plugin? I believe they do different things...?=

Regards,
Garvin

Posted: Fri Aug 31, 2007 3:37 pm
by Nihilists
It does not give an error, it just write the image path wrong. It does embed the gallery inside the blog, very ugly though since I have not edited the templates.

Posted: Fri Aug 31, 2007 4:26 pm
by garvinhicking
Hi!

Yes, but I mean with which plugin do you experience the problem? Is it the embed plugin or the galleryimage plugin?

Regards,
Garvin

Posted: Fri Aug 31, 2007 4:35 pm
by Nihilists
I disabled the Markup: Gallery Image and the problem is still there so it has to be in Gallery2 Embed: /index.php?/gallery

Update...

Posted: Thu Sep 06, 2007 12:09 am
by Nihilists
These are my settings for Gallery2 Embed: /index.php?/gallery



Gallery 2 System Directory:
/home/content/[full path]/html/gallery2/
Gallery 2 HTTP Path:
http://www.mysite.com/gallery2/
Serendipity Embed File Name:
embed.php
URL shorthand name:
/index.php?/gallery

Blog Site: http://brian.mysite.com/
Gallery Site: http://www.mysite.com/gallery2/

If finally embeds the images but... when I click on a image the path is still wrong... it does not use the gallery.html

Image Address:(Image is displayed)
http://www.mysite.com/gallery2/main.php ... 2526d699fb

Image Link: (Does not open at all.. error "No input file specified.")
http://brian.mysite.com/index.php/embed ... _itemId=20

I did change following the directions in the following post:
http://board.s9y.org/viewtopic.php?t=10358

Here is the HTML used to create the link:
<a href="/index.php/embed.php?g2_itemId=20">