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.
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
Offline
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
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
That's strange. Session handling should be unchanged from BL1 to BL2.
Offline
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
Offline
That's great to hear! I hope it all works well from now on.
Offline
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