Skip to content
VuFind
  • Login
    • English
    • Deutsch
    • Español
    • Français
    • Italiano
Advanced
  • Cite this
  • Text this
  • Email this
  • Print
  • Export Record
    • Export to RefWorks
    • Export to EndNoteWeb
    • Export to EndNote
  • Save to List
  • Permanent link
Cover Image

Saved in:
Bibliographic Details
Main Authors: Alvaro, Elsa, Brooks, Heather, Ham, Monica, Poegel, Stephanie, Rosencrans, Sarah
Format: Recurso educativo Open Access
Language:en
Published: 2011
Subjects:
Librarians
Academic Libraries
Library Science
Internet
Data Collection
Technology Uses in Education
Computer Uses in Education
Computers
Library Services
Science Instruction
Science Education
Shared Resources and Services
Universities
Graduate Students
Online Access:https://eric.ed.gov/?id=EJ953335
Tags: Add Tag
No Tags, Be the first to tag this record!
  • Holdings
  • Description
  • Table of Contents
  • Comments
  • Similar Items
  • Staff View

Internet

https://eric.ed.gov/?id=EJ953335

Similar Items

  • Innovation Instruction in the Academic Library: A New Focus
    by: Caruso, Beth
    Published: (2019)
  • Adding an Extra Helping of Service when You Already Have a Full Plate: Building an Embedded Librarian Program
    by: Chesnut, Mary Todd, et al.
    Published: (2010)
  • Open Access Research via Collaborative Educational Blogging: A Case Study from Library & Information Science
    by: Rebmann, Kristen Radsliff, et al.
    Published: (2017)
  • Expanding School Library Collections: The Makerspace Edition
    by: Robertson, Nikki D.
    Published: (2019)
  • Exploring Sustainability in Library Support for Open Pedagogy Collaborations
    by: Carter, Kate McNally, et al.
    Published: (2023)

Search Options

  • Search History
  • Advanced Search

Find More

  • Browse the Catalog
  • Browse Alphabetically
  • Explore Channels
  • Course Reserves
  • New Items

