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 2015-12-19 22:56:22

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Move site to a subdomain

I thought I would move my website www.sportfoton.se to image.sportfoton.se because I want to build my new website in wordpress. I will only keep gelleriet I will link to. I tried to create a new template, where I sat image.sportfoton.se as domain (Site Root)
I exported the site and sent it to image.sportfoton.se I even sent up tTG ask, publisher and cart. When I surf the http://image.sportfoton.se/ttg-be/cart/?c=admin I get a lot of error, click on the link and you will see. It seems I missed something. Anyone here who can see what is the problem?

Thanks in advance

Offline

#2 2015-12-20 00:00:11

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

Re: Move site to a subdomain

It looks like there is no database support in the subdomain.
Try contacting your host to make sure the needed database modules are enabled.
See: http://community.theturninggate.net/top … ing-ttgbe/


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

Offline

#3 2015-12-20 00:20:42

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Move site to a subdomain

rod barbee wrote:

It looks like there is no database support in the subdomain.
Try contacting your host to make sure the needed database modules are enabled.
See: http://community.theturninggate.net/top … ing-ttgbe/

I contacted my host and received the following response
"Yes, there is databae provided to the domain account sportfoton.se and it can be used thoughout the domain and subdomain"

Offline

#4 2015-12-20 00:52:24

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

Re: Move site to a subdomain

it seems to be working now


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

Offline

#5 2015-12-20 00:54:36

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Move site to a subdomain

rod barbee wrote:

it seems to be working now

I'm going to the TTG BE Admin http://image.sportfoton.se/ttg-be/admin/?a=login
but I will not be in with a password, which I think it is, where can you get the password?

Offline

#6 2015-12-20 00:58:12

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

Re: Move site to a subdomain

default username: admin
default password: ttg8888
http://ce4.theturninggate.net/docs/doku … tion_setup


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

Offline

#7 2015-12-20 01:05:11

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Move site to a subdomain

rod barbee wrote:

default username: admin
default password: ttg8888
http://ce4.theturninggate.net/docs/doku … tion_setup

Thanks so much for your help

Offline

#8 2015-12-20 01:12:47

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Move site to a subdomain

When I try to upload an album through the publisher, so I get a message that I will check the URL and API key. I changed the password for the API key so I'm sure it is right. But The URL does not seem right! http://image.sportfoton.se/ttg-be/publisher/
{"status": "error", "message": "The page late an action Which was not available."}

Offline

#9 2015-12-20 01:28:29

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

Re: Move site to a subdomain

that is the expected message you'd see when going to that url in a browser. It tells you that Publisher is installed.

And that url should be the right one to use in Publisher set up

I just tried authenticating using that url and the default API key (ttg9999) and it works fine.

don't forget that you need to set the API key in the Publisher settings of ttg-be


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 2015-12-20 01:35:46

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Move site to a subdomain

rod barbee wrote:

that is the expected message you'd see when going to that url in a browser. It tells you that Publisher is installed.

And that url should be the right one to use in Publisher set up

I just tried authenticating using that url and the default API key (ttg9999) and it works fine.

don't forget that you need to set the API key in the Publisher settings of ttg-be

It was I who did wrong! I changed the password in the wrong place. Thanks again!

Offline

#11 2015-12-20 02:30:45

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Move site to a subdomain

As for php plugin what should I put Colours path?
Today, it looks like this /customers/9/9/f/sportfoton.se/httpd.www/phplugins
I will just replace the www to the image? When I surf the http://image.sportfoton.se/galleries.php so looking albums strange. I check Url: such is the http://image.sportfoton.se/image/galleries/frolunda/ That is, it adds to the image before the galleries. What have I missed?

This ends up images
http://image.sportfoton.se/galleries/frolunda/

Last edited by sportfoton (2015-12-20 02:36:04)

Offline

#12 2015-12-20 02:38:10

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

Re: Move site to a subdomain

It depends. Do you plan on using the same phplugins file as you do for your main domain? If not, just do the same thing you did before: place the phplugins/ folder in the root of the subdomain and point your browser at it
http://image.sportfoton.se/phplugins/path.php


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

Offline

#13 2015-12-20 02:48:19

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Move site to a subdomain

rod barbee wrote:

It depends. Do you plan on using the same phplugins file as you do for your main domain? If not, just do the same thing you did before: place the phplugins/ folder in the root of the subdomain and point your browser at it
http://image.sportfoton.se/phplugins/path.php

I will not use phplugins that I had earlier on www.sportfoton.se but I will put all TTG on image.sportfoton.se. Today's folder / phplugins-sample will I rename phplugins-sample to phplugins?

Offline

#14 2015-12-20 02:55:14

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

Re: Move site to a subdomain

