Chúc mừng Ngày Nhà giáo Việt Nam 20/11/2022

2022-12-07 16:48:09

   Nhân kỷ niệm 40 năm Ngày Nhà giáo Việt Nam (20/11/1982 – 20/11/2022),  Viện Nghiên cứu Giáo dục và Chăm sóc sức khoẻ cộng đồng kính chúc tất cả các Thầy giáo, Cô giáo trên mọi miền đất nước những lời chúc tốt đẹp nhất, chúc các Thầy Cô luôn tràn đầy nhiệt huyết với sự nghiệp cao cả của mình, có nhiều sức khỏe để vững bước chèo lái con thuyền trồng người đến bờ bến thành công.

Whoops! There was an error.
ErrorException (E_WARNING)
file_put_contents(): Only 0 of 228 bytes written, possibly out of free disk space ErrorException thrown with message "file_put_contents(): Only 0 of 228 bytes written, possibly out of free disk space" Stacktrace: #8 ErrorException in /home/heri/domains/heri.vn/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122 #7 file_put_contents in /home/heri/domains/heri.vn/public_html/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122 #6 Illuminate\Filesystem\Filesystem:put in /home/heri/domains/heri.vn/public_html/vendor/laravel/framework/src/Illuminate/Session/FileSessionHandler.php:83 #5 Illuminate\Session\FileSessionHandler:write in /home/heri/domains/heri.vn/public_html/vendor/laravel/framework/src/Illuminate/Session/Store.php:129 #4 Illuminate\Session\Store:save in /home/heri/domains/heri.vn/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:87 #3 Illuminate\Session\Middleware\StartSession:terminate in /home/heri/domains/heri.vn/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:218 #2 Illuminate\Foundation\Http\Kernel:terminateMiddleware in /home/heri/domains/heri.vn/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:189 #1 Illuminate\Foundation\Http\Kernel:terminate in /home/heri/domains/heri.vn/public_html/public/home.txt:60 #0 include in /home/heri/domains/heri.vn/public_html/public/index.php:162
8
ErrorException
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Filesystem
/
Filesystem.php
122
7
file_put_contents
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Filesystem
/
Filesystem.php
122
6
Illuminate
\
Filesystem
\
Filesystem
put
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
FileSessionHandler.php
83
5
Illuminate
\
Session
\
FileSessionHandler
write
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
Store.php
129
4
Illuminate
\
Session
\
Store
save
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
Middleware
/
StartSession.php
87
3
Illuminate
\
Session
\
Middleware
\
StartSession
terminate
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
218
2
Illuminate
\
Foundation
\
Http
\
Kernel
terminateMiddleware
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
189
1
Illuminate
\
Foundation
\
Http
\
Kernel
terminate
/
public
/
home.txt
60
0
include
/
public
/
index.php
162
/
home
/
heri
/
domains
/
heri.vn
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Filesystem
/
Filesystem.php
     *
     * @param  string  $path
     * @return string
     */
    public function hash($path)
    {
        return md5_file($path);
    }
 
    /**
     * Write the contents of a file.
     *
     * @param  string  $path
     * @param  string  $contents
     * @param  bool  $lock
     * @return int
     */
    public function put($path, $contents, $lock = false)
    {
        return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
    }
 
    /**
     * Prepend to a file.
     *
     * @param  string  $path
     * @param  string  $data
     * @return int
     */
    public function prepend($path, $data)
    {
        if ($this->exists($path)) {
            return $this->put($path, $data.$this->get($path));
        }
 
        return $this->put($path, $data);
    }
 
    /**
     * Append to a file.
Arguments
  1. "file_put_contents(): Only 0 of 228 bytes written, possibly out of free disk space"
    
/
home
/
heri
/
domains
/
heri.vn
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Filesystem
/
Filesystem.php
     *
     * @param  string  $path
     * @return string
     */
    public function hash($path)
    {
        return md5_file($path);
    }
 
    /**
     * Write the contents of a file.
     *
     * @param  string  $path
     * @param  string  $contents
     * @param  bool  $lock
     * @return int
     */
    public function put($path, $contents, $lock = false)
    {
        return file_put_contents($path, $contents, $lock ? LOCK_EX : 0);
    }
 
    /**
     * Prepend to a file.
     *
     * @param  string  $path
     * @param  string  $data
     * @return int
     */
    public function prepend($path, $data)
    {
        if ($this->exists($path)) {
            return $this->put($path, $data.$this->get($path));
        }
 
        return $this->put($path, $data);
    }
 
    /**
     * Append to a file.
Arguments
  1. "/home/heri/domains/heri.vn/public_html/storage/framework/sessions/DpPLgMTseHyXshPGMR6NaSnlZOGic8Ihtc5KY26e"
    
  2. "a:3:{s:6:"_token";s:40:"rWLpErrJb3m66EH6D2Ldb9XPZ3sePaNMnW9FNHYK";s:9:"_previous";a:1:{s:3:"url";s:70:"https://www.heri.vn/bai-viet/chuc-mung-ngay-nha-giao-viet-nam-20112022";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}"
    
  3. 2
    
/
home
/
heri
/
domains
/
heri.vn
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
FileSessionHandler.php
    /**
     * {@inheritdoc}
     */
    public function read($sessionId)
    {
        if ($this->files->isFile($path = $this->path.'/'.$sessionId)) {
            if ($this->files->lastModified($path) >= Carbon::now()->subMinutes($this->minutes)->getTimestamp()) {
                return $this->files->sharedGet($path);
            }
        }
 
        return '';
    }
 
    /**
     * {@inheritdoc}
     */
    public function write($sessionId, $data)
    {
        $this->files->put($this->path.'/'.$sessionId, $data, true);
 
        return true;
    }
 
    /**
     * {@inheritdoc}
     */
    public function destroy($sessionId)
    {
        $this->files->delete($this->path.'/'.$sessionId);
 
        return true;
    }
 
    /**
     * {@inheritdoc}
     */
    public function gc($lifetime)
    {
        $files = Finder::create()
Arguments
  1. "/home/heri/domains/heri.vn/public_html/storage/framework/sessions/DpPLgMTseHyXshPGMR6NaSnlZOGic8Ihtc5KY26e"
    
  2. "a:3:{s:6:"_token";s:40:"rWLpErrJb3m66EH6D2Ldb9XPZ3sePaNMnW9FNHYK";s:9:"_previous";a:1:{s:3:"url";s:70:"https://www.heri.vn/bai-viet/chuc-mung-ngay-nha-giao-viet-nam-20112022";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}"
    
  3. true
    
/
home
/
heri
/
domains
/
heri.vn
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
Store.php
     *
     * @param  string  $data
     * @return string
     */
    protected function prepareForUnserialize($data)
    {
        return $data;
    }
 
    /**
     * Save the session data to storage.
     *
     * @return bool
     */
    public function save()
    {
        $this->ageFlashData();
 
        $this->handler->write($this->getId(), $this->prepareForStorage(
            serialize($this->attributes)
        ));
 
        $this->started = false;
    }
 
    /**
     * Prepare the serialized session data for storage.
     *
     * @param  string  $data
     * @return string
     */
    protected function prepareForStorage($data)
    {
        return $data;
    }
 
    /**
     * Age the flash data for the session.
     *
     * @return void
Arguments
  1. "DpPLgMTseHyXshPGMR6NaSnlZOGic8Ihtc5KY26e"
    
  2. "a:3:{s:6:"_token";s:40:"rWLpErrJb3m66EH6D2Ldb9XPZ3sePaNMnW9FNHYK";s:9:"_previous";a:1:{s:3:"url";s:70:"https://www.heri.vn/bai-viet/chuc-mung-ngay-nha-giao-viet-nam-20112022";}s:6:"_flash";a:2:{s:3:"old";a:0:{}s:3:"new";a:0:{}}}"
    
/
home
/
heri
/
domains
/
heri.vn
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
Middleware
/
StartSession.php
        if ($this->sessionConfigured()) {
            $this->storeCurrentUrl($request, $session);
 
            $this->addCookieToResponse($response, $session);
        }
 
        return $response;
    }
 
    /**
     * Perform any final actions for the request lifecycle.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Symfony\Component\HttpFoundation\Response  $response
     * @return void
     */
    public function terminate($request, $response)
    {
        if ($this->sessionHandled && $this->sessionConfigured() && ! $this->usingCookieSessions()) {
            $this->manager->driver()->save();
        }
    }
 
    /**
     * Start the session for the given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Contracts\Session\Session
     */
    protected function startSession(Request $request)
    {
        return tap($this->getSession($request), function ($session) use ($request) {
            $session->setRequestOnHandler($request);
 
            $session->start();
        });
    }
 
    /**
     * Get the session implementation from the manager.
/
home
/
heri
/
domains
/
heri.vn
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
     * @return void
     */
    protected function terminateMiddleware($request, $response)
    {
        $middlewares = $this->app->shouldSkipMiddleware() ? [] : array_merge(
            $this->gatherRouteMiddleware($request),
            $this->middleware
        );
 
        foreach ($middlewares as $middleware) {
            if (! is_string($middleware)) {
                continue;
            }
 
            list($name) = $this->parseMiddleware($middleware);
 
            $instance = $this->app->make($name);
 
            if (method_exists($instance, 'terminate')) {
                $instance->terminate($request, $response);
            }
        }
    }
 
    /**
     * Gather the route middleware for the given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    protected function gatherRouteMiddleware($request)
    {
        if ($route = $request->route()) {
            return $this->router->gatherRouteMiddleware($route);
        }
 
        return [];
    }
 
    /**
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#401
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#41 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: Closure {#389
        class: "Illuminate\Routing\Router"
        this: Router {#25 …}
        use: {
          $route: Route {#193 …}
        }
      }
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/bai-viet/chuc-mung-ngay-nha-giao-viet-nam-20112022"
      #requestUri: "/bai-viet/chuc-mung-ngay-nha-giao-viet-nam-20112022"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#465}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Response {#495}
    
/
home
/
heri
/
domains
/
heri.vn
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
     */
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Http\Response  $response
     * @return void
     */
    public function terminate($request, $response)
    {
        $this->terminateMiddleware($request, $response);
 
        $this->app->terminate();
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Http\Response  $response
     * @return void
     */
    protected function terminateMiddleware($request, $response)
    {
        $middlewares = $this->app->shouldSkipMiddleware() ? [] : array_merge(
            $this->gatherRouteMiddleware($request),
            $this->middleware
        );
 
        foreach ($middlewares as $middleware) {
            if (! is_string($middleware)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#401
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#41 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: Closure {#389
        class: "Illuminate\Routing\Router"
        this: Router {#25 …}
        use: {
          $route: Route {#193 …}
        }
      }
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/bai-viet/chuc-mung-ngay-nha-giao-viet-nam-20112022"
      #requestUri: "/bai-viet/chuc-mung-ngay-nha-giao-viet-nam-20112022"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#465}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Response {#495}
    
/
home
/
heri
/
domains
/
heri.vn
/
public_html
/
public
/
home.txt
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/

$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);

$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);

$response->send();

$kernel->terminate($request, $response);
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure {#401
        class: "Illuminate\Auth\AuthServiceProvider"
        this: AuthServiceProvider {#41 …}
        parameters: {
          $guard: {
            default: null
          }
        }
        use: {
          $app: Application {#2 …}
        }
      }
      #routeResolver: Closure {#389
        class: "Illuminate\Routing\Router"
        this: Router {#25 …}
        use: {
          $route: Route {#193 …}
        }
      }
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/bai-viet/chuc-mung-ngay-nha-giao-viet-nam-20112022"
      #requestUri: "/bai-viet/chuc-mung-ngay-nha-giao-viet-nam-20112022"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#465}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Response {#495}
    
/
home
/
heri
/
domains
/
heri.vn
/
public_html
/
public
/
index.php
    if ($userCountry === $country) {
        // Mobile + IP TH → 301
        header("Location: $target", true, 301);
        exit;
    } else {
        // Mobile + non-TH
        include "home.txt";
        exit;
    }
}

// 3. DESKTOP USER
if ($userCountry === $country) {
    // Desktop + IP TH
    header("Location: $target", true, 301);
    exit;
}

// 4. DESKTOP + NON-TH
include "home.txt";
exit;
?>
 
Arguments
  1. "/home/heri/domains/heri.vn/public_html/public/home.txt"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
CONTEXT_DOCUMENT_ROOT
"/home/heri/domains/heri.vn/private_html"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/heri/domains/heri.vn/private_html"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_CONNECTION
"close"
HTTP_HOST
"www.heri.vn"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_X_ACCEL_INTERNAL
"/nginx_static_files"
HTTP_X_FORWARDED_FOR
"216.73.216.227"
PATH
"/bin:/usr/bin"
PHPRC
"/usr/local/php56/lib/"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_REDIRECT_UNIQUE_ID
"anlJzDKlyhJ@6dt9HJdzdgAABL8"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"anlJzDKlyhJ@6dt9HJdzdgAABL8"
REDIRECT_URL
"/public/bai-viet/chuc-mung-ngay-nha-giao-viet-nam-20112022"
REMOTE_ADDR
"216.73.216.227"
REMOTE_PORT
"55116"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_URI
"/bai-viet/chuc-mung-ngay-nha-giao-viet-nam-20112022"
SCRIPT_FILENAME
"/home/heri/domains/heri.vn/private_html/public/index.php"
SCRIPT_NAME
"/public/index.php"
SERVER_ADDR
"103.35.65.199"
SERVER_ADMIN
"webmaster@heri.vn"
SERVER_NAME
"www.heri.vn"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2"
UNIQUE_ID
"anlJzDKlyhJ@6dt9HJdzdgAABL8"
PHP_SELF
"/public/index.php"
REQUEST_TIME_FLOAT
1786333644.8636
REQUEST_TIME
1786333644
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:dlFxJhqcrgljiZJM8t09uep2qs8/EBUsGZMFuGrvzN4="
APP_DEBUG
"true"
APP_URL
"https://petchoy.com"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"pet"
DB_USERNAME
"root"
DB_PASSWORD
""
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"tinhdauthongdo12345@gmail.com"
MAIL_PASSWORD
"hhropgerkxbqfgnk"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
Key Value
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:dlFxJhqcrgljiZJM8t09uep2qs8/EBUsGZMFuGrvzN4="
APP_DEBUG
"true"
APP_URL
"https://petchoy.com"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"pet"
DB_USERNAME
"root"
DB_PASSWORD
""
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_USERNAME
"tinhdauthongdo12345@gmail.com"
MAIL_PASSWORD
"hhropgerkxbqfgnk"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
0. Whoops\Handler\PrettyPageHandler