Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2017-10-15 05:19:45

SimonWilliams
Member
Registered: 2016-05-19
Posts: 29

Sub-domain problems

Hi All,

Ok, I have set-up a subdomain http://events.simonjameswilliams.co.uk which is pointing to www.simonjameswilliams.co.uk/galleries/events/ in my domain control panel.

Now, going to http://www.simonjameswilliams.co.uk/events/galleries/ works no problems, but using the subdomain events.simonjameswilliams.co.uk produces the page, but with no gallery picture. If you click on the (blank) gallery picture I then get a 404 error.

I have loads of screenshots, and have tried everything from the Lightroom plugin settings, to the Backlight module.

The Lightroom module is "Top level galleries directory [/events/galleries]"

So, in summary, I can get to the gallery using the full level http://www.simonjameswilliams.co.uk/events/galleries/, but not through a subdomain.

FTP settings are [/public_html/events] with [backlight]and[galleries] inside.

Any ideas?

Thanks in advance, and feel free to ask any questions.

Simon

P.S. I have re-installed EVERYTHING from domain names to the Lightroom plugin.

direct_NO_SUBDOMAIN
direct_404
direct_NO_SUBDOMAIN
direct_NO_LR_Settings
direct_NO_backlight

Last edited by SimonWilliams (2017-10-15 05:40:14)

Offline

#2 2017-10-15 05:43:08

charlie.choc
Member
From: Marietta, GA
Registered: 2014-01-09
Posts: 359
Website

Re: Sub-domain problems

Your galleries link is pointing to http://events.simonjameswilliams.co.uk/ … galleries/ so I expect your site URL in backlight is pointing to the wrong place, it should be pointing at your subdomain.

Edit to add: your site URL should be  http://events.simonjameswilliams.co.uk

Last edited by charlie.choc (2017-10-15 05:45:21)

Offline

#3 2017-10-15 06:27:49

SimonWilliams
Member
Registered: 2016-05-19
Posts: 29

Re: Sub-domain problems

Hi Charlie,

Nope. Same problem - blank thumbnails with 404 errors when clicked.

Offline

#4 2017-10-15 06:40:35

charlie.choc
Member
From: Marietta, GA
Registered: 2014-01-09
Posts: 359
Website

Re: Sub-domain problems

Have you tried pointing your subdomain to http://www.simonjameswilliams.co.uk/events/galleries/?

Offline

#5 2017-10-15 06:50:44

SimonWilliams
Member
Registered: 2016-05-19
Posts: 29

Re: Sub-domain problems

Yep. Third picture down on the original post.

I'm pretty savvy at this, but I can't work it out!

Offline

#6 2017-10-15 06:58:45

SimonWilliams
Member
Registered: 2016-05-19
Posts: 29

Re: Sub-domain problems

Found this is Backlight: Backlight - Publisher - Top-level - Galleries

Offline

#7 2017-10-15 07:04:15

SimonWilliams
Member
Registered: 2016-05-19
Posts: 29

Re: Sub-domain problems

I'm going to start over and remove everything.

I'll report back. Thanks Charlie.

Offline

#8 2017-10-15 07:06:20

charlie.choc
Member
From: Marietta, GA
Registered: 2014-01-09
Posts: 359
Website

Re: Sub-domain problems

You probably know more than I do; all I know is that your 'galleries' directory and 'backlight' directory need to be at the same level and directly off the 'root' of your domain or subdomain. Beyond that I'm out of ideas.

Offline

#9 2017-10-15 08:51:01

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Sub-domain problems

this has always worked for me:

In my host's C-Panel I create a sub-domain and give it a name. A folder by that name is created on the server.
So if I was creating an "events" domain, the url would look like this:
http://events.barbeephoto.com and on the server there would be a folder named events/ (barbeephoto.com/events)
Backlight would be installed in barbeephoto.com/events/

In backlight, the Site url would be http://events.barbeephoto.com
The Publisher API URL would be http://events.barbeephoto.com/backlight/publisher/


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#10 2017-10-15 09:58:05

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Sub-domain problems

Pick one domain and configure Backlight and Publisher for that domain and that domain only.  Backlight does a lot of work to calculate paths and needs everything to point to the same place.

If you must have it available at two locations, then I would suggest configuring Backlight at http://www.simonjameswilliams.co.uk/ and using your events subdomain as a vanity URL that redirects to http://www.simonjameswilliams.co.uk/events/galleries/

Offline

#11 2017-10-15 11:45:47

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Sub-domain problems

As Ben pointed out, your subdomain directory may only be accessed using your subdomain URL. Bluehost, for example, does a strange thing as it maps the subdomain directory into your regular directory. This looks to be the same for you.

Best is to put this subdomain directory outside of your regular directories, maybe call it http://www.simonjameswilliams.co.uk/subdomain_events. There you'll need to have a complete backlight installation with a separate Lr publishing service. And you will only access it as http://events.simonjameswilliams.co.uk.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#12 2017-10-16 07:10:07

SimonWilliams
Member
Registered: 2016-05-19
Posts: 29

Re: Sub-domain problems

Thanks guys,

I decided to document everything - some of which where it automatically creates a directory when creating a subdomain does the same with HeartInternet.

Anyway, still not worked - here is my documentation - anything obvious would be a great help!

Thanks all!

. Set up new domain name - myevents.simonjameswilliams.co.uk pointing to

Modify Sub Domains
Domain name                Directory   
myevent.simonjameswilliams.co.uk    /home/sites/simonjameswilliams.co.uk/public_html/myevent/

. Waited 24 hours to complete set-up
. Went to theturninggate.net to download latest versions of Backlight-122-Release3.zip & Cart-414.zip
. http://backlight.theturninggate.net/doc … tion_setup
. Extracted Backlight-122-Release3.zip folder
. Uploaded with Filezilla to /public_html/myevent

. Went to http://www.simonjameswilliams.co.uk/mye … n/?a=login
. Default admin login

Quick Setup
Site Settings

Company Name: Simon James Williams Photography
Company URL: http://www.simonjameswilliams.co.uk
Site URL: http://www.simonjameswilliams.co.uk/myevent/
    also tried: http://www.simonjameswilliams.co.uk/myevent/galleries
Site Email: xyz@simonjameswilliams.co.uk
Vendor Email: xyz@simonjameswilliams.co.uk

. Set-up API and User Names
. Completed other settings like email etc.

LIGHTROOM

. Removed all references and plugins to TTG
. Restarted my computer
. In the File menu, select “Plug-in Manager…”
. Within the Lightroom Plug-in Manager window, click “Add” in the lefthand column.
. Navigate to the TTG-Publisher.lrplugin file, click “Add Plug-in”..
. Click “Done”.

. API Authenticated

Created new album

. Name
. Title
. Clicked 'Create'
. Uploaded album

. Went to myevent.simonjameswilliams.co.uk
    Took me to my website
. Went to www.simonjameswilliams.co.uk/myevent/galleries
    This works

+++ Subdomain does not work +++

Last edited by SimonWilliams (2017-10-16 07:13:31)

Offline

#13 2017-10-16 07:16:37

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Sub-domain problems

For Backlight, your site URL should be myevents.simonjameswilliams.co.uk. You should _never_ ever use http://www.simonjameswilliams.co.uk/myevent/.

So when you log into Backlight, it would be myevents.simonjameswilliams.co.uk/backl … n/?a=login

Think of the subdomain just like an independent other domain that has nothing to do with simonjameswilliams.co.uk.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#14 2017-10-16 07:31:48

SimonWilliams
Member
Registered: 2016-05-19
Posts: 29

Re: Sub-domain problems

Sorry buddy - none of that worked either for access to the domain, or admin.

This should not be so complicated. I've set lots of subdomains up. Maybe it's time for a re-think.

The only think that works is by directly going to www.simonjameswilliams.co.uk/myevent/galleries

And now even that looks messed up!

Last edited by SimonWilliams (2017-10-16 07:34:01)

Offline

#15 2017-10-16 07:37:11

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Sub-domain problems

SimonWilliams wrote:

Sorry buddy - none of that worked either for access to the domain, or admin.

This should not be so complicated. I've set lots of subdomains up. Maybe it's time for a re-think.

The only think that works is by directly going to www.simonjameswilliams.co.uk/myevent/galleries

And now even that looks messed up!

You need to start with a new install and then go to http://myevents.simonjameswilliams.co.u … n/?a=login.

Off topic: what is your reason to use a subdomain?


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#16 2017-10-16 07:39:59

SimonWilliams
Member
Registered: 2016-05-19
Posts: 29

Re: Sub-domain problems

This is what I did today and last night.

Continuity mainly Daniel. Even so, I just dont see why it isn't a simple case of pointing a subdomain into a directory and it working.

Offline

#17 2017-10-16 08:24:39

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Sub-domain problems

SimonWilliams wrote:

This is what I did today and last night.

I don't think you did a fresh install before you tried to access it as I pointed out.

Continuity mainly Daniel. Even so, I just don't see why it isn't a simple case of pointing a subdomain into a directory and it working.

Because it is a subdomain and not a subdirectory. You are confusing Backlight as Ben pointed out and you are configuring for the wrong domain.

It is really easy:

1) fresh install for subdomain.domain.com
2) configure backlight via subdomain.domain.com/backlight

That's it.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#18 2017-10-17 04:14:57

SimonWilliams
Member
Registered: 2016-05-19
Posts: 29

Re: Sub-domain problems

Daniel Leu wrote:
SimonWilliams wrote:

This is what I did today and last night.

I don't think you did a fresh install before you tried to access it as I pointed out.

Continuity mainly Daniel. Even so, I just don't see why it isn't a simple case of pointing a subdomain into a directory and it working.

Because it is a subdomain and not a subdirectory. You are confusing Backlight as Ben pointed out and you are configuring for the wrong domain.

It is really easy:

1) fresh install for subdomain.domain.com
2) configure backlight via subdomain.domain.com/backlight

That's it.

If you have a look at post #12 you will see I started a fresh install, and detailed in great length from scratch on a new sub-domain - even re-downloading the backlight software.

I don't have a problem logging in to Backlight from the sub-domain, its just the images don't appear.

Offline

#19 2017-10-17 04:28:20

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Sub-domain problems

But the configuration in #12 is not correct.... if you can correct the configuration, good, otherwise #17.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#20 2017-10-17 05:28:34

SimonWilliams
Member
Registered: 2016-05-19
Posts: 29

Re: Sub-domain problems

Ok. Uninstalling EVERYTHING again. New sub-domain.

I'll let you know - I did try this though in #14

Offline

#21 2017-10-17 14:37:52

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Sub-domain problems

Simon, forget the folder structure on your host. In every place you can, in every place that asks for a URL, use the subdomain.

That done, if problems persist, then let us know and we'll take a look to see whether there's a server-side issue at fault. And in such a case, leave things to sit while we try to take that look, so that we can actually see what's happening. As suggested by others, though, the only problem I see running through this thread is that you're misconfiguring your setup, specifically the paths/URLs.


Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB