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 2019-10-03 05:02:04

Yakima77
Member
Registered: 2016-05-07
Posts: 12

Page formatting lost after updating modules

I was updating the photo for one of my mastheads when I noticed that there were some module updates available (2.0.10 for admin, designer, and framework).  However, after doing the updates (including subsequent reinstall efforts and cache dumping), the gallery pages appear without any formatting. Any suggestions?

Thanks.

https://www.lazeut.com/photos/galleries/

Last edited by Yakima77 (2019-10-05 06:28:40)

Offline

#2 2019-10-03 05:42:08

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

Re: Page formatting lost after updating modules

try clearing template cache from the link on the main Backlight dashboard


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 2019-10-03 05:49:36

Yakima77
Member
Registered: 2016-05-07
Posts: 12

Re: Page formatting lost after updating modules

Unfortunately, that has no effect. I also made a brief comparison between the on-line files and an off-line backup but nothing seems to have gone missing. Curiously (or perhaps not), the page linked to the root index file formats correctly, unlike the gallery pages.  See

http://www.lazeut.com/photos/

Offline

#4 2019-10-03 05:50:55

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

Re: Page formatting lost after updating modules

also, if you skipped an update, there was a Publisher update in v 2.09. So if you're updating from v 2.0.8 or previous, be sure to download and install the latest version of Lightroom Publisher (assuming you're using Publisher to upload your albums)


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 2019-10-03 08:56:06

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

Re: Page formatting lost after updating modules

check the site url in Backlight Settings. It should be http://www.lazeut.com/photos/


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#6 2019-10-03 09:28:27

Yakima77
Member
Registered: 2016-05-07
Posts: 12

Re: Page formatting lost after updating modules

It's https://www.lazeut.com/photos/  so nothing there.  I did notice that that the last announced update was 2.0.9.  Did I stumble upon something I shouldn't have, has there been an official 2.0.10 release?   I installed the 2.0.9 release when it came out and have had smooth sailing up until today.

Offline

#7 2019-10-03 10:09:52

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

Re: Page formatting lost after updating modules

the current version is 2.0.10
there was a Publisher update in 2.0.9

if I copy and paste the url of your site (from your earlier link), it starts with http, not https

so double check your settings


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#8 2019-10-03 15:22:21

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

Re: Page formatting lost after updating modules

Somehow the css file served by Backlight is missing. That's strange. I would assign a different album template and see if this changes something. And then change it back to the original version.


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

Offline

#9 2019-10-04 00:34:04

Yakima77
Member
Registered: 2016-05-07
Posts: 12

Re: Page formatting lost after updating modules

I looked at the source code for one of my pages. The first line below may point to the css problem.  Should that line point to /photos/backlight like the other two?  Also the code that follows (?m=publisher&c=gallery&a=stylesheet&p1=style&p2=19"/) is unlike what I've found on The Turning Gates demonstration pages. Any thoughts? Thanks

<link rel="stylesheet" type="text/css" media="all" href="/backlight/?m=publisher&c=gallery&a=stylesheet&p1=style&p2=19" />
<link rel="stylesheet" type="text/css" media="all" href="/photos/backlight/modules/pangolin-core/static/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" media="all" href="/photos/backlight/modules/pangolin-core/static/css/fonts.css" />

Offline

#10 2019-10-04 00:55:23

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

Re: Page formatting lost after updating modules

Looking at your installation, it should point to /photos/backlight... because backlight resides in /photos/. Whatever comes afterwards, that's normal Backlight stuff. And the file exists at http://www.lazeut.com/photos/backlight/ … tyle&p2=33.

I sent a message to Ben & Matt.


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

Offline

#11 2019-10-04 01:09:09

Yakima77
Member
Registered: 2016-05-07
Posts: 12

Re: Page formatting lost after updating modules

Thanks, I appreciate your help.

Offline

#12 2019-10-06 00:03:09

Yakima77
Member
Registered: 2016-05-07
Posts: 12

Re: Page formatting lost after updating modules

I've now found two areas in the php code generated by the 2.0.10 update where the URL pointers are incomplete, given that my Backlight installation resides in a "photos" folder rather than the root folder of my website.

<link rel="stylesheet" type="text/css" media="all" href="/backlight/?m=publisher&c=gallery&a=stylesheet&p1=style&p2=41" />
<link rel="stylesheet" type="text/css" media="all" href="/photos/backlight/modules/pangolin-core/static/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" media="all" href="/photos/backlight/modules/pangolin-core/static/css/fonts.css" />

<script src="/backlight/?m=publisher&c=gallery&a=javascript&p1=scripts&p2=41"></script>

I have created a test static php page using the full "/photos/backlight..." pointer in both the css and script lines.  This static page appears to work as intended.

https://lazeut.com/photos/galleries/ela … r/test.php

However, I think the script line (elsewhere) may have also affected my ability to upload files from Lightroom. Please note that the 2.0.9 update worked with no problems.

I hope this helps with troubleshooting.

Offline

#13 2019-10-06 00:17:11

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

Re: Page formatting lost after updating modules

Ben is looking into it, but he is just coming back from his vacation.


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

Offline

#14 2019-10-09 09:39:34

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

Re: Page formatting lost after updating modules

Can you log in to the Backlight admin, and visit the link "Update Backlight Index Files" under Special Links on the main admin page.
Does that solve it?  If not, please provide me with a Backlight admin login, and FTP access via email, so I can look further into it.

Offline

#15 2019-10-09 20:08:16

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

Re: Page formatting lost after updating modules

Please check your email.  This was a combination of three things.  1. having mod_rewrite set to off in the album .htaccess files, 2. having a site in a subdirectory and 3. a bug where URLs aren't being set correctly when both 1. and 2. have occurred.
The bug was introduced when changing Backlight to not require URL rewriting, especially so that it could work on non-Apache web servers.

Offline

#16 2019-10-09 23:01:36

Yakima77
Member
Registered: 2016-05-07
Posts: 12

Re: Page formatting lost after updating modules

Thanks, Ben. Everything is working now. Setting the mod_rewrite to off was done in 2016 as a work around for a web server problem.

Offline

Board footer

Powered by FluxBB