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.
Pages: 1
I'm trying to get CE4 running correctly on my site. I'm not getting any errors but there are issues
When I open the gallery the images show and can be expanded but the images can't be selected. the feedback modal does not open and the email form does not show up http://picture-site.com/TESTING
ID and PW are Admin
I have been basically trying to get it to work the way I do with CE3 where I Export the gallery to my computer then FTP them to the site. Not sure if that could be the cause.
Offline
Have you installed the crg/ folder in ttg-be?
I can't log into the gallery. Using Admin as the ID and PW doesn't work.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Sorry... my bad... I typed the PW incorrectly you should be able to get in now.
yes I installed the cgr/ folder.
Offline
Are you running on a Windows IIS server? (TTG Requires Apache/Linux)
I think Ben is going to need to take a look to see if he can provide a workaround
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Yes I am on a windows server. :-(
Offline
Then wait for Ben to chime in from down under...
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 browser is trying to load the main JavaScript from https://picture-site.com/ttg-be/crg/lib … crg-ce4.js (note the https instead of http)
Since you are on Windows, this is probably due to the code incorrectly calculating the protocol as https instead of http.
This is due to Windows supplying a variable for $_SERVER['HTTPS'] even when HTTPS is not enabled - Linux servers on the other hand only provide this variable if HTTPS is enabled.
Can you try applying the following edit to your page at TESTING/index.php, changing:
if (!empty($_SERVER['HTTPS'])) {$pageURL .= "s";}
to
if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') {$pageURL .= "s";}
If that solves it for that particular page, then we will need to apply this fix to the CRG plugin.
Offline
I added the suggested line in but I get a syntax error so I tried to correct it with this:
if (!empty($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on')) {$pageURL .= "s";}
That said I get a new error on the page:
The client response gallery is currently unavailable
The feedback profile could not be found. Please contact the photographer for further assistance.
Offline
have you tried logging into ttg-be and clicking into the CRG Admin. This step completes the installation process.
http://ce4.theturninggate.net/docs/doku … lery_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
Sorry about that - the perils of writing code in a forum. What you've added should be fine, though the parenthesis around $_SERVER['HTTPS'] == 'on' aren't necessary.
Offline
Pages: 1