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 2017-09-23 02:23:40

jong
Member
Registered: 2017-09-22
Posts: 6

pages issue

Hey all!

I just installed backlight+pages, and the gallery part is working great, but I'm having issues with the pages part (about and contact).  When I try and Edit Properties or Design, I get this message in the server logs:

FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: message in /var/www/jgp/backlight/framework/models/GenericEntity.php on line 235" while reading response header from upstream, client: 97.113.232.235, server: <redacted>, request: "POST /backlight/designer/?a=edit_page&p1=5&p2=content HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "<redacted>", referrer: "<redacted>/backlight/designer/?a=edit_page&p1=5&p2=view"

I'm running the latest backlight (downloaded about a day ago), web server is nginx.

I've tried building out the /about/index.php on the filesystem from the root backlight directory, ensuring that it's writeable, etc.  But nothing seems to fix it.

Any guidance?

Offline

#2 2017-09-23 06:14:56

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

Re: pages issue

did you upload the index.php and .htaccess files?
http://backlight.theturninggate.net/doc … on_install


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 2017-09-23 06:50:06

jong
Member
Registered: 2017-09-22
Posts: 6

Re: pages issue

rod barbee wrote:

did you upload the index.php and .htaccess files?
http://backlight.theturninggate.net/doc … on_install


Yeah, I've followed that doc, and uploaded the index.php in the root as well as the .htaccess in the root.

I fixed permissions in the two spots mentioned, and the upload and galleries work lovely, but the other pages throw that error.

-jon

Offline

#4 2017-09-23 08:28:11

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

Re: pages issue

Ben may know the problem just from the error, but just in case, can you post a link to your site as well?


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 2017-09-23 21:33:23

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

Re: pages issue

Is this restricted to the error logs?  If so, this should be of little concern.  Notices are just that, notices.

I will look at the code to see whether it can be cleaned up.

Offline

#6 2017-09-24 00:25:00

jong
Member
Registered: 2017-09-22
Posts: 6

Re: pages issue

Ben wrote:

Is this restricted to the error logs?  If so, this should be of little concern.  Notices are just that, notices.

I will look at the code to see whether it can be cleaned up.

No, this error is generated in the web server logs, and the about and contact pages are never created, and return a 404 when I try and access them.

There is no notification that anything is wrong in the backlight admin, the disk changes to the spinner and then back, but it's not working.

-jon

Offline

#7 2017-09-24 00:58:16

charlie.choc
Member
From: Marietta, GA
Registered: 2014-01-09
Posts: 359
Website

Re: pages issue

There is a similar error here: https://serverfault.com/questions/67093 … ary-script

Don't know if their solution would fix your problem, though.

Offline

#8 2017-09-24 07:12:42

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

Re: pages issue

Okay.  Your original message made it sound like the error logs were the only problem, since you didn't state what was actually broken about Pages. Please provide a link to your site so that we can see this. 

Have you seen our document trouble-shooting Pages on servers running FastCGI?  If not, it can be found at http://backlight.theturninggate.net/doc … cess_files .  Have a look at the steps listed below "Edit the .htaccess files to cater to FastCGI setups."

Offline

#9 2017-09-26 12:47:56

jong
Member
Registered: 2017-09-22
Posts: 6

Re: pages issue

Thanks for you suggestions, I will get back to this later this week and report back.

As an addendum, I apologize for the actual problem missing from my original post.

As I read more, I see that nginx isn't supported as a server front-end, so I will redo things to use apache so that I'm on a path that is supported.

The problem is that Backlight reports everything is fine, and the message in the alert area says "The page was updated successfully", but then when I try and visit the About page, I get a 404.

But never mind, I didn't realize that nginx wasn't supported, so I'll start over.

Last edited by jong (2017-09-26 13:27:12)

Offline

#10 2017-10-04 02:12:04

jong
Member
Registered: 2017-09-22
Posts: 6

Re: pages issue

Okay, I was not able to get nginx to work as a front-end, so I switched to Apache, followed the instructions for that, and everything seems to be working as expected, so I will convert my other web projects to use apache as well.

Thanks for the help, ya'll.

Offline

#11 2017-10-04 05:16:31

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

Re: pages issue

I had missed that you’re attempting to run Backlight on nginx. Had you seen our article on this? http://backlight.theturninggate.net/doc … web_server

Offline

#12 2017-10-04 05:29:35

jong
Member
Registered: 2017-09-22
Posts: 6

Re: pages issue

Ben wrote:

I had missed that you’re attempting to run Backlight on nginx. Had you seen our article on this? http://backlight.theturninggate.net/doc … web_server


Yeah, I tried those steps as well and I couldn't get it to work, so I jumped servers.

Thanks Ben!

-jon

Offline

Board footer

Powered by FluxBB