Today's folder / phplugins-sample will I rename phplugins-sample to phplugins?

yes
http://ce4.theturninggate.net/docs/doku … _phplugins


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

Offline

#15 2015-12-20 03:16:05

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Move site to a subdomain

Will it really stand www/image/php plugins? "
/customers/9/9/f/sportfoton.se/httpd.www/image/phplugins"

Offline

#16 2015-12-20 03:28:34

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Move site to a subdomain

rod barbee wrote:

Today's folder / phplugins-sample will I rename phplugins-sample to phplugins?

yes
http://ce4.theturninggate.net/docs/doku … _phplugins

Why add it to the image?
http://image.sportfoton.se/image/galleries/frolunda/

Offline

#17 2015-12-20 03:48:03

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

Re: Move site to a subdomain

'image' is the name of your subdomain and it looks like your host just places this into your main domain (http://sportfoton.se/image/). Bluehost does the same thing. But in the control panel, I can select a different folder. So I created a subfolder where I have all my subdomains:

..../domains/subdomain1
..../domains/subdomain2
..../domains/subdomain3

This way, my main account doesn't get too crowded.


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

Offline

#18 2015-12-20 03:58:50

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

Re: Move site to a subdomain

Not following. What do you mean by this?


this is what I get when going to: http://image.sportfoton.se/phplugins/path.php

/customers/9/9/f/sportfoton.se/httpd.www/image/phplugins

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

Offline

#19 2015-12-22 20:33:11

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Move site to a subdomain

Do not know if I did something wrong. Yesterday it worked to shop pictures. This morning I noticed that it was not working. When you click on the cart, I get the following error. "No products are available for purchase
Please try again later, or contact the photographer if this problem persists. "

http://www.sportfoton.se/image/gallerie … rg-orebro/


It feels like there is something wrong path, I will change the site root from image.sportfoton.se to www.sportfoton.se/image/?

Hope someone can help me even if it's up close and Christmas

Last edited by sportfoton (2015-12-23 04:00:45)

Offline

#20 2015-12-22 22:16:56

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

Re: Move site to a subdomain

Looks like you have pathing issues on your subdomain:
http://image.sportfoton.se/lib/autoindex/verify.php

Were I you, I'd just leave your galleries at the old location and save yourself the hassle. If you want to build a WordPress site in the same location, then go ahead; the files should not interfere with each other. You can run WordPress, TTG BE and the CE4 gallery systems all in the same place without conflict.


Matt

The Turning Gate, http://theturninggate.net

Offline

#21 2015-12-22 22:45:58

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Move site to a subdomain

Matthew wrote:

Looks like you have pathing issues on your subdomain:
http://image.sportfoton.se/lib/autoindex/verify.php

Were I you, I'd just leave your galleries at the old location and save yourself the hassle. If you want to build a WordPress site in the same location, then go ahead; the files should not interfere with each other. You can run WordPress, TTG BE and the CE4 gallery systems all in the same place without conflict.


I've already moved the entire site :-(
I changed to www.sportfoton.se/image/ in all places, most of it seems to work except shop.
This link looks OK now after I changed the path

http://www.sportfoton.se/image/lib/autoindex/verify.php

Offline

#22 2015-12-22 23:21:07

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

Re: Move site to a subdomain

This morning I noticed that it was not working. When you click on the cart, I get the following error. "No products are available for purchase

That's because the url to the cart should be:
http://image.sportfoton.se/ttg-be/cart/

In the page source code of that gallery it's: http://www.sportfoton.se/image/ttg-be/cart/ and so you get the error.


It almost looks to me as if you're mixing subdomain and subfolder: in other words, you're putting a new site in image.sportforton.se yet you're aiming Publisher at sportfoton.se/image/galleries/ rather than image.sportfoton.se/galleries/


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

Offline

#23 2015-12-23 01:37:35

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Move site to a subdomain

I have gone through Pages, index and Gallery all have the correct path now www.sportfoton.se/image/ I have sent them up on the website and removed all the old templates. I have changed fragments, phplugins and lib and galleries.php, index.php, lib.php and mobile.php. I have / are about to publish on all albums. But it is still not working.

Offline

#24 2015-12-23 02:04:32

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

Re: Move site to a subdomain

I assume you mean the cart isn't working (or are we still on the domain changes?)

Are you using the Mixed Pricing option?

Looking at the source code I see data-price="Fotboll"
yet I don't see a pricing scheme named "Fotboll" in your list of pricing schemes.


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

Offline

#25 2015-12-23 02:08:44

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

Re: Move site to a subdomain

also be sure to fill our your shipping costs. I'm seeing an incomplete in the Cart dashboard.


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

Offline

Board footer

Powered by FluxBB