ErrorException (E_ERROR)
View [layouts.ignite_blog.template] not found. (View: /home2/xamtaxc1/public_html/resources/views/pages/common/about/index.blade.php) ErrorException thrown with message "View [layouts.ignite_blog.template] not found. (View: /home2/xamtaxc1/public_html/resources/views/pages/common/about/index.blade.php)" Stacktrace: #19 ErrorException in Error Resolving Code : /home2/xamtaxc1/public_html/__includes/easycore/assets/library/blade-5.4/src/FileViewFinder.php ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ /home2/xamtaxc1/public_html/resources/views/pages/common/about/index.blade.php at Line : 139:139 #18 InvalidArgumentException in /home2/xamtaxc1/public_html/__includes/easycore/assets/library/blade-5.4/src/FileViewFinder.php:139 #17 Xiaoler\Blade\FileViewFinder:findInPaths in /home2/xamtaxc1/public_html/__includes/easycore/assets/library/blade-5.4/src/FileViewFinder.php:79 #16 Xiaoler\Blade\FileViewFinder:find in /home2/xamtaxc1/public_html/__includes/easycore/assets/library/blade-5.4/src/Factory.php:96 #15 Xiaoler\Blade\Factory:getViewFullPath in /home2/xamtaxc1/public_html/__includes/config/view.php:141 #14 viewpath_to_path in /home2/xamtaxc1/public_html/__includes/config/function.php:665 #13 register_path_for_layout_asset in /home2/xamtaxc1/public_html/resources/cache/views/dab996dcda00fc85fa9a195ff6260a58a8b8afe8.php:10 #12 include in /home2/xamtaxc1/public_html/__includes/easycore/assets/library/blade-5.4/src/Engines/PhpEngine.php:42 #11 Xiaoler\Blade\Engines\PhpEngine:evaluatePath in /home2/xamtaxc1/public_html/__includes/easycore/assets/library/blade-5.4/src/Engines/CompilerEngine.php:61 #10 Xiaoler\Blade\Engines\CompilerEngine:get in /home2/xamtaxc1/public_html/__includes/easycore/assets/library/blade-5.4/src/View.php:131 #9 Xiaoler\Blade\View:getContents in /home2/xamtaxc1/public_html/__includes/easycore/assets/library/blade-5.4/src/View.php:114 #8 Xiaoler\Blade\View:renderContents in /home2/xamtaxc1/public_html/__includes/easycore/assets/library/blade-5.4/src/View.php:81 #7 Xiaoler\Blade\View:render in /home2/xamtaxc1/public_html/__includes/config/view.php:66 #6 view in /home2/xamtaxc1/public_html/__includes/easycore/assets/library/route/RouteSystem.php:1174 #5 RouteSystem:{closure} in /home2/xamtaxc1/public_html/__includes/easycore/assets/library/route/RouteSystem.php:1141 #4 RouteSystem:callback in /home2/xamtaxc1/public_html/__includes/easycore/assets/library/route/RouteSystem.php:1092 #3 RouteSystem:end in /home2/xamtaxc1/public_html/__includes/config/route.php:221 #2 include in /home2/xamtaxc1/public_html/__includes/config/__init_end.php:24 #1 include in /home2/xamtaxc1/public_html/__includes/config/__init.php:79 #0 include in /home2/xamtaxc1/public_html/index.php:31
Stack frames (20)
19
ErrorException
Error Resolving Code : …
/
assets
/
library
/
blade-5.4
/
src
/
FileViewFinder.php ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
/
home2
/
xamtaxc1
/
public_html
/
resources
/
views
/
pages
/
common
/
about
/
index.blade.php at Line : 139
139
18
InvalidArgumentException
/
assets
/
library
/
blade-5.4
/
src
/
FileViewFinder.php
139
17
Xiaoler
\
Blade
\
FileViewFinder
findInPaths
/
assets
/
library
/
blade-5.4
/
src
/
FileViewFinder.php
79
16
Xiaoler
\
Blade
\
FileViewFinder
find
/
assets
/
library
/
blade-5.4
/
src
/
Factory.php
96
15
Xiaoler
\
Blade
\
Factory
getViewFullPath
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
config
/
view.php
141
14
viewpath_to_path
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
config
/
function.php
665
13
register_path_for_layout_asset
/
home2
/
xamtaxc1
/
public_html
/
resources
/
cache
/
views
/
dab996dcda00fc85fa9a195ff6260a58a8b8afe8.php
10
12
include
/
assets
/
library
/
blade-5.4
/
src
/
Engines
/
PhpEngine.php
42
11
Xiaoler
\
Blade
\
Engines
\
PhpEngine
evaluatePath
/
assets
/
library
/
blade-5.4
/
src
/
Engines
/
CompilerEngine.php
61
10
Xiaoler
\
Blade
\
Engines
\
CompilerEngine
get
/
assets
/
library
/
blade-5.4
/
src
/
View.php
131
9
Xiaoler
\
Blade
\
View
getContents
/
assets
/
library
/
blade-5.4
/
src
/
View.php
114
8
Xiaoler
\
Blade
\
View
renderContents
/
assets
/
library
/
blade-5.4
/
src
/
View.php
81
7
Xiaoler
\
Blade
\
View
render
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
config
/
view.php
66
6
view
/
assets
/
library
/
route
/
RouteSystem.php
1174
5
RouteSystem
{closure}
/
assets
/
library
/
route
/
RouteSystem.php
1141
4
RouteSystem
callback
/
assets
/
library
/
route
/
RouteSystem.php
1092
3
RouteSystem
end
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
config
/
route.php
221
2
include
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
config
/
__init_end.php
24
1
include
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
config
/
__init.php
79
0
include
/
home2
/
xamtaxc1
/
public_html
/
index.php
31
Error Resolving Code :
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
easycore
/
assets
/
library
/
blade-5.4
/
src
/
FileViewFinder.php ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
/
home2
/
xamtaxc1
/
public_html
/
resources
/
views
/
pages
/
common
/
about
/
index.blade.php at Line : 139
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
easycore
/
assets
/
library
/
blade-5.4
/
src
/
FileViewFinder.php
     *
     * @param  string  $name
     * @param  array   $paths
     * @return string
     *
     * @throws \InvalidArgumentException
     */
    protected function findInPaths($name, $paths)
    {
        foreach ((array) $paths as $path) {
            foreach ($this->getPossibleViewFiles($name) as $file) {
                if ($this->files->exists($viewPath = $path.'/'.$file)) {
                    return $viewPath;
                }
            }
        }
 
        //[Xamtax Edit]
        echo '<h1>View      Not     Found </h1><p>Ehex              Error [- view     not     exists     in    resources / view / ...path  -]</p>';
        throw new InvalidArgumentException("View [$name] not found.");
    }
 
    /**
     * Get an array of possible views files.
     *
     * @param  string  $name
     * @return array
     */
    protected function getPossibleViewFiles($name)
    {
        return array_map(function ($extension) use ($name) {
            return str_replace('.', '/', $name).'.'.$extension;
        }, $this->extensions);
    }
 
    /**
     * Add a location to the finder.
     *
     * @param  string  $location
     * @return void
Exception message: View [layouts.ignite_blog.template] not found.
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
easycore
/
assets
/
library
/
blade-5.4
/
src
/
FileViewFinder.php
        }
    }
 
    /**
     * Get the fully qualified location of the views.
     *
     * @param  string  $name
     * @return string
     */
    public function find($name)
    {
        if (isset($this->views[$name])) {
            return $this->views[$name];
        }
 
        if ($this->hasHintInformation($name = trim($name))) {
            return $this->views[$name] = $this->findNamespacedView($name);
        }
 
        return $this->views[$name] = $this->findInPaths($name, $this->paths);
    }
 
    /**
     * Get the path to a template with a named path.
     *
     * @param  string  $name
     * @return string
     */
    protected function findNamespacedView($name)
    {
        list($namespace, $view) = $this->parseNamespaceSegments($name);
 
        return $this->findInPaths($view, $this->hints[$namespace]);
    }
 
    /**
     * Get the segments of a template with a named path.
     *
     * @param  string  $name
     * @return array
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
easycore
/
assets
/
library
/
blade-5.4
/
src
/
Factory.php
    /**
     * Get the evaluated views contents for the given views.
     *
     * @param  string  $path
     * @param  array   $data
     * @param  array   $mergeData
     * @return \Xiaoler\Blade\View
     */
    public function file($path, $data = [], $mergeData = [])
    {
        $data = array_merge($mergeData, $this->parseData($data));
 
        return $this->viewInstance($path, $path, $data);
    }
 
 
 
    public function getViewFullPath($view){
        // get view full path
        return $this->finder->find( $view = $this->normalizeName($view) );
    }
 
 
    /**
     * Get the evaluated views contents for the given views.
     *
     * @param  string  $view
     * @param  array   $data
     * @param  array   $mergeData
     * @return \Xiaoler\Blade\View
     */
    public function make($view, $data = [], $mergeData = []) {
 
            // get view full path
            $path = $this->finder->find( $view = $this->normalizeName($view) );
 
 
 
            // Xamtax x2x-- Get Layout Path
            $delimiter = '/resources/views/layouts/';
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
config
/
view.php
            $delimiter = '/resources/views/';
            $full_filename = explode($delimiter, $full_filename)[1];
        }
        $full_filename = \String1::replaceEnd($full_filename, '.blade.php', '');
        $full_filename = \String1::replace($full_filename, DIRECTORY_SEPARATOR, '.');
        return $full_filename;
    }
 
    /**
     * Get View full path
     * @param $full_view_path
     * @param bool $validate (turn off if is directory)
     * @return string
     */
    function viewpath_to_path($full_view_path, $validate = true){
        if(!$validate){
            $fullPath = get_valid_view_path($full_view_path);
            return $fullPath? $fullPath: Console1::println("View Path [$full_view_path] Not Found in either AppView or SharedView", true);
        }
        global $view;  return $view->getViewFullPath($full_view_path);
    }
    /**
     * Get View full path
     * @param $full_viewfile_path
     * @return string
     */
 
 
    /**
     * @param string $full_filename
     * @param bool $view_name_only
     * @param bool $recursive
     * @return array|null Fetch all view from  :
     */
    function get_all_view_in_directory($full_filename = '/Applications/MAMP/htdocs/ex/', $view_name_only = false, $recursive = false){
        return array_map(
            function($path) use ($view_name_only) {
                if($view_name_only) {
                    $last = explode('/', $path);
                    $path = end($last);
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
config
/
function.php
 * Get Current Layout Assets ( Function can only be used inside resources/layouts/layouts_name )
 * @param string $file_path_name
 * @param string $assets_folder_name
 * @return mixed
 */
function current_layout_asset($file_path_name = '', $assets_folder_name = 'assets'){
    return current_resources_asset_path($file_path_name, $assets_folder_name, '/resources/views/layouts/',  '/shared/resources/views/',  'layout_list', 1);
}


/**
 * Call on all layout template. It will use the template path to locate assets folder and use it for the website
 * @param null $optional_layoutViewPath_or_layoutFullPath (can be layouts.bootstrap.template or resources_path_view_layout().'/bootstrap/template.blade.php')
 * @param int $backtrace_index
 * @return string
 * @see current_layout_asset(); // to get current layout assets
 * @see layout_asset(); // to get current layout assets
 */
function register_path_for_layout_asset($optional_layoutViewPath_or_layoutFullPath = null, $backtrace_index = 0){
    if($optional_layoutViewPath_or_layoutFullPath) return exBlade1::$CURRENT_LAYOUT_PATH = dirname(String1::contains( DS, $optional_layoutViewPath_or_layoutFullPath)? $optional_layoutViewPath_or_layoutFullPath: viewpath_to_path($optional_layoutViewPath_or_layoutFullPath) );
    $allData = array_flip(exBlade1::$LOADED_VIEW_AND_CACHE_LIST);
    $cachePath = FileManager1::normalizeFilePathSeparator(@debug_backtrace(null, 2)[$backtrace_index]['file']);
    if(isset($allData[$cachePath])) return exBlade1::$CURRENT_LAYOUT_PATH = dirname($allData[$cachePath]);
    else return die(Console1::println('Error Occurred : Assets Path Not Found, register_path_for_layout_asset() template layout is not properly set, Please remove register_path_for_layout_asset() in template or visit ehex documentation for proper usage'));
}





/**
 * @param string $path
 * @return string
 *  Site Url [ http://localhost/Project-Ehex/ ]
 */
function path_main_url($path = ''){
    if(!String1::is_empty($path)) $path = '/'.ltrim($path, '/');
    return rtrim(Url1::getSiteMainAddress().str_replace('index.php', '', $_SERVER['PHP_SELF']), '/').$path;
}

/
home2
/
xamtaxc1
/
public_html
/
resources
/
cache
/
views
/
dab996dcda00fc85fa9a195ff6260a58a8b8afe8.php
<?php
$userInfo = Auth1::userOrInit();
 
$frontendPage = FrontendPage::getDefault();
//$aboutPage = AboutPage::getDefault();
 
$category_list = BlogCategory::getAllName();
$page_title = 'About';
?>
<?php register_path_for_layout_asset("layouts.ignite_blog.template") ?>
 
 
 
 
 
 
 
<?php $__env->startSection('page_content'); ?>
 
    <div id="breadcrumbs" class="breadcrumb-trail breadcrumbs">
        <span class="item-home"><a class="bread-link bread-home" href="#" title="Home">Home</a></span>
        <span class="separator">  &raquo; </span>
        <span class="item-current item-191"><span> <?php echo e($page_title); ?></span></span>
    </div>
 
 
 
    <div id="main" class="main" role="main">
        <div id="loop-container" class="loop-container">
 
            <div class="post-191 page type-page status-publish hentry entry">
                <div class="entry-header"><h1 class="entry-title">About Us</h1></div>
                <div class="entry-content">
                    <article>
                        <div class="col-md-8"> <p><?php echo $frontendPage->about_company; ?></p></div>
                    </article>
                </div>
            </div>
        </div>
    </div>
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
easycore
/
assets
/
library
/
blade-5.4
/
src
/
Engines
/
PhpEngine.php
 
    /**
     * Get the evaluated contents of the views at the given path.
     *
     * @param  string  $__path
     * @param  array   $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data){
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the views inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
 
            //[Xamtax Edit]
            echo '<h1>Failed     to     Render     View</h1><p>Ehex              Error [- View Needs to be Debug for error  -]</p>';
            $this->handleViewException($e, $obLevel);
 
        } catch (Throwable $e) {
 
            //[Xamtax Edit]
            echo '<h1>View           Error</h1><p>Ehex              Error [- View Needs to be Debug for error  -]</p>';
            $this->handleViewException(new Exception($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
 
 
 
    /**
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
easycore
/
assets
/
library
/
blade-5.4
/
src
/
Engines
/
CompilerEngine.php
     * @param  array   $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given views has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the views. We'll pass the compiler the path of the views.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        $compiled = $this->compiler->getCompiledPath($path);
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($compiled, $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a views exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel){
        $filePath = " Error Resolving Code : ".$e->getFile().'  '.implode(
            "
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
        ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
easycore
/
assets
/
library
/
blade-5.4
/
src
/
View.php
        $this->factory->incrementRender();
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the views, we'll decrement the render count
        // so that each sections get flushed out next time a views is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the views.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the views instance.
     *
     * @return array
     */
    protected function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
easycore
/
assets
/
library
/
blade-5.4
/
src
/
View.php
        } catch (Throwable $e) {
            $this->factory->flushState();
            throw $e;
 
        }
    }
 
    /**
     * Get the contents of the views instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the views, we'll decrement the render count
        // so that each sections get flushed out next time a views is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the views.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
easycore
/
assets
/
library
/
blade-5.4
/
src
/
View.php
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the views.
     *
     * @param  callable|null  $callback
     * @return string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? call_user_func($callback, $this, $contents) : null;
 
            // Once we have the contents of the views, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another views gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Exception $e) {
            $this->factory->flushState();
            throw $e;
 
        } catch (Throwable $e) {
            $this->factory->flushState();
            throw $e;
 
        }
    }
 
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
config
/
view.php
        return new CompilerEngine($view_compiler);
    });
 
    // get an instance of factory
    $view = new Factory($view_resolver, new FileViewFinder($view_file, $view_path));
    // if your views file extension is not php or blade.php, use this to add it
    //$views->addExtension('tpl', 'blade');
 
 
    /**
     * @param $view_name
     * @param array $param
     * @param bool $noPageAutoWrap
     * @return string
     * render the template file, stop the page and echo the view
     */
    function view($view_name, $param = [], $noPageAutoWrap = false){
        global $view;
        if(!$noPageAutoWrap && Config1::AUTO_PAGE_WRAPPER) { Page1::start(); }  // Page Wrapper Start
        echo $newView = $view->make($view_name, @array_merge(Array1::makeArray(Config1::onPageStart()), String1::isset_or($_SESSION['__SHARED_VARIABLE'], []), Array1::makeArray($param)) )->render();
        // delete old request
        if(!Page1::$FLAG_KEEP_OLD_REQUEST) { unset($_SESSION['__old']); Session1::delete('__old'); }   // delete if reload
        // Page Wrapper End
        if(!$noPageAutoWrap && Config1::AUTO_PAGE_WRAPPER) { Page1::end(); } Config1::onPageEnd();
        return '';
    }
 
 
 
 
    /**
     * @param $view_name
     * @param array $param
     * @return string
     *
     * render the template file and just return it
     * Could be use for sending e-mails, or rendering multiple view
     */
    function view_make($view_name, $param = []){ global $view; return $view->make($view_name, $param)->render(); }
 
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
easycore
/
assets
/
library
/
route
/
RouteSystem.php
     * Magic call.
     *
     * @param string $method
     * @param array $args
     *
     * @return mixed
     */
    public function __call($method, $args) {
        // Add Route and View
        $all_routes[] = $args;
        if( isset($args[0]) && isset($args[1]) && is_string($args[1])) @$this->route_and_view_list[$args[0]] = $args[1];
 
        switch (strtoupper($method)) {
            case 'AS': return call_user_func_array([$this, '_as'], $args);
            case 'USE': return call_user_func_array([$this, '_use'], $args);
            case 'ANY':
                array_unshift($args, []);
                return call_user_func_array([$this, 'route'], $args);
            case 'VIEW':
                return $this->get($args[0], function () use ($args){ is_string($args[1])?  view($args[1], array_merge(RouteApp::instance()->request->args, String1::isset_or($args[2], []))) :Console1::println("EX error 202. Invalid Route Declaration<hr/>Invalid View Path Supplied. <br/>ROUTE URL : '$args[0]'<br/>VIEW NAME : '".gettype($args[1])."' instead of string", true); });
        }
        // Check whether the method is dynamic (i.e.: get, post, get_post).
        $method = explode('_', $method);
        $exists = [];
        foreach ($method as $v) {
            if (in_array($v = strtoupper($v), ['POST', 'GET', 'PUT', 'PATCH', 'DELETE', 'HEAD', 'OPTIONS'])) {
                $exists[] = $v;
            }
        }
 
        if (count($exists)) {
            array_unshift($args, $exists);
            return call_user_func_array([$this, 'route'], $args);
        }
 
        return is_string($method) && isset($this->{$method}) && is_callable($this->{$method})? call_user_func_array($this->{$method}, $args) : null;
    }
 
    /**
     * Set new variables and functions to this class.
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
easycore
/
assets
/
library
/
route
/
RouteSystem.php
                $callback = $callback->bindTo($o);
            } elseif (is_string($callback) && strpos($callback, '@') !== false) {
                $fixCallback = explode('@', $callback, 2);
                $this->Controller = $fixCallback[0];
 
                if (is_callable(
                    $callback = [$fixCallback[0], (isset($fixCallback[1]) ? $fixCallback[1] : 'index')]
                )) {
                    $this->Method = $callback[1];
                } else {
                    throw new \Exception("Callable error on {$callback[0]} -> {$callback[1]} !");
                }
            }
 
            if (is_array($callback) && !is_object($callback[0])) { $callback[0] = new $callback[0]; }
 
            if (isset($args[0]) && $args[0] == $this->fullArg) { array_shift($args); }
 
            // Finally, call the method.
            return call_user_func_array($callback, $args);
        }
        return false;
    }
 
    /** @return array */
    private $all_routes = [];
    public function getRouteVerboseList(){ return $this->all_routes; }
 
    /** @return array */
    private $route_and_view_list = [];
    public function getRouteAndViewList(){ return $this->route_and_view_list; }
 
    /**
     * Magic call.
     *
     * @param string $method
     * @param array $args
     *
     * @return mixed
     */
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
easycore
/
assets
/
library
/
route
/
RouteSystem.php
     * @return null
     * @throws Throwable
     */
    public function end(){
 
 
 
        // is maintenance mode
        if( Config1::MAINTENANCE_MODE ){
            if(isset($this->fixed['maintenance']) && view_exists($this->fixed['maintenance'])) return view($this->fixed['maintenance']);
            else die('<div align="center" style="padding:50px;"><h1>Site Under Maintenance</h1><h5>Error! Maintenance View Not Found <hr/> '.$this->fixed['maintenance'].'</h5></div>');
        }
 
 
 
        ob_start();
            if ($this->matched && count($this->routeCallback)) {
                count($this->before) && $this->emit($this->before);
                foreach ($this->routeCallback as $call) {
                    $this->callback($call, $this->req->args);
                }
                count($this->after) && $this->emit($this->after);
 
            } else {
                http_response_code(404);
                if( isset($this->fixed['error404'])){
                    if(view_exists($this->fixed['error404'])) return view($this->fixed['error404']);
                    else die('<h2 align="center" style="padding:50px;">Error 404 View Not Found <hr/> '.$this->fixed['error404'].'<h2>');
                }
                else echo('<div style="text-align:center;margin:50px;"><h1> error 404 </h1><h4>Page Not Available</h4> <a href="'.url('/').'">Home</a></div>');
            }
        ob_end_flush();
        exit;
    }
 
    /**
     * Call a route that has been matched.
     *
     * @param mixed $callback
     * @param array $args
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
config
/
route.php
    function make_route($name, $actionFunction) { global $route; $route->any($name, $actionFunction); }
 
    /**
     * @param string $onLoginFound_redirectTo
     * @param array $errorMessage
     */
    function make_default_route($onLoginFound_redirectTo = '/', $errorMessage = ['Welcome Back', 'You have Logged In Already, Please Logout out first and try again', 'error']) { //routes()['dashboard']
        global $route;
        $route->view('/forgot_password', 'pages.auth.forgot_password');
        $route->view('/reset_password', 'pages.auth.reset_password');
        $route->any('/register',        function() use ($onLoginFound_redirectTo, $errorMessage){ if(User::isLoginExist()){  Url1::redirect(url($onLoginFound_redirectTo), $errorMessage); } else { echo view('pages.auth.register'); } });
        $route->any('/login',           function() use ($onLoginFound_redirectTo, $errorMessage){ if(User::isLoginExist()){  Url1::redirect(url($onLoginFound_redirectTo), $errorMessage); } else { echo view('pages.auth.login'); } });
        $route->any('/logout',          function() { return User::logout(); });
        $route->get('/delete_account',  function() { (User::getLogin(false))->delete(); });
    }
 
 
    api_and_form_default_route();
    Config1::onRoute(exRoute1::getRoute());
    $route->end();
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
config
/
__init_end.php
 * Date: 08/07/2018
 * Time: 7:47 AM
 */
 
 
/************************************************
 *  Conditional Function
 ************************************************/
    if(is_debug_mode()){
        Config1::onDebug();
        if(isset($_REQUEST['db_help'])) Db1::help();
        // check if path exists and real
        if(String1::startsWith(Config1::INCLUDES_PATH, '../') && !file_exists(path_asset().DIRECTORY_SEPARATOR.'shared'.DIRECTORY_SEPARATOR.'assets'))  {
            path_clear_cache();
            FileManager1::createDirectory(path_asset().DIRECTORY_SEPARATOR.'shared');
        }
    }
 
 
    include PATH_INCLUDE . 'config/route.php';                // Route  / and Init Route like Login/ Register
 
/
home2
/
xamtaxc1
/
public_html
/
__includes
/
config
/
__init.php
define('PATH_RESOURCE', BASE_PATH.'resources'.DS, TRUE);
define('PATH_LAYOUTS',  PATH_RESOURCE.'views'.DS.'layouts'.DS, TRUE);
define('PATH_PLUGINS',  PATH_RESOURCE.'plugins'.DS, TRUE);
define('PATH_INCLUDE',  dirname(__DIR__).DS.'../'. array_reverse(explode('/', Config1::INCLUDES_PATH))[0].DS, TRUE);


// Define Include sub-folder
define('PATH_EASYCORE',      PATH_INCLUDE . 'easycore'.DS, TRUE);
define('PATH_LIBRARY',  PATH_EASYCORE . 'assets'.DS.'library'.DS, TRUE);

// Define shared path
define('PATH_SHARED',  PATH_INCLUDE . 'shared'.DS, TRUE);
define('PATH_SHARED_APP',  PATH_SHARED.'app'.DS, TRUE);
define('PATH_SHARED_RESOURCE',  PATH_SHARED.'resources'.DS, TRUE);

// start
include PATH_INCLUDE . 'config/__init_start.php';              // Start Default Config

// end
include PATH_INCLUDE . 'config/__init_end.php';               // End Default Config

// Un-Managed Third Party by Composer
//include BASE_PATH . '../vendor/autoload.php';



 
/
home2
/
xamtaxc1
/
public_html
/
index.php








/*
|--------------------------------------------------------------------------
| Import Config Library File
|--------------------------------------------------------------------------
|
| .ENV config file is required to setup easytax. This file consist of
| Class named Config1
|
*/
include_once '.config.php';
    if (!(include(Config1::INCLUDES_PATH.'/config/__init.php') ))
        echo "<h1 style='color:slategray;text-align:center;padding:150px'>LIBRARY MISSING<hr/><br/><small>EASY TASK <br/> Missing </small></h1>";




 

Environment & details:

empty
empty
empty
empty
Key Value
x2x
__SHARED_VARIABLE
Key Value
PATH /usr/local/bin:/usr/bin:/bin
TEMP /tmp
TMP /tmp
TMPDIR /tmp
PWD /
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING br,gzip
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_CONNECTION Keep-Alive
CONTENT_LENGTH 0
HTTP_HOST xamtax.com
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_IF_MODIFIED_SINCE Fri, 18 Jun 2021 14:19:11 GMT
HTTP_X_HTTPS 1
REDIRECT_UNIQUE_ID YQiLZ-82V0fDfmLZkhUrVQAAAso
REDIRECT_SCRIPT_URL /about
REDIRECT_SCRIPT_URI https://xamtax.com/about
REDIRECT_HTTPS on
REDIRECT_SSL_TLS_SNI xamtax.com
REDIRECT_STATUS 200
UNIQUE_ID YQiLZ-82V0fDfmLZkhUrVQAAAso
SCRIPT_URL /about
SCRIPT_URI https://xamtax.com/about
HTTPS on
SSL_TLS_SNI xamtax.com
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME xamtax.com
SERVER_ADDR 54.36.110.237
SERVER_PORT 443
REMOTE_ADDR 3.236.84.188
DOCUMENT_ROOT /home2/xamtaxc1/public_html
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home2/xamtaxc1/public_html
SERVER_ADMIN webmaster@xamtax.com
SCRIPT_FILENAME /home2/xamtaxc1/public_html/index.php
REMOTE_PORT 55320
REDIRECT_URL /about
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /about
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1627949927.3059
REQUEST_TIME 1627949927
argv Array ( )
argc 0
empty
0. Whoops\Handler\PrettyPageHandler