*

gsmax

  • **
  • 5 posts
Weird session bugs in 8.1.1
« on: February 06, 2023, 11:15:17 AM »
Hi everyone. I'm getting weird session bugs after the upgrade to 8.1.1. Below are the warnings:

Warning: PHP Startup: open(/tmp/sess_63e0d122b0e76051651395, O_RDWR) failed: No such file or directory (2) in /oc-includes/osclass/core/Session.php on line 98
Warning: PHP Startup: Failed to read session data: files (path: /tmp) in /oc-includes/osclass/core/Session.php on line 98
Warning: PHP Startup: open(/tmp/sess_63e0d1d700d89146069670, O_RDWR) failed: No such file or directory (2) in /oc-includes/osclass/core/Session.php on line 62
Warning: PHP Startup: Failed to read session data: files (path: /tmp) in /oc-includes/osclass/core/Session.php on line 62
Warning: PHP Startup: Session ID cannot be regenerated when there is no active session in /oc-includes/osclass/core/Session.php on line 63


Apparently the Session.php is not saving a session file in /tmp for some reason... btw. COOKIE_DOMAIN is properly set in config.php

Does anybody getting the same? Did you manage to fix it?

Tnaks a lot!
« Last Edit: February 06, 2023, 11:32:35 AM by gsmax »

*

gsmax

  • **
  • 5 posts
Re: Weird session bugs in 8.1.1
« Reply #1 on: February 06, 2023, 12:09:26 PM »
FYI Fixed it. apparently 8.1.1 does not work well with PHP 8.1 switched back to 7.4 and it works now.

*

MB Themes

Re: Weird session bugs in 8.1.1
« Reply #2 on: February 06, 2023, 12:27:40 PM »
Does not seems to be repated to php version, looks more to server issue.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

gsmax

  • **
  • 5 posts
Re: Weird session bugs in 8.1.1
« Reply #3 on: February 06, 2023, 12:35:16 PM »
@MB Themes. YES. It's possible to be related to the 8.1 configuration on the server.

*

dsf

  • *****
  • 261 posts
Re: Weird session bugs in 8.1.1
« Reply #4 on: February 06, 2023, 01:50:20 PM »

Apparently the Session.php is not saving a session file in /tmp for some reason... btw. COOKIE_DOMAIN is properly set in config.php


COOKIE_DOMAIN?

*

MB Themes

Re: Weird session bugs in 8.1.1
« Reply #5 on: February 06, 2023, 06:26:01 PM »
Its for subdomains based installation,
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots