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-11-05 01:09:43

gcusick
Member
Registered: 2013-03-04
Posts: 40

Backlight Admin after update to 1.2.3

On update to Backlight+Pages 1.2.3, the UI for Backlight admin does not appear to work properly.  I just see a lis of links, no header, no page formatting.

I'm using Firefox under Macos High Sierra; behaviour is the same in Safari and Chrome.

I followed the procedure in the readme - delete .../admin, .../designer, ..../framework, .../publisher and upload new copies from the 1.2.3 distribution.  I also tried re-expanding the distribution and repeating the exercise.

Help, please.

Thanks
Geoff


Geoff Cusick
Amazed and Confused
https://www.cusick.org.uk

Offline

#2 2017-11-05 01:28:29

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

Re: Backlight Admin after update to 1.2.3

Sounds like some css is missing.
But it’s hard to tell without seeing anything.
Can you post a link to the site? And consider posting Backlight guest credentials  so we can see the 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 2017-11-05 02:00:00

gcusick
Member
Registered: 2013-03-04
Posts: 40

Re: Backlight Admin after update to 1.2.3

Thanks Rod.

The site is at

http://backlight.cusick.org.uk/backlight/admin/

There is a guest admin defined.  Password is blguest.

Regards
Geoff


Geoff Cusick
Amazed and Confused
https://www.cusick.org.uk

Offline

#4 2017-11-05 02:26:59

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

Re: Backlight Admin after update to 1.2.3

it looks like the admin.css file is missing.
It should be at /backlight/admin/lib/css/admin.css
Can you take a look and make sure it's there. If it's not, upload it again. Also make sure all the other assets from the admin/lib/ folder are there


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-11-05 02:35:49

gcusick
Member
Registered: 2013-03-04
Posts: 40

Re: Backlight Admin after update to 1.2.3

/backlight/admin/lib contains 3 folders: css, images and js.

css contains:
a folder - images
admin.css
jquery-ui.css
phpliteadmin.css

The images folder contains 6 .png files, with names starting 'ui-icons_'


The admin/images folder contains apple-touch-icon.png, favicon.ico, identityplate.png and nothumb.jpg

The admin/js folder contains just 2 files, admin.js and jquery-ui.min.js

I checked the files under css against the distribution, and against the v1.2.2 release 3 distribution, and they appear the same.

Thanks for your help
Geoff


Geoff Cusick
Amazed and Confused
https://www.cusick.org.uk

Offline

#6 2017-11-05 03:31:15

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

Re: Backlight Admin after update to 1.2.3

well, if I go to the location that the file should be at, I get a placeholder page. this means the file is not there.
http://backlight.cusick.org.uk/backligh … /admin.css

are there any read permission issues along the folder tree leading to that 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

#7 2017-11-05 10:05:21

gcusick
Member
Registered: 2013-03-04
Posts: 40

Re: Backlight Admin after update to 1.2.3

I’ve worked my way down that tree, and set all the permissions to 705.  Now, I can see admin.css in the browser - as a text fike - but no difference to the Backlight admin login page.

G


Geoff Cusick
Amazed and Confused
https://www.cusick.org.uk

Offline

#8 2017-11-05 11:42:27

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

Re: Backlight Admin after update to 1.2.3

did you happen to remove the okapi-core/ folder from the backlight/modules/ folder?
I believe that folder is needed since the Admin section is (I think) still running on the okapi platform.
If you did, upload the folder from your download to the backlight/modules/ folder.


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

Offline

#9 2017-11-05 18:45:39

gcusick
Member
Registered: 2013-03-04
Posts: 40

Re: Backlight Admin after update to 1.2.3

Thanks for the pointer, Rod.  The okapi-core folder was there, but the permissions on everything in the css folder below it were set to 700.  Changing the permissions on *.css to 705 resulted in the admin page displaying correctly.

I’ll take a look at the other updated folders later today.  Do you know if this is documented anywhere?

Thanks again.
Geoff


Geoff Cusick
Amazed and Confused
https://www.cusick.org.uk

Offline

#10 2017-11-05 19:23:23

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

Re: Backlight Admin after update to 1.2.3

The admin does still require okapi-core. I'd love to renovate the admin at some point, but it's not on my to-do list for the near future.

Updates are always documented in the readme file included in the download, as well as on the blog announcement for the update. We provide this information as a convenience, so as to minimize your upload. When in doubt, it's always okay to replace the entire application with the latest version, though a full upload will take longer than only uploading the newly updated assets. If replaced the entire application, just be sure to retain your existing backlight/data and backlight/custom folders, as these contain your individual site settings, data and customizations.


Matt

The Turning Gate, http://theturninggate.net

Offline

#11 2017-11-06 19:59:53

gcusick
Member
Registered: 2013-03-04
Posts: 40

Re: Backlight Admin after update to 1.2.3

Thanks Matt.

The documentation I was looking for was on the file permissions in a Backlight installation.  I encountered a problem following a change in the FTP client I was using, from FireFTP within Firefox (no longer supported) to FileZilla.  Having worked through and resolved the problem with Rod's help, I came to the conclusion that FileZilla is handling file permissions differently from FireFTP.

The files on my Mac, having expanded the archive, are all shown as (octal) 700; it looks as if I need either to expand the archive differently, to preserve permissions (are they in the archive?), use an FTP client that will allow setting the permissions, or adjust the permissions after upload.  In any case, knowing what the permissions should be (I guessed at 705) would be helpful.

Cheers


Geoff Cusick
Amazed and Confused
https://www.cusick.org.uk

Offline

#12 2017-11-06 21:57:40

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

Re: Backlight Admin after update to 1.2.3

Usually, 755 works. Some hosts need 777
http://backlight.theturninggate.net/doc … irectories


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

Offline

#13 2017-11-08 17:27:51

gcusick
Member
Registered: 2013-03-04
Posts: 40

Re: Backlight Admin after update to 1.2.3

Thanks Rod.  I hadn’t found that document.

One additional note regarding FTP (or, more specifically, SFTP) clients for Macos:  FileZilla does not allow setting permissions on upload - I think (again, not sure it’s documented) it simply copies the permissions of the source file.  The files in the expanded .zip all have 700.  Cyberduck does allow you to set permissions for files and folders.

Thanks again for the help.

Geoff


Geoff Cusick
Amazed and Confused
https://www.cusick.org.uk

Offline

#14 2017-11-26 02:12:22

jrobertburgoyne
Member
Registered: 2017-10-29
Posts: 4

Re: Backlight Admin after update to 1.2.3

Rod and others - thanks for digging in and finding the permissions issue. I was having the same problem but now it's fixed.

Offline

Board footer

Powered by FluxBB