Need Help?

  • Search Tips
  • Ask a Librarian
  • FAQs
Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
fopen(/tmp/vufind_sessions/sess_377a83ed12f9543fc3ca0da78f1b72a2): Failed to open stream: No space left on device
Whoops\Exception\ErrorException thrown with message "fopen(/tmp/vufind_sessions/sess_377a83ed12f9543fc3ca0da78f1b72a2): 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:159 #4 fopen in /usr/local/vufind/module/VuFind/src/VuFind/Session/File.php:159 #3 VuFind\Session\File:saveSession in /usr/local/vufind/module/VuFind/src/VuFind/Session/AbstractBase.php:192 #2 VuFind\Session\AbstractBase:write in [internal]:0 #1 session_write_close in /usr/local/vufind/vendor/laminas/laminas-session/src/SessionManager.php:242 #0 Laminas\Session\SessionManager:writeClose in [internal]:0
Application frames (0) All frames (6)
5
Whoops\Exception\ErrorException
…/module/VuFind/src/VuFind/Session/File.php159
4
fopen
…/module/VuFind/src/VuFind/Session/File.php159
3
VuFind\Session\File saveSession
…/module/VuFind/src/VuFind/Session/AbstractBase.php192
2
VuFind\Session\AbstractBase write
[internal]0
1
session_write_close
…/vendor/laminas/laminas-session/src/SessionManager.php242
0
Laminas\Session\SessionManager writeClose
[internal]0
Open: /usr/local/vufind/module/VuFind/src/VuFind/Session/File.php
            if (filemtime($filename) + $maxlifetime < time()) {
                unlink($filename);
                $count++;
            }
        }
        return $count;
    }
 
    /**
     * A function that is called internally when session data is to be saved.
     *
     * @param string $sessId The current session ID
     * @param string $data   The session data to write
     *
     * @return bool
     */
    protected function saveSession($sessId, $data): bool
    {
        $sessFile = $this->path . '/sess_' . $sessId;
        if ($handle = fopen($sessFile, 'w')) {
            $return = false;
            // Lock the file for exclusive access to avoid issues with multiple
            // processes writing session simultaneously:
            if (flock($handle, LOCK_EX)) {
                $return = fwrite($handle, $data);
                // Make sure that there's no trailing data by truncating the file to
                // the correct length:
                ftruncate($handle, strlen($data));
                fflush($handle);
                flock($handle, LOCK_UN);
            }
            fclose($handle);
            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.
Arguments
  1. "fopen(/tmp/vufind_sessions/sess_377a83ed12f9543fc3ca0da78f1b72a2): Failed to open stream: No space left on device"
    
Open: /usr/local/vufind/module/VuFind/src/VuFind/Session/File.php
            if (filemtime($filename) + $maxlifetime < time()) {
                unlink($filename);
                $count++;
            }
        }
        return $count;
    }
 
    /**
     * A function that is called internally when session data is to be saved.
     *
     * @param string $sessId The current session ID
     * @param string $data   The session data to write
     *
     * @return bool
     */
    protected function saveSession($sessId, $data): bool
    {
        $sessFile = $this->path . '/sess_' . $sessId;
        if ($handle = fopen($sessFile, 'w')) {
            $return = false;
            // Lock the file for exclusive access to avoid issues with multiple
            // processes writing session simultaneously:
            if (flock($handle, LOCK_EX)) {
                $return = fwrite($handle, $data);
                // Make sure that there's no trailing data by truncating the file to
                // the correct length:
                ftruncate($handle, strlen($data));
                fflush($handle);
                flock($handle, LOCK_UN);
            }
            fclose($handle);
            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.
Open: /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 0;
    }
 
    /**
     * Write function that is called when session data is to be saved.
     *
     * @param string $sessId The current session ID
     * @param string $data   The session data to write
     *
     * @return bool
     */
    public function write($sessId, $data): bool
    {
        if ($this->writesDisabled) {
            return true;
        }
        return $this->saveSession($sessId, $data);
    }
 
    /**
     * A function that is called internally when session data is to be saved.
     *
     * @param string $sessId The current session ID
     * @param string $data   The session data to write
     *
     * @return bool
     */
    abstract protected function saveSession($sessId, $data): bool;
}
 
Open: [internal]
Open: /usr/local/vufind/vendor/laminas/laminas-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'
Open: [internal]

Environment & details:

empty
empty
empty
Key Value
ui
"standard"
language
"en"
VUFIND_SESSION
"377a83ed12f9543fc3ca0da78f1b72a2"
Key Value
__Laminas
array:2 [
  "_REQUEST_ACCESS_TIME" => 1785074834.3087
  "_VALID" => array:1 [
    "Laminas\Session\Validator\Id" => "377a83ed12f9543fc3ca0da78f1b72a2"
  ]
]
SessionState
Laminas\Stdlib\ArrayObject {#938}
FlashMessenger
Laminas\Stdlib\ArrayObject {#1583}
SessionHelper
Laminas\Stdlib\ArrayObject {#1774}
Key Value
REDIRECT_VUFIND_LOCAL_DIR
"/usr/local/vufind/local"
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"info.umar.mx"
REDIRECT_STATUS
"200"
VUFIND_LOCAL_DIR
"/usr/local/vufind/local"
HTTPS
"on"
SSL_TLS_SNI
"info.umar.mx"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_COOKIE
"ui=standard; language=en; VUFIND_SESSION=377a83ed12f9543fc3ca0da78f1b72a2"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_HOST
"info.umar.mx"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin"
SERVER_SIGNATURE
"<address>Apache/2.4.66 (Ubuntu) Server at info.umar.mx Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.66 (Ubuntu)"
SERVER_NAME
"info.umar.mx"
SERVER_ADDR
"200.23.222.19"
SERVER_PORT
"443"
REMOTE_ADDR
"216.73.216.131"
DOCUMENT_ROOT
"/usr/local/vufind/public"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/usr/local/vufind/public"
SERVER_ADMIN
"admin@localhost"
SCRIPT_FILENAME
"/usr/local/vufind/public/index.php"
REMOTE_PORT
"13731"
REDIRECT_URL
"/Record/eric_EJ953335"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/Record/eric_EJ953335"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1785074834.2921
REQUEST_TIME
1785074834
empty
0. Whoops\Handler\PrettyPageHandler
Cannot write session to /tmp/vufind_sessions/sess_377a83ed12f9543fc3ca0da78f1b72a2 Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/sessions, handler: VuFind\Session\File::write)
Whoops\Exception\ErrorException thrown with message "session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/sessions, handler: VuFind\Session\File::write)" Stacktrace: #2 Whoops\Exception\ErrorException in /usr/local/vufind/vendor/laminas/laminas-session/src/SessionManager.php:242 #1 session_write_close in /usr/local/vufind/vendor/laminas/laminas-session/src/SessionManager.php:242 #0 Laminas\Session\SessionManager:writeClose in [internal]:0
Application frames (0) All frames (3)
2
Whoops\Exception\ErrorException
…/vendor/laminas/laminas-session/src/SessionManager.php242
1
session_write_close
…/vendor/laminas/laminas-session/src/SessionManager.php242
0
Laminas\Session\SessionManager writeClose
[internal]0
Open: /usr/local/vufind/vendor/laminas/laminas-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'
Arguments
  1. "session_write_close(): Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/sessions, handler: VuFind\Session\File::write)"
    
Open: /usr/local/vufind/vendor/laminas/laminas-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'
Open: [internal]

Environment & details:

empty
empty
empty
Key Value
ui
"standard"
language
"en"
VUFIND_SESSION
"377a83ed12f9543fc3ca0da78f1b72a2"
Key Value
__Laminas
array:2 [
  "_REQUEST_ACCESS_TIME" => 1785074834.3087
  "_VALID" => array:1 [
    "Laminas\Session\Validator\Id" => "377a83ed12f9543fc3ca0da78f1b72a2"
  ]
]
SessionState
Laminas\Stdlib\ArrayObject {#938}
FlashMessenger
Laminas\Stdlib\ArrayObject {#1583}
SessionHelper
Laminas\Stdlib\ArrayObject {#1774}
Key Value
REDIRECT_VUFIND_LOCAL_DIR
"/usr/local/vufind/local"
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"info.umar.mx"
REDIRECT_STATUS
"200"
VUFIND_LOCAL_DIR
"/usr/local/vufind/local"
HTTPS
"on"
SSL_TLS_SNI
"info.umar.mx"
HTTP_ACCEPT
"*/*"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_COOKIE
"ui=standard; language=en; VUFIND_SESSION=377a83ed12f9543fc3ca0da78f1b72a2"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_HOST
"info.umar.mx"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin"
SERVER_SIGNATURE
"<address>Apache/2.4.66 (Ubuntu) Server at info.umar.mx Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.66 (Ubuntu)"
SERVER_NAME
"info.umar.mx"
SERVER_ADDR
"200.23.222.19"
SERVER_PORT
"443"
REMOTE_ADDR
"216.73.216.131"
DOCUMENT_ROOT
"/usr/local/vufind/public"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/usr/local/vufind/public"
SERVER_ADMIN
"admin@localhost"
SCRIPT_FILENAME
"/usr/local/vufind/public/index.php"
REMOTE_PORT
"13731"
REDIRECT_URL
"/Record/eric_EJ953335"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/Record/eric_EJ953335"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1785074834.2921
REQUEST_TIME
1785074834
empty
0. Whoops\Handler\PrettyPageHandler