ErrorException (E_WARNING)
include_once(/var/www/html/template/cashwinapp.com/index.php): Failed to open stream: No such file or directory ErrorException thrown with message "include_once(/var/www/html/template/cashwinapp.com/index.php): Failed to open stream: No such file or directory" Stacktrace: #2 ErrorException in /var/www/html/index.php:36 #1 include_once in /var/www/html/index.php:36 #0 checkAndRenderFile in /var/www/html/index.php:145
Stack frames (3)
2
ErrorException
/var/www/html/index.php36
1
include_once
/var/www/html/index.php36
0
checkAndRenderFile
/var/www/html/index.php145
/var/www/html/index.php
                echo $content;
            } elseif (in_array('.well-known', explode('/', $url), true) !== false) {
                header('Content-type: ' . util\File::get_mime_type($filename));
                ob_start();
                include $filename;
                $content = ob_get_clean();
                echo $content;
            } else if(str_contains($url, "app-ads.txt")){
                header("Content-type: text/plain");
                ob_start();
                include $filename;
                $content = ob_get_clean();
                echo $content;
            } else {
                $uri = explode('?', $_SERVER['REQUEST_URI'] ?? '')[0];
                $fk_filename = __DIR__ . '/template/' . $_SERVER['HTTP_HOST'];
                if (rtrim($filename, '/') == $fk_filename) {
                    $fk_filename .= '/index.php';
                    ob_start();
                    include_once $fk_filename;
                    $content = ob_get_clean();
                    echo $content;
                    exit();
                }
//                header("Content-type: ".mime_content_type($filename));
                header('Location: /template/' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
//                echo "found {$fk_filename} = {$filename}";
                exit();
            }
            return true;
        }
        return false;
    }
}
if (!function_exists('getScriptName')) {
    function getScriptName()
    {
        $uri = explode('?', $_SERVER['REQUEST_URI'] ?? '')[0];
        return (!empty($uri)) ? $uri : '/index.php';
    }
/var/www/html/index.php
                echo $content;
            } elseif (in_array('.well-known', explode('/', $url), true) !== false) {
                header('Content-type: ' . util\File::get_mime_type($filename));
                ob_start();
                include $filename;
                $content = ob_get_clean();
                echo $content;
            } else if(str_contains($url, "app-ads.txt")){
                header("Content-type: text/plain");
                ob_start();
                include $filename;
                $content = ob_get_clean();
                echo $content;
            } else {
                $uri = explode('?', $_SERVER['REQUEST_URI'] ?? '')[0];
                $fk_filename = __DIR__ . '/template/' . $_SERVER['HTTP_HOST'];
                if (rtrim($filename, '/') == $fk_filename) {
                    $fk_filename .= '/index.php';
                    ob_start();
                    include_once $fk_filename;
                    $content = ob_get_clean();
                    echo $content;
                    exit();
                }
//                header("Content-type: ".mime_content_type($filename));
                header('Location: /template/' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
//                echo "found {$fk_filename} = {$filename}";
                exit();
            }
            return true;
        }
        return false;
    }
}
if (!function_exists('getScriptName')) {
    function getScriptName()
    {
        $uri = explode('?', $_SERVER['REQUEST_URI'] ?? '')[0];
        return (!empty($uri)) ? $uri : '/index.php';
    }
/var/www/html/index.php
    include $filename;
    exit();
}
$url = $_SERVER['HTTP_HOST'] . '/' . getScriptName();
if (LOCALHOST) {
    $url = $allowed_hosts[0] . str_replace(BASE_DIR, '/', getScriptName());
}
 
//Check files in template directory for custom domains
$filename = __DIR__ . '/template/' . $url;
$found = false;
 
$filenames = [
    $filename,
    "{$filename}.php",
    __DIR__ . '/template/' . $_SERVER['HTTP_HOST'] . '/' . CleanUrl::getPartAtIndex(0) . '.php'
];
 
foreach ($filenames as $filename) {
    if (checkAndRenderFile($filename)) {
        $found = true;
        exit();
    }
}
$filename = trim(getScriptName(), '/') . '.php';
if (file_exists($filename)) {
    include $filename;
    exit();
}
if (file_exists(CleanUrl::getPartAtIndex(0) . '.php')) {
    $file = CleanUrl::getPartAtIndex(0);
    $filename = __DIR__ . "/$file.php";
 
    include $filename;
    exit();
}
if (!$found) {
//    header($_SERVER['SERVER_PROTOCOL'] . ' 404 Not Found');
    $default404File = __DIR__ . '/data/pages/404.php';
    $domain404File = __DIR__ . '/template/' . $_SERVER['HTTP_HOST'] . '/404.php';

Environment & details:

empty
empty
empty
Key Value
handl_url_base https://itrezzo.com/wp-json/oembed/1.0/embed
handl_landing_page https://itrezzo.com/wp-json/oembed/1.0/embed?format=xml&url=https%3A%2F%2Fitrezzo.com%2Flbfree5additionalcontactinfo%2F
HandLtestDomainNameServer HandLtestDomainValueServer
handl_ip 13.59.27.141
handl_url https://itrezzo.com/wp-json/oembed/1.0/embed?format=xml&url=https%3A%2F%2Fitrezzo.com%2Flbfree5additionalcontactinfo%2F
user_agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
PHPSESSID cf9v2cgj90mv9mj8nvtkanin4m
Key Value
lang en
Key Value
USER www-data
HOME /var/www
SCRIPT_NAME /index.php
REQUEST_URI /
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 49158
SCRIPT_FILENAME /var/www/html/index.php
SERVER_ADMIN webmaster@localhost
CONTEXT_DOCUMENT_ROOT /var/www/html
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /var/www/html
REMOTE_ADDR 13.59.27.141
SERVER_PORT 80
SERVER_ADDR 192.168.128.110
SERVER_NAME cashwinapp.com
SERVER_SOFTWARE Apache/2.4.62 (Debian)
SERVER_SIGNATURE <address>Apache/2.4.62 (Debian) Server at cashwinapp.com Port 80</address>
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HTTP_CONNECTION close
HTTP_X_FORWARDED_PROTO http
HTTP_CF_CONNECTING_IP 13.59.27.141
HTTP_CDN_LOOP cloudflare; loops=1
HTTP_CF_VISITOR {"scheme":"https"}
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
HTTP_ACCEPT_ENCODING gzip, br
HTTP_CF_IPCOUNTRY US
HTTP_HOST cashwinapp.com
HTTP_COOKIE handl_url_base=https%3A%2F%2Fitrezzo.com%2Fwp-json%2Foembed%2F1.0%2Fembed; handl_landing_page=https%3A%2F%2Fitrezzo.com%2Fwp-json%2Foembed%2F1.0%2Fembed%3Fformat%3Dxml%26url%3Dhttps%253A%252F%252Fitrezzo.com%252Flbfree5additionalcontactinfo%252F; HandLtestDomainNameServer=HandLtestDomainValueServer; handl_ip=13.59.27.141; handl_url=https%3A%2F%2Fitrezzo.com%2Fwp-json%2Foembed%2F1.0%2Fembed%3Fformat%3Dxml%26url%3Dhttps%253A%252F%252Fitrezzo.com%252Flbfree5additionalcontactinfo%252F; user_agent=Mozilla%2F5.0%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%3B%20compatible%3B%20ClaudeBot%2F1.0%3B%20%2Bclaudebot%40anthropic.com%29; PHPSESSID=cf9v2cgj90mv9mj8nvtkanin4m
HTTP_CF_RAY 8d46ad93fa6d3b36-BOM
proxy-nokeepalive 1
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1729235106.0688
REQUEST_TIME 1729235106
empty
0. Whoops\Handler\PrettyPageHandler