• Resolved djason

    (@djason)


    Getting many errors every day in the PHP error log. I X’d out paths and such. Saw this with both PHP 5.6 and 7.2.

    [12-Feb-2019 08:06:58 UTC] PHP Warning: session_start(): open(XXXXXX/sess_XXXX, O_RDWR) failed: Permission denied (13) in XXXX/wp-content/plugins/before-and-after/before-and-after.php on line 61

    [12-Feb-2019 08:06:58 UTC] PHP Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php72) in /XXXX/wp-content/plugins/before-and-after/before-and-after.php on line 61

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor richardgabriel

    (@richardgabriel)

    Hey @djason!

    Before & After stores data in the session as one method of tracking if a user has completed a goal.

    This reads like your website is having issues writing data to the session (Permission Denied). This is probably something to ask your host about.

    They are warnings so the software continues to function but it isn’t recording conversion data using the session mechanism.

    Best,
    Richard

    Thread Starter djason

    (@djason)

    Thanks. I talked to our host and they made the following change (for anyone else with the same issue). The errors have gone away.

    In the site’s php.ini file, add:

    session.save_path = “/tmp”

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP session warning’ is closed to new replies.