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-07-09 06:41:15

Eric_H_Johnson
Member
Registered: 2017-07-09
Posts: 14

Errors attempting to access Backlight for first time

I copied these to my site's folder:  public_html/dev

.htaccess
backlight (folder and contents)
galleries  (folder and contents)
index.php


Permissions verified as…

User:    Read, Write, Execute
Group:  Read, Execute
World:   Read, Execute

Attempted login…

http://erichjohnson.com/dev/backlight/

changes to…

http://erichjohnson.com/dev/backlight/admin/

and yields these errors…

mkdir(): Permission denied|#0 [internal function]: ErrorHandler::handleError(2, 'mkdir(): Permis...', '/home/erichjoh/...', 144, Array) #1 /home/erichjoh/public_html/dev/backlight/framework/helpers/GenericApplicationHelper.php(144): mkdir('../../backlight...') #2 /home/erichjoh/public_html/dev/backlight/framework/helpers/AuthHelper.php(59): GenericApplicationHelper::makeDataDirectoryIfNeeded('../../backlight...') #3 /home/erichjoh/public_html/dev/backlight/framework/init.php(123): AuthHelper::handleSession() #4 /home/erichjoh/public_html/dev/backlight/admin/index.php(24): require_once('/home/erichjoh/...') #5 {main}|URL: /dev/backlight/admin/index.php

Offline

#2 2017-07-09 07:06:34

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

Re: Errors attempting to access Backlight for first time

You may need to add write permissions for Group of World. The latter may not be very secure, so it may be worth asking your host's technical support for advice about the best strategy.

Who are you hosting with? Do you have access rights to set group ownership?

Offline

#3 2017-07-09 07:15:50

Eric_H_Johnson
Member
Registered: 2017-07-09
Posts: 14

Re: Errors attempting to access Backlight for first time

Setting permissions for User, Group and World to Read, Write and Execute for all files within my "dev" folder appears to have fixed it.  I now get Backlight's Login screen.

I use hostmatters.com

Thanks!

Offline

#4 2017-07-09 07:31:34

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

Re: Errors attempting to access Backlight for first time

Ben, shouldn't it be sufficient to give write permission only to /backlight/data?


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

Offline

#5 2017-07-09 07:43:58

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

Re: Errors attempting to access Backlight for first time

Almost. Only /backlight/data/ and /galleries (or other top-level galleries directory) need to be writeable by the web server. It's often the case that these are writeable without needing to explicitly set permissions.

Offline

Board footer

Powered by FluxBB