• Resolved npiper

    (@npiper)


    I received this error message in my debug file this morning and wanted to know how bad of an error this could turn out to be:

    [18-Apr-2019 19:13:40 UTC] PHP Notice: session_start(): ps_files_cleanup_dir: opendir(C:\Windows\temp) failed: Result too large (34) in C:\inetpub\wwwroot\wordpress\wp-content\plugins\custom-sidebars\inc\external\wpmu-lib\inc\class-thelib.php on line 145

    My website has not crashed or anything like that. I just want to stay on top of my debug and know what this error message means so when my boss asks me about I have a good idea of why this happened.

Viewing 1 replies (of 1 total)
  • Plugin Support Nastia – WPMU DEV Support

    (@wpmudev-support9)

    Hello @npiper

    Hope you are doing well!

    This is a notice that doesn’t affect the site performance in any way. Session temporary files are created in the /temp/ folder. It is possible that PHP might not have enough rights to work with that folder and remove files.

    Without the permissions to delete files in this directory PHP is unable to remove these files as part of its normal session garbage handling process and so they accumulate when they are no longer needed/you will occasionally see this error whenever garbage collection is performed.

    Please make sure the folder permissions are 755. You can even try to set a new Session folder for temporary files by adding this line in the php.ini:
    ini_set('session.save_path', '/path/to/your/folder')

    Hope this helps!

    Cheers,
    Nastia

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.