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 Author: Cotton, Kathleen
Format: Recurso educativo Open Access
Language:en
Published: 1998
Subjects:
Cognitive Style
Communication Skills
Educational Practices
Elementary Secondary Education
Family Role
Learning Strategies
Lifelong Learning
Metacognition
Personality Traits
Student Attitudes
Student Centered Curriculum
Student Interests
Study Skills
Teacher Role
Thinking Skills
Online Access:https://eric.ed.gov/?id=ED422608
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=ED422608

Similar Items

  • Inciting Curiosity and Creating Meaning: Teaching Information Evaluation through the Lens of "Bad Science"
    by: Riehle, Catherine Fraser
    Published: (2012)
  • The Elementary School Library Media Teacher's Role in Educating Students to Think.
    by: Jay, M. Ellen
    Published: (1986)
  • Integrating Critical Thinking and Library Skills into the English Curriculum: Developing the Model.
    by: Gallagher, Joan C.
    Published: (1991)
  • Teaching College Reading and Study Skills through a Metacognitive-Schema Approach.
    by: Scales, Alice M.
    Published: (1987)
  • Developing Metacognition. ERIC Digest.
    by: Blakey, Elaine, et al.
    Published: (1990)

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_f55a2e4f3f7b42ba7858b3dbec3d4bf0): Failed to open stream: No space left on device
Whoops\Exception\ErrorException thrown with message "fopen(/tmp/vufind_sessions/sess_f55a2e4f3f7b42ba7858b3dbec3d4bf0): 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_f55a2e4f3f7b42ba7858b3dbec3d4bf0): 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
VUFIND_SESSION
"f55a2e4f3f7b42ba7858b3dbec3d4bf0"
language
"en"
ui
"standard"
Key Value
__Laminas
array:2 [
  "_REQUEST_ACCESS_TIME" => 1784934201.8757
  "_VALID" => array:1 [
    "Laminas\Session\Validator\Id" => "f55a2e4f3f7b42ba7858b3dbec3d4bf0"
  ]
]
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
"VUFIND_SESSION=f55a2e4f3f7b42ba7858b3dbec3d4bf0; language=en; ui=standard"
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.217.169"
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
"23079"
REDIRECT_URL
"/Record/eric_ED422608"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/Record/eric_ED422608"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1784934201.8714
REQUEST_TIME
1784934201
empty
0. Whoops\Handler\PrettyPageHandler
Cannot write session to /tmp/vufind_sessions/sess_f55a2e4f3f7b42ba7858b3dbec3d4bf0 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
VUFIND_SESSION
"f55a2e4f3f7b42ba7858b3dbec3d4bf0"
language
"en"
ui
"standard"
Key Value
__Laminas
array:2 [
  "_REQUEST_ACCESS_TIME" => 1784934201.8757
  "_VALID" => array:1 [
    "Laminas\Session\Validator\Id" => "f55a2e4f3f7b42ba7858b3dbec3d4bf0"
  ]
]
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
"VUFIND_SESSION=f55a2e4f3f7b42ba7858b3dbec3d4bf0; language=en; ui=standard"
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.217.169"
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
"23079"
REDIRECT_URL
"/Record/eric_ED422608"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/Record/eric_ED422608"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1784934201.8714
REQUEST_TIME
1784934201
empty
0. Whoops\Handler\PrettyPageHandler