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-08-20 09:37:47

Genox
Member
Registered: 2015-08-08
Posts: 31

How to move new TTG site from test subfolder to permanent home

Hi all,
My current site is in a folder … gparksphotos.
My new CE4 pages site is in a subfolder… andersonparksfamily.com/gparkspix.
I want the new site to replace the old.

Can I rename the current (old) folder (ex..zgparksphotos), creat a new folder… gparksphotos and copy all files from  the gparkspix into it?
What in the gparkspix would need to change for this to be my live site on the web?
Thanks
new-site.jpg

Offline

#2 2015-08-20 09:55:19

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

Re: How to move new TTG site from test subfolder to permanent home

the problem you'll run into is the Site Root field you filled out in Site Info > Page Setup. Since you are in a sub-folder, the site root was probably /gparkspix/. You'll need to change that in Pages and all your Publisher templates (or autoindexes, galleries, other pages) to /gparksphotos/ and then re-export and upload.


also, if you were using phplugins for anything (drop down navigation, custom css...) you'll need to change server path to phplugins in all your templates or pages.


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-08-20 09:57:27

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

Re: How to move new TTG site from test subfolder to permanent home

and if you are using Publisher, you'll probably want to simply start over with your albums. Publisher doesn't like it when you move the location of its top-level galleries folder. If you try to move them via FTP you'll end up in a world of pain and suffering wink


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

Offline

#4 2015-08-20 11:06:44

Genox
Member
Registered: 2015-08-08
Posts: 31

Re: How to move new TTG site from test subfolder to permanent home

Hi Rod,
If I understand what you are saying… here is my summary.

Change site root field in Set-Up,  pages,  autoindexes, galleries, other pages...

I did not use phplugins… but will change the path in all instances.

I used publisher and will republish all alums. (good to  practice)

Doesn’t sound to hard…
Wish me luck
Geno

Offline

#5 2015-08-20 11:31:13

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

Re: How to move new TTG site from test subfolder to permanent home

That was all I could think of off the top of my head.

good luck!  smile


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

Offline

#6 2015-08-21 04:14:25

Genox
Member
Registered: 2015-08-08
Posts: 31

Re: How to move new TTG site from test subfolder to permanent home

Hi Rod,
You were right.... every thing works OK except the galleries.
I uploaded new albums however they do not show up on my site.
I get this message... The requested URL /gparksphotos/galleries/black-and-white/ was not found on this server.
Take a look
http://gparksphotography.com/galleries.php
Thanks

Offline

#7 2015-08-21 05:25:29

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

Re: How to move new TTG site from test subfolder to permanent home

your getting a realpath() error:
http://gparksphotography.com/lib/autoindex/verify.php

Are you using a redirect for this site? If so, that's probably what's causing the problem.
The index is looking for the albums in this location:

http://gparksphotography.com/gparksphotos/galleries/black-and-white

when the album is actually here: http://gparksphotography.com/galleries/black-and-white/

Who are you hosting with?

Is Publisher pointed to the 'galleries' folder in gparksphotography.com or the one in gparksphotography.com/gparksphotos/ ?


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

Offline

#8 2015-08-21 06:49:19

Genox
Member
Registered: 2015-08-08
Posts: 31

Re: How to move new TTG site from test subfolder to permanent home

The api url is http://www.gparksphotography.com/ttg-be/publisher/
The remote site is
gparksphotos
    fragments
    galleries
    lib
    photos
     phplugins
     phplunins-sample
     thumbs
All files are in the gparksphotos root folder.
The domain is gparksphotography.com
It's not a redirect.
How do I repoint the index to...  http://gparksphotography.com/galleries/black-and-white/
I hope this helps.

Last edited by Genox (2015-08-21 07:31:37)

Offline

#9 2015-08-21 07:46:46

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

Re: How to move new TTG site from test subfolder to permanent home

What do you have entered for "top-level galleries folder"?

This is pretty confusing. You say that the files are in the gparksphotos/ folder structure yet your albums are in gparksphotography/galleries/

are you trying to move Publisher control from gparksphotos/galleries/ to gparkshphotography/galleries/ ? (which will likely cause problems)

and then there's the realpath() error. This indicates a problem that will keep the autoindex function from working correctly.

Who are you hosting with? If it's GoDaddy, there may be a fix I can point you to. Otherwise Ben will probably need to dive into things.


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-08-21 08:30:57

Genox
Member
Registered: 2015-08-08
Posts: 31

Re: How to move new TTG site from test subfolder to permanent home

I am hosted with godaddy.
When I go to gparksphotos with FileZilla I don't see the gparksphotography/galleries. All of my uploads are in the gparksphotos root folder.
Here is a shot of my file structure with ttg-be, fragments, galleries.....
[img]gparksphotos.jpg[/img]

Last edited by Genox (2015-08-21 08:32:59)

Offline

#11 2015-08-21 08:43:53

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

Re: How to move new TTG site from test subfolder to permanent home

to include images in your post you need to upload them to the web and put the URL in between the IMG tags

When I go to gparksphotos with FileZilla I don't see the gparksphotography/galleries

this is probably part of the problem, because if you go to this url: http://gparksphotography.com/galleries/black-and-white/ it takes you to a gallery.

See this about GoDaddy:
http://community.theturninggate.net/post/2020/#p2020


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

Offline

#12 2015-08-21 09:03:46

Genox
Member
Registered: 2015-08-08
Posts: 31

Re: How to move new TTG site from test subfolder to permanent home

gparksphotos.jpg

"Open the /resources/autoindex/autoindex.php file"  where is this file located?
Is it easire to delete everything from the server and start over.... with no relocating involved?
Just start at the root of the gparksphotos folder?

Offline

#13 2015-08-21 09:14:10

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

Re: How to move new TTG site from test subfolder to permanent home

"Open the /resources/autoindex/autoindex.php file"  where is this file located?

for CE4 that would be the /lib/autoindex/autoindex.php file

Is it easire to delete everything from the server and start over.... with no relocating involved?
Just start at the root of the gparksphotos folder?

Since I'm not all that clear on what the whole set up is, I don't know.

you have your domain gparksphotography, which is presumably the public_html folder. Is there any reason you don't want to put files in the root of the site instead of the gparksphotos/ sub-folder?

According to your publisher api url from above: http://www.gparksphotography.com/ttg-be/publisher/
this implies you've got ttg-be/ in the root of the gparksphotography domain, which is also presumably the public_html folder.

If you leave your site in the sub-folder, you'll likely need to make that change to the autoindex.php file.


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

Offline

#14 2015-08-21 10:22:07

Genox
Member
Registered: 2015-08-08
Posts: 31

Re: How to move new TTG site from test subfolder to permanent home

Rod,
I changed the autoindex.php file and problem solved.
All is well (until I break something else).
Take a look.... http://gparksphotography.com/index.php

Thanks

Offline

#15 2015-08-21 12:20:49

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

Re: How to move new TTG site from test subfolder to permanent home

great!
glad it's working.


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