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-03-17 02:10:56

dmschenk
Member
From: Sterling Heights, MI US
Registered: 2015-03-12
Posts: 5

CE4 not functioning

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

#2 2015-03-17 02:34:36

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

Re: CE4 not functioning

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

#3 2015-03-17 03:20:25

dmschenk
Member
From: Sterling Heights, MI US
Registered: 2015-03-12
Posts: 5

Re: CE4 not functioning

Sorry... my bad... I typed the PW incorrectly you should be able to get in now.
yes I installed the cgr/ folder.

Offline

#4 2015-03-17 03:24:48

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

Re: CE4 not functioning

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

#5 2015-03-17 03:30:55

dmschenk
Member
From: Sterling Heights, MI US
Registered: 2015-03-12
Posts: 5

Re: CE4 not functioning

Yes I am on a windows server.  :-(

Offline

#6 2015-03-17 03:38:08

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

Re: CE4 not functioning

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

#7 2015-03-17 05:58:36

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: CE4 not functioning

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

#8 2015-03-18 01:50:45

dmschenk
Member
From: Sterling Heights, MI US
Registered: 2015-03-12
Posts: 5

Re: CE4 not functioning

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

#9 2015-03-18 04:14:12

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

Re: CE4 not functioning

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

#10 2015-03-18 06:04:11

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: CE4 not functioning

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

Board footer

Powered by FluxBB