• Resolved migscabral

    (@migscabral)


    I always get the error below when I try to access the OSE Plugin. I already update the folder permissions but I still encounter the error below:

    PHP warning

    include(/home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CAssetManager.php) [function.include]: failed to open stream: No such file or directory

    /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/YiiBase.php(397)

    385 /**
    386 * Class autoload loader.
    387 * This method is provided to be invoked within an __autoload() magic method.
    388 * @param string $className class name
    389 * @return boolean whether the class has been loaded successfully
    390 */
    391 public static function autoload($className)
    392 {
    393 // use include so that the error PHP file may appear
    394 if(isset(self::$classMap[$className]))
    395 include(self::$classMap[$className]);
    396 elseif(isset(self::$_coreClasses[$className]))
    397 include(YII_PATH.self::$_coreClasses[$className]);
    398 else
    399 {
    400 // include class file relying on include_path
    401 if(strpos($className,’\\’)===false) // class without namespace
    402 {
    403 if(self::$enableIncludePath===false)
    404 {
    405 if (self::$_includePaths!==null)
    406 {
    407 foreach(self::$_includePaths as $path)
    408 {
    409 $classFile=$path.DIRECTORY_SEPARATOR.$className.’.php’;
    Stack Trace
    #0
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/YiiBase.php(397): YiiBase::autoload()
    #1
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/YiiBase.php(296): YiiBase::autoload(“CAssetManager”)
    #2
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/YiiBase.php(196): YiiBase::import(“CAssetManager”, true)
    #3
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/base/CModule.php(386): YiiBase::createComponent(array(“class” => “CAssetManager”, “basePath” => “/home/think/public_html/wp/wp-content/plugins/ose-firewall//asse…”, “baseUrl” => “/wp/wp-content/plugins/ose-firewall/assets”))
    #4
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CWebApplication.php(193): CModule->getComponent(“assetManager”)
    #5
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CClientScript.php(462): CWebApplication->getAssetManager()
    #6
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CClientScript.php(499): CClientScript->getCoreScriptUrl()
    #7
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CClientScript.php(315): CClientScript->getPackageBaseUrl(“extjs”)
    #8
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CClientScript.php(208): CClientScript->renderCoreScripts()
    #9
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CController.php(351): CClientScript->render(“<div id = “oseappcontainer”> <div class=”container”> <div id=…”)
    #10
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CController.php(788): CController->processOutput(“<div id = “oseappcontainer”> <div class=”container”> <div id=…”)
    #11
    – /home/think/public_html/wp/wp-content/plugins/ose-firewall/protected/controllers/BaseController.php(73): CController->render(“index”)
    68 }
    69
    70 public function actionIndex() {
    71 // renders the view file ‘protected/views/dashboard/index.php’
    72 // using the default layout ‘protected/views/layouts/main.php’
    73 $this->render(‘index’);
    74 }
    75 }
    #12
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/actions/CInlineAction.php(49): BaseController->actionIndex()
    #13
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CController.php(308): CInlineAction->runWithParams(array(“page” => “ose_firewall”))
    #14
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CController.php(286): CController->runAction(CInlineAction)
    #15
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array())
    #16
    + /home/think/public_html/wp/wp-content/plugins/ose-firewall/framework/web/CWebApplication.php(282): CController->run(“index”)
    #17
    – /home/think/public_html/wp/wp-content/plugins/ose-firewall/protected/library/oseFirewallBase.php(104): CWebApplication->runController(“dashboard/index”)
    099 return true;
    100 }
    101 }
    102 public static function dashboard () {
    103 self::runYiiApp();
    104 Yii::app()->runController(‘dashboard/index’);
    105 }
    106 public static function manageips () {
    107 self::runYiiApp();
    108 Yii::app()->runController(‘manageips/index’);
    109 }
    #18
    unknown(0): oseFirewallBase::dashboard(“”)
    #19
    – /home/think/public_html/wp/wp-includes/plugin.php(429): call_user_func_array(“oseFirewall::dashboard”, array(“”))
    424 reset( $wp_filter[ $tag ] );
    425
    426 do {
    427 foreach ( (array) current($wp_filter[$tag]) as $the_ )
    428 if ( !is_null($the_[‘function’]) )
    429 call_user_func_array($the_[‘function’], array_slice($args, 0, (int) $the_[‘accepted_args’]));
    430
    431 } while ( next($wp_filter[$tag]) !== false );
    432
    433 array_pop($wp_current_filter);
    434 }
    #20
    + /home/think/public_html/wp/wp-admin/admin.php(217): do_action(“toplevel_page_ose_firewall”)

    https://www.ads-software.com/plugins/ose-firewall/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author ProChase

    (@prochase)

    Hi migscabral,

    Sorry for the late reply, according to your problem, we think we have fixed this problem in our new version, can we know which version are you using now? Thanks.

    Cheers,

    I have the same problem!

    Just updated the plugin to 3.0.1

    I keep getting this error. I only have it installed on a demo website for trying out. No weird stuff here.

    It’s frustrating getting this kind of errors

    Plugin Author Helix.L

    (@prohelix)

    Seems it is the auto loader causing the issue, we are checking it now.
    Sorry for the inconvenience.

    Best wishes
    Helix

    Plugin Author Helix.L

    (@prohelix)

    @b8europe

    We have checked the issue and couldn’t reproduce it from our testing server. Is it possible to give us a temporary admin account in your demo website and a ftp account to connect to the demo site? From the error log, it seems like the file

    /wp-content/plugins/ose-firewall/framework/web/CAssetManager.php

    is missing, however, we double checked our plugin package and confirm the file is there, so if we can access your demo site and check it, that is easier for us to sort out the issue quickly.

    Please either send the credentials to my email at helix[at]centrora.com or send our support center here:

    https://www.centrora.com/support/scp/

    Thank you for your help in advance!
    Best wishes
    Helix

    @prohelix

    Just send you an e-mail with login for the test website

    Regards,
    Jean-Paul

    Plugin Author Helix.L

    (@prohelix)

    @b8europe

    Thank you, I have received your email and will reply to you there.

    Best wishes
    Helix

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Error on load of OSE Plugin’ is closed to new replies.