• Better to test and either create the folder or if user needs to do it put up an admin alert to create it.

    Should alert user what the WordPress temp setting is, in wp-config.php,
    define('WP_TEMP_DIR', ABSPATH . 'wp-content/temp/');

    Currently get huge number of messages in the PHP error log:

    [03-Aug-2014 07:52:35 UTC] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: open(/home/USERNAME/public_html/wp-content/temp/sess_7f0d00d65da5f3e53a27119ae762334d, O_RDWR) failed: No such file or directory (2) in /home/USERNAME/public_html/wp-content/plugins/paid-memberships-pro/paid-memberships-pro.php on line 31
    [03-Aug-2014 07:52:35 UTC] PHP Warning:  Unknown: open(/home/USERNAME/public_html/wp-content/temp/sess_7f0d00d65da5f3e53a27119ae762334d, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
    [03-Aug-2014 07:52:35 UTC] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0
    [03-Aug-2014 07:52:35 UTC] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: open(/home/USERNAME/public_html/wp-content/temp/sess_7f0d00d65da5f3e53a27119ae762334d, O_RDWR) failed: No such file or directory (2) in /home/USERNAME/public_html/wp-content/plugins/paid-memberships-pro/paid-memberships-pro.php on line 31
    [03-Aug-2014 07:52:35 UTC] PHP Warning:  Unknown: open(/home/USERNAME/public_html/wp-content/temp/sess_7f0d00d65da5f3e53a27119ae762334d, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
    [03-Aug-2014 07:52:35 UTC] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0
    [03-Aug-2014 07:52:47 UTC] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: open(/home/USERNAME/public_html/wp-content/temp/sess_7f0d00d65da5f3e53a27119ae762334d, O_RDWR) failed: No such file or directory (2) in /home/USERNAME/public_html/wp-content/plugins/paid-memberships-pro/paid-memberships-pro.php on line 31
    [03-Aug-2014 07:52:48 UTC] PHP Warning:  Unknown: open(/home/USERNAME/public_html/wp-content/temp/sess_7f0d00d65da5f3e53a27119ae762334d, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
    [03-Aug-2014 07:52:48 UTC] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0
    [03-Aug-2014 07:52:48 UTC] PHP Warning:  session_start() [<a href='function.session-start'>function.session-start</a>]: open(/home/USERNAME/public_html/wp-content/temp/sess_7f0d00d65da5f3e53a27119ae762334d, O_RDWR) failed: No such file or directory (2) in /home/USERNAME/public_html/wp-content/plugins/paid-memberships-pro/paid-memberships-pro.php on line 31

    https://www.ads-software.com/plugins/paid-memberships-pro/

Viewing 1 replies (of 1 total)
  • Plugin Author Jason Coleman

    (@strangerstudios)

    I believe we have some code to avoid these warnings, but what’s happening here is that $_SESSION vars have to be enabled on your host in order for PMPro to work. It seems that your host is setup to put session vars in /wp-content/temp/. Follow up with your host to make sure that session vars are working for you.

    We could add code to avoid the warnings, but you need this working for PMPro to work, so better to show the warnings. ?? The temp directory is not always in a place where PMPro would be able to create it. It’s usually outside of the web folder.

Viewing 1 replies (of 1 total)
  • The topic ‘Errors if /wp-content/temp/ missing’ is closed to new replies.