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 2016-03-17 16:00:22

eporod
Member
Registered: 2016-03-16
Posts: 11

Problem with CE4 CRG

Hi,
on the web i get 1 error message. After deleting this message i see the gallery but no pictures and i can not click anything or choose any option. For your better understanding here a 2 Screenshots. You can also go to the gallery directly: http://36ty.com/galleries/draco
error1.png
wrong-display.png

Do you know whats going wrong?

thanks, Elmar

Offline

#2 2016-03-17 20:43:41

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

Re: Problem with CE4 CRG

Hi Elmar,

The short answer:

Your host is blocking requests that include "http" in the parameter list.  Contact their support to ask them to allow such requests.  I would pass them the full URL that is failing (the long URL below).

The long answer:

The gallery makes a JavaScript call to your server to fetch the feedback profile.
Your server is returning a 503 forbidden on this request.

It looks like your host is using ModSecurity, a server package designed to block malicious requests.  Depending on the configuration of ModSecurity, this can raise false positives, that is that ModSecurity can block legitimate requests.

The full request that is being blocked is:

http://36ty.com/ttg-be/crg/index.php?c=ajax&a=getProfile&jsoncallback=jQuery1113025843837298452854_1458214340368&album_id=25781&album_url=http%3A__36ty.com%2Fgalleries%2Fdraco&profile_id=2&profile=default&_=1458214340369

After playing around with the request, the parameter that your server is not accepting is the gallery name, which is passed as

http:__36ty.com/galleries/draco

You'll notice that URL begins with "http:__" rather than "http://".  We made the substitution from "//" to "__" for the very reason of getting around over-zealous ModSecurity configurations.  In your case, it appears your host is even more strict: disallowing "http" in a request.  This is the first time we have encountered this issue.

I hope that helps.

Offline

#3 2016-03-18 00:25:24

eporod
Member
Registered: 2016-03-16
Posts: 11

Re: Problem with CE4 CRG

Hi Ben. Thanks for the information. It was the .htaccess-file. I put in there some code against cross-site-scripting. But now, after rewriting the .htaccess the gallery did not work (no refresh). So i deleted the /galleries and made a new one, but now, i always run into Error: 500. What happened now?

thanks

Offline

#4 2016-03-18 00:31:47

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

Re: Problem with CE4 CRG

it's not just your gallery, the whole site is showing Error 500. Have you consulted your hosting? Could there be something wrong with your .htaccess 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

#5 2016-03-18 00:43:31

eporod
Member
Registered: 2016-03-16
Posts: 11

Re: Problem with CE4 CRG

Thanks rod - now it's working again - and - yehaaaa - also the gallery - but - no thumbnails... sad

http://36ty.com/pictures/draco

Offline

#6 2016-03-18 01:32:56

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

Re: Problem with CE4 CRG

It's working fine for me. I can see all the thumbnails. try clearing browser cache.


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 2016-03-18 14:25:41

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Problem with CE4 CRG

Looks okay to me too. For your .htaccess woes, we have some information here on useful configurations:
http://ce4.theturninggate.net/docs/doku … s_creation


Matt

The Turning Gate, http://theturninggate.net

Offline

#8 2016-03-18 15:40:53

eporod
Member
Registered: 2016-03-16
Posts: 11

Re: Problem with CE4 CRG

the lightroom to web sync works well. But on the web i didn't see any thumbnails and I also cannot download the picture. Is there something wrong with me?? neutral

Offline

#9 2016-03-18 15:49:11

eporod
Member
Registered: 2016-03-16
Posts: 11

Re: Problem with CE4 CRG

ok. sorry. on my Mac (Safari) it wouldn't work - on my windows (Edge, Win10 on Parallels@Mac) it works correctly... hmmm

Offline

#10 2016-03-19 02:00:58

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Problem with CE4 CRG

Same here. Doesn't work on Safari on Mac, but works on Chrome. I am wondering if it has anything to do with the umlaut in your filenames (Firmengebäude). Try to change the filename and see if it fixes the Safari issue.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#11 2016-03-19 02:21:32

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

Re: Problem with CE4 CRG

Good catch Daniel.
see this on file names: http://ce4.theturninggate.net/docs/doku … ile_naming


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 2016-03-19 23:58:44

eporod
Member
Registered: 2016-03-16
Posts: 11

Re: Problem with CE4 CRG

Thanks a lot - "umlaute" was the problem wink

Offline

Board footer

Powered by FluxBB