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 2018-07-12 03:35:57

sithxace
New Member
Registered: 2016-10-23
Posts: 2

Backlight admin screen errors

I just purchased installed backlight 1.2.3 and athere are 2 issues:

1. The main screen I log into has this at the top. It doesnt appear to cause any issues.

"Something went wrong
Unexpected error: Undefined index: QUERY_STRING in AuthHelper.php on line 72

Please report error at http://community.theturninggate.net"


2. The second issue that is causing me problems is that every link under "Designer" takes me to this screen

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log."


Everything else seems to work under client response and backlight.

Offline

#2 2018-07-12 04:10:20

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

Re: Backlight admin screen errors

sounds like it could be an installation issue.
Did you also purchase the Pages add-on?
If so, is there a chance that you uploaded the index.php file that comes with Pages to the backlight/ folder?

If that’s the case, then re-upload the index.php file that is in the backlight/ folder (from your download) to the backlight/ folder on the server.
Then upload the index.php file meant to be used with Pages to the root of the site.


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 2018-07-12 05:31:05

sithxace
New Member
Registered: 2016-10-23
Posts: 2

Re: Backlight admin screen errors

I did not buy the pages. I just copied the backlight directory over and made sure all permissions were 777. Not sure what else to do?

Offline

#4 2018-07-12 05:51:58

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

Re: Backlight admin screen errors

have you seen this page in the docs? http://backlight.theturninggate.net/doc … irectories

Who's your host? Do you know if they comply with TTG requirements?


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 2018-07-12 06:10:24

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

Re: Backlight admin screen errors

777 permissions are possibly the cause of the internal server error. We don’t advise to use 777 unless 755 failed.

Can you provide me with an FTP login via email so that I can look into these errors?

Offline

#6 2018-07-12 10:23:01

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

Re: Backlight admin screen errors

Looking further into this.

* QUERY_STRING error.  It looks like your server does not set this variable when there are no parameters in the URL, e.g. nothing like http://yoursite.com/?something.  I'll put in a hotfix in the code for this.  In the mean time, if you want to make this error go away and are happy to edit files, the fix is to change line 72 of backlight/framework/helpers/AuthHelper.php from this:

if (preg_match('/a=phpliteadmin/', $_SERVER['QUERY_STRING'])) {

to this:

if (isset($_SERVER['QUERY_STRING']) && preg_match('/a=phpliteadmin/', $_SERVER['QUERY_STRING'])) {

* For the Internal Server Error, try changing the permissions from 777 to 755 for backlight/data/designer and everything under that, and any other directory you may have applied 777 to.  If that doesn't help, then please provide me with FTP access via email.

Offline

Board footer

Powered by FluxBB