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
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
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
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
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
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
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
There is a similar error here: https://serverfault.com/questions/67093 … ary-script
Don't know if their solution would fix your problem, though.
Charlie
www.stalkinglight.com
Offline
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
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
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
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
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
Pages: 1