• Resolved Howie

    (@dotlicious)


    Receiving the following PHP file access errors:

    PHP Warning: session_start(): open(/var/lib/php/sessions/sess_[session identifier], O_RDWR) failed: Read-only file system (30) in [filepath]/wp-content/plugins/give/includes/class-give-session.php on line 405

    Unknown: open(/var/lib/php/sessions/sess_[session identifier], O_RDWR) failed: Read-only file system (30) in Unknown on line 0

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    Hi @dotlicious

    That error most likely is triggered by the way your server handles sessions. Here’s a few things to try:

    Sessions — WordPress default sessions sometimes don’t work well with certain hosts. There’s two main ways to set your site to have more reliable sessions with Give:

    a. Set this in your wp-config.php file: define( 'GIVE_USE_PHP_SESSIONS' , false);

    b. Try using this free plugin which switches your site to use native PHP Sessions instead: https://ww.wp.xz.cn/plugins/wp-native-php-sessions/

    Note that you should not do BOTH of those methods, just one then test, then the other (if necessary) then test).

    Let me know how that goes for you.

    Thread Starter Howie

    (@dotlicious)

    Option a. worked great. Many thanks.

    Plugin Contributor Matt Cromwell

    (@webdevmattcrom)

    Great to hear @dotlicious

    If you’re enjoying Give and appreciate our support, we’d love a kind review from you here:
    https://ww.wp.xz.cn/support/plugin/give/reviews/

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP errors’ is closed to new replies.