Skip to content
VuFind
  • Your Account
  • Log Out
  • Institutional Login
  • Language
    • English
    • Deutsch
    • Español
    • Français
    • Italiano
    • 日本語
    • Nederlands
    • Português
    • Português (Brasil)
    • 中文(简体)
    • 中文(繁體)
    • Türkçe
    • עברית
    • Gaeilge
    • Cymraeg
    • Ελληνικά
    • Català
    • Euskara
    • Русский
    • Čeština
    • Suomi
    • Svenska
    • polski
    • Dansk
    • slovenščina
    • اللغة العربية
    • বাংলা
    • Galego
    • Tiếng Việt
Advanced

Loading...
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
fopen(/tmp/vufind_sessions/sess_2oesbqaeo960idfog18ka119sq): failed to open stream: No space left on device
Whoops\Exception\ErrorException thrown with message "fopen(/tmp/vufind_sessions/sess_2oesbqaeo960idfog18ka119sq): failed to open stream: No space left on device" Stacktrace: #5 Whoops\Exception\ErrorException in /usr/local/vufind/module/VuFind/src/VuFind/Session/File.php:153 #4 fopen in /usr/local/vufind/module/VuFind/src/VuFind/Session/File.php:153 #3 VuFind\Session\File:saveSession in /usr/local/vufind/module/VuFind/src/VuFind/Session/AbstractBase.php:195 #2 VuFind\Session\AbstractBase:write in [internal]:0 #1 session_write_close in /usr/local/vufind/vendor/zendframework/zend-session/src/SessionManager.php:236 #0 Zend\Session\SessionManager:writeClose in [internal]:0
Stack frames (6)
5
Whoops\Exception\ErrorException
…/module/VuFind/src/VuFind/Session/File.php153
4
fopen
…/module/VuFind/src/VuFind/Session/File.php153
3
VuFind\Session\File saveSession
…/module/VuFind/src/VuFind/Session/AbstractBase.php195
2
VuFind\Session\AbstractBase write
[internal]0
1
session_write_close
…/vendor/zendframework/zend-session/src/SessionManager.php236
0
Zend\Session\SessionManager writeClose
[internal]0
/usr/local/vufind/module/VuFind/src/VuFind/Session/File.php
        foreach (glob($this->getPath() . "/sess_*") as $filename) {
            if (filemtime($filename) + $maxlifetime < time()) {
                unlink($filename);
            }
        }
        return true;
    }
 
    /**
     * A function that is called internally when session data is to be saved.
     *
     * @param string $sess_id The current session ID
     * @param string $data    The session data to write
     *
     * @return bool
     */
    protected function saveSession($sess_id, $data)
    {
        $sess_file = $this->getPath() . '/sess_' . $sess_id;
        if ($fp = fopen($sess_file, "w")) {
            $return = fwrite($fp, $data);
            fclose($fp);
            if ($return !== false) {
                return true;
            }
        }
        // If we got this far, something went wrong with the file output...
        // It is tempting to throw an exception here, but this code is called
        // outside of the context of exception handling, so all we can do is
        // echo a message.
        echo 'Cannot write session to ' . $sess_file . "\n";
        return false;
    }
}
 
/usr/local/vufind/module/VuFind/src/VuFind/Session/File.php
        foreach (glob($this->getPath() . "/sess_*") as $filename) {
            if (filemtime($filename) + $maxlifetime < time()) {
                unlink($filename);
            }
        }
        return true;
    }
 
    /**
     * A function that is called internally when session data is to be saved.
     *
     * @param string $sess_id The current session ID
     * @param string $data    The session data to write
     *
     * @return bool
     */
    protected function saveSession($sess_id, $data)
    {
        $sess_file = $this->getPath() . '/sess_' . $sess_id;
        if ($fp = fopen($sess_file, "w")) {
            $return = fwrite($fp, $data);
            fclose($fp);
            if ($return !== false) {
                return true;
            }
        }
        // If we got this far, something went wrong with the file output...
        // It is tempting to throw an exception here, but this code is called
        // outside of the context of exception handling, so all we can do is
        // echo a message.
        echo 'Cannot write session to ' . $sess_file . "\n";
        return false;
    }
}
 
/usr/local/vufind/module/VuFind/src/VuFind/Session/AbstractBase.php
        // Anecdotal testing Today and Yesterday seems to indicate destroy()
        //   is called by the garbage collector and everything is good.
        // Something to keep in mind though.
        return true;
    }
 
    /**
     * Write function that is called when session data is to be saved.
     *
     * @param string $sess_id The current session ID
     * @param string $data    The session data to write
     *
     * @return bool
     */
    public function write($sess_id, $data)
    {
        if ($this->writesDisabled) {
            return true;
        }
        return $this->saveSession($sess_id, $data);
    }
 
    /**
     * A function that is called internally when session data is to be saved.
     *
     * @param string $sess_id The current session ID
     * @param string $data    The session data to write
     *
     * @return bool
     */
    abstract protected function saveSession($sess_id, $data);
}
 
[internal]
/usr/local/vufind/vendor/zendframework/zend-session/src/SessionManager.php
     *
     * @return void
     */
    public function writeClose()
    {
        // The assumption is that we're using PHP's ext/session.
        // session_write_close() will actually overwrite $_SESSION with an
        // empty array on completion -- which leads to a mismatch between what
        // is in the storage object and $_SESSION. To get around this, we
        // temporarily reset $_SESSION to an array, and then re-link it to
        // the storage object.
        //
        // Additionally, while you _can_ write to $_SESSION following a
        // session_write_close() operation, no changes made to it will be
        // flushed to the session handler. As such, we now mark the storage
        // object isImmutable.
        $storage  = $this->getStorage();
        if (! $storage->isImmutable()) {
            $_SESSION = $storage->toArray(true);
            session_write_close();
            $storage->fromArray($_SESSION);
            $storage->markImmutable();
        }
    }
 
    /**
     * Attempt to set the session name
     *
     * If the session has already been started, or if the name provided fails
     * validation, an exception will be raised.
     *
     * @param  string $name
     * @return SessionManager
     * @throws Exception\InvalidArgumentException
     */
    public function setName($name)
    {
        if ($this->sessionExists()) {
            throw new Exception\InvalidArgumentException(
                'Cannot set session name after a session has already started'
[internal]

Environment & details:

empty
empty
empty
empty
Key Value
__ZF Array ( [_REQUEST_ACCESS_TIME] => 1747316897.2387 [_VALID] => Array ( [Zend\Session\Validator\Id] => 2oesbqaeo960idfog18ka119sq ) )
SessionState Zend\Stdlib\ArrayObject Object ( [storage:protected] => Array ( [cookiePath] => / ) [flag:protected] => 2 [iteratorClass:protected] => ArrayIterator [protectedProperties:protected] => Array ( [0] => storage [1] => flag [2] => iteratorClass [3] => protectedProperties ) )
Key Value
SCRIPT_URL /vufind/
SCRIPT_URI https://vufind.reshare-dev.indexdata.com/vufind/
VUFIND_ENV development
VUFIND_LOCAL_DIR /usr/local/vufind/local
VUFIND_LOCAL_MODULES ReShare
Shib-Handler https://vufind.reshare-dev.indexdata.com/Shibboleth.sso
HTTPS on
SSL_TLS_SNI vufind.reshare-dev.indexdata.com
SSL_SERVER_S_DN_CN vufind.reshare-dev.indexdata.com
SSL_SERVER_I_DN_C US
SSL_SERVER_I_DN_O Let's Encrypt
SSL_SERVER_I_DN_CN R10
SSL_SERVER_SAN_DNS_0 vufind.reshare-dev.indexdata.com
SSL_VERSION_INTERFACE mod_ssl/2.4.29
SSL_VERSION_LIBRARY OpenSSL/1.1.1
SSL_PROTOCOL TLSv1.3
SSL_SECURE_RENEG false
SSL_COMPRESS_METHOD NULL
SSL_CIPHER TLS_AES_256_GCM_SHA384
SSL_CIPHER_EXPORT false
SSL_CIPHER_USEKEYSIZE 256
SSL_CIPHER_ALGKEYSIZE 256
SSL_CLIENT_VERIFY NONE
SSL_SERVER_M_VERSION 3
SSL_SERVER_M_SERIAL 04F8AE553B0E5CEF60E98673670608735663
SSL_SERVER_V_START Feb 22 15:38:37 2025 GMT
SSL_SERVER_V_END May 23 15:38:36 2025 GMT
SSL_SERVER_S_DN CN=vufind.reshare-dev.indexdata.com
SSL_SERVER_I_DN CN=R10,O=Let's Encrypt,C=US
SSL_SERVER_A_KEY rsaEncryption
SSL_SERVER_A_SIG sha256WithRSAEncryption
SSL_SESSION_ID de14e55de0177820e3d7fa82aa4e27967bef1862220a84b7985b96f9dfacb37d
SSL_SESSION_RESUMED Initial
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT_ENCODING br,gzip
HTTP_HOST vufind.reshare-dev.indexdata.com
HTTP_CONNECTION Keep-Alive
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
SERVER_SIGNATURE <address>Apache/2.4.29 (Ubuntu) Server at vufind.reshare-dev.indexdata.com Port 443</address>
SERVER_SOFTWARE Apache/2.4.29 (Ubuntu)
SERVER_NAME vufind.reshare-dev.indexdata.com
SERVER_ADDR 172.31.44.139
SERVER_PORT 443
REMOTE_ADDR 18.97.14.86
DOCUMENT_ROOT /var/www/html
REQUEST_SCHEME https
CONTEXT_PREFIX /vufind
CONTEXT_DOCUMENT_ROOT /usr/local/vufind/public
SERVER_ADMIN webmaster@localhost
SCRIPT_FILENAME /usr/local/vufind/public/index.php
REMOTE_PORT 56988
REMOTE_USER
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /vufind/
SCRIPT_NAME /vufind/index.php
PHP_SELF /vufind/index.php
PHP_AUTH_USER
REQUEST_TIME_FLOAT 1747316897.222
REQUEST_TIME 1747316897
empty
0. Whoops\Handler\PrettyPageHandler