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.
You are not logged in.
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
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
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
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
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
That was all I could think of off the top of my head.
good luck!
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
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
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
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
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
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
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
"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
"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
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
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