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.
I had a functional php-enabled Wordpress+TTG CE4 website (www.fourwallsphoto.com) on GoDaddy, and just relocated to Bluehost. Everything seems to work except the menu structure once the gallery is entered. Now the menu items are not the ones I defined, and all result in 404 errors. I believe this is a php path issue. My absolute path changed in moving to the new host, and all my templates, and existing galleries use the old path. Changing the path in Lightroom is obviously not enough to fix this, and short of some grep script which I am not savvy enough to implement, I can see no way to fix this other than to recreate my entire gallery hierarchy again from new templates.
I had hoped the host move would have been easier than this. Perhaps somebody has a fix for this, or an easier remedy than a brute force rebuild.
Thx.
Offline
If you have an editor capable of doing a Find & Replace across multiple files, you should be able to find the old PHPlugins path and replace it with the new one. You may need to download the files to local to perform this operation, then re-upload the files to server. But some applications may be capable of performing the operation remotely, so you can try it.
Offline
Done! So, if anyone else runs into this issue, download TextWrangler (for Mac) or similar which has Multi-file search. I think this may only work on local files. I had copied my whole site down as a local copy, then uploaded the whole shebang back up to Bluehost before I realized I had a problem, so I did a combination of individual file edits on the server side, and multi-file search and replace on a local copy of the templates folder, followed by a drag and drop replace in FileZilla.
Here are all the files that need to be changed. You can search for your old path, or TTG_HOOK and replace as necessary:
/ttg-be/templates <search and replace every file in here and upload to server>
/galleries <edit index.php and template_index.php at top level>
/galleries/phplugins/phplugins.php <single file edit, look for Wordpress ROOT>
and finally...
/wp-content/themes/LSwpgall6/header.php
Thats it! Of course it would be easier to do a multi-file s&r on a local copy of your whole website before uploading to the new host...but...so now you have the benefit of my hindsight!
-Jim
Offline