[Resolved] Subdomain and gallery2

Creating and modifying plugins.
Post Reply
Nihilists
Regular
Posts: 19
Joined: Fri Aug 24, 2007 9:58 pm

[Resolved] Subdomain and gallery2

Post 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
Last edited by Nihilists on Mon Sep 24, 2007 6:52 pm, edited 2 times in total.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Subdomain and gallery2

Post 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
# 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/
Nihilists
Regular
Posts: 19
Joined: Fri Aug 24, 2007 9:58 pm

Post 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/
Nihilists
Regular
Posts: 19
Joined: Fri Aug 24, 2007 9:58 pm

Post by Nihilists »

I did change a few things in:
serendipity_event_g2embeded.php

Where it was reference gallery2, I changed it to gallery
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

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

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/
Nihilists
Regular
Posts: 19
Joined: Fri Aug 24, 2007 9:58 pm

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
Nihilists
Regular
Posts: 19
Joined: Fri Aug 24, 2007 9:58 pm

Post 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
Nihilists
Regular
Posts: 19
Joined: Fri Aug 24, 2007 9:58 pm

Update...

Post 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">
Post Reply