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 2018-09-12 17:06:31

post@trulsellefsen.no
Member
Registered: 2015-01-17
Posts: 37

I have got a lot of similar errors when I am using backlight/admin

Example: I clicked the name of an album template (.../backlight/designer/view_template/21/) and got this message:

session_start(): open(../backlight/data/sessions/sess_b4c9614fce9e05689c198ac2d31e0aa8, O_RDWR) failed: Permission denied (13)|#0 [internal function]: ErrorHandler::handleError(2, 'session_start()...', '/home/trulsivc/...', 156, Array) #1 /home/trulsivc/public_html/britogtruls/backlight/modules/module-framework/helpers/AuthHelper.php(156): session_start() #2 /home/trulsivc/public_html/britogtruls/backlight/modules/module-framework/Framework.php(380): AuthHelper::handleSession() #3 /home/trulsivc/public_html/britogtruls/backlight/modules/module-framework/Framework.php(148): Framework->handleSession() #4 /home/trulsivc/public_html/britogtruls/backlight/modules/module-framework/Framework.php(41): Framework->init() #5 /home/trulsivc/public_html/britogtruls/backlight/index.php(25): Framework->__construct('..', Array) #6 {main}|URL: /backlight/index.phpfile_put_contents(../backlight/data/class_lookup.txt): failed to open stream: No such file or directory|/home/trulsivc/public_html/britogtruls/backlight/modules/module-framework/helpers/ClassFinder.php|113

When this happens I have to restart Chrome (v.69) and log in again.

However, the upgrade of my actual website to BL2 worked nice with no problems smile

Offline

#2 2018-09-12 20:16:38

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

Re: I have got a lot of similar errors when I am using backlight/admin

Hi, this is a permissions error.  Can you try changing the permissions for the backlight/data/sessions/ directory to the same permissions you've set your backlight/data or top-level gallery (e.g. 'galleries') directory to?  That may solve it, but I'm afraid that you will have further permissions problems later on.
Who are you hosting with?

Offline

#3 2018-09-13 06:21:14

post@trulsellefsen.no
Member
Registered: 2015-01-17
Posts: 37

Re: I have got a lot of similar errors when I am using backlight/admin

I have tested more by navigating through BL2 admin menus, and still have the same problem whether or not I change the sessions permission.

In BL1 I never had these problems at all.

Last edited by post@trulsellefsen.no (2018-09-13 06:22:38)

Offline

#4 2018-09-13 07:31:18

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

Re: I have got a lot of similar errors when I am using backlight/admin

That's strange.  Session handling should be unchanged from BL1 to BL2.

Offline

#5 2018-09-13 18:15:15

post@trulsellefsen.no
Member
Registered: 2015-01-17
Posts: 37

Re: I have got a lot of similar errors when I am using backlight/admin

The errors were caused by an ownership issue for many files, which caused random errors in backlight/admin.  After correction of the ownership everything seems to work nicely smile

Offline

#6 2018-09-13 20:38:42

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

Re: I have got a lot of similar errors when I am using backlight/admin

That's great to hear!  I hope it all works well from now on.

Offline

#7 2018-09-13 22:39:22

post@trulsellefsen.no
Member
Registered: 2015-01-17
Posts: 37

Re: I have got a lot of similar errors when I am using backlight/admin

I was a bit optimistic, but I discovered that the files inside the sessions directory gets a wrong ownership when written by backlight. It seems the more sessions files the worse the problem is.

So what ownership setting inside backlight is used for this files?

Last edited by post@trulsellefsen.no (2018-09-14 15:19:41)

Offline

Board footer

Powered by FluxBB