Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have a problem with this laravel php code, I'm running it on xampp right now, when Install the website (Called uCloud from codecanyon) i get this error

Fatal error: Uncaught Error: Class 'AppHelpersLogHelper' not found in D:TestsfolderXampphtdocsappcoreFramework.class.php:20 Stack trace: #0 D:TestsfolderXampphtdocsindex.php(20): AppCoreFramework::run() #1 {main} thrown in D:estsfolderXampphtdocsappcoreFramework.class.php on line 20

this is part of the code from framework.class.php

<?php

namespace AppCore;

use AppCoreDatabase;
use AppHelpersBannedIpHelper;
use AppHelpersCoreHelper;
use AppHelpersPluginHelper;
use AppHelpersLogHelper;
use AppHelpersRouteHelper;
use AppHelpersSessionHelper;

class Framework
{
    const VERSION_NUMBER = '2.0.1';

    public static function run() {
        self::init();
        self::autoload();
        LogHelper::initErrorHandler();
        self::registerSession();
        self::postInit();
        self::dispatch();
    }

and this is the whole code from index.php (don't know if you'll need it):

<?php

/**
 * Entry point. All requests are forwarded via .htaccess/mod_rewrite
 *
 * i.e. index.php?url=http://urlsample.com/controller/action/
 *
 * @author      MFScripts.com - info@mfscripts.com
 */
// get requesting url
$url = (isset($_GET['_page_url']) && (strlen($_GET['_page_url']))) ? $_GET['_page_url'] : 'index';
$url = str_replace(array('../'), '', $url);
define('_INT_PAGE_URL', $url);

// include framework
use AppCoreFramework;
require_once('app/core/Framework.class.php');

// setup environment and process route
Framework::run();

please explain like I'm 5 years old because I don't know nothing about any of this, thank you.

question from:https://stackoverflow.com/questions/65644347/fatal-error-uncaught-error-class-app-helpers-loghelper-not-found

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
331 